OS codes

From Bennu Wiki
(Redirected from OS LINUX)
Jump to navigation Jump to search


Definition

OS codes are codes used for the global variable os_id, to specify the current platform BGDI is running on.

OS codes 1000 and above are used for unofficial ports and may not be available in the official Bennu version.

List

Constant - Value - Description
OS_WIN32 - 0 - Microsoft Windows
OS_LINUX - 1 - Linux
OS_BEOS - 2 - Be Operating System
OS_MACOS - 3 - Mac Operating System
OS_GP32 - 4 - GP32 handheld console
OS_DC - 5 - Sega Dreamcast
OS_BSD - 6 - Berkeley Software Distribution
OS_GP2X - 7 - GP2X handheld console
OS_GP2X_WIZ - 8 - GP2X WIZ handheld console
OS_CAANOO - 9 - GP2X Caanoo handheld console
OS_DINGUX_A320 - 10 - Dingoo A320 handheld console
OS_WII - 1000 - Nintendo Wii console (through Wii homebrew)
OS_PSP - 1001 - PlayStation Portable
OS_IOS - 1002 - iOS
OS_ANDROID - 1003 - Android (under development)


Internal
Globals
Constants
FALSEMAX'"`UNIQ--nowiki-00000003-QINU`"'BYTEMAX'"`UNIQ--nowiki-00000003-QINU`"'CHARMAX'"`UNIQ--nowiki-00000003-QINU`"'DWORDMAX'"`UNIQ--nowiki-00000003-QINU`"'INTMAX'"`UNIQ--nowiki-00000003-QINU`"'SBYTEMAX'"`UNIQ--nowiki-00000003-QINU`"'SHORTMAX'"`UNIQ--nowiki-00000003-QINU`"'WORDMIN'"`UNIQ--nowiki-00000003-QINU`"'BYTEMIN'"`UNIQ--nowiki-00000003-QINU`"'CHARMIN'"`UNIQ--nowiki-00000003-QINU`"'DWORDMIN'"`UNIQ--nowiki-00000003-QINU`"'INTMIN'"`UNIQ--nowiki-00000003-QINU`"'SBYTEMIN'"`UNIQ--nowiki-00000003-QINU`"'SHORTMIN'"`UNIQ--nowiki-00000003-QINU`"'WORDNULLOS'"`UNIQ--nowiki-00000003-QINU`"'BEOSOS'"`UNIQ--nowiki-00000003-QINU`"'BSDOS'"`UNIQ--nowiki-00000003-QINU`"'DCOS'"`UNIQ--nowiki-00000003-QINU`"'GP2XOS'"`UNIQ--nowiki-00000003-QINU`"'GP32OS'"`UNIQ--nowiki-00000003-QINU`"'LINUXOS'"`UNIQ--nowiki-00000003-QINU`"'MACOSOS'"`UNIQ--nowiki-00000003-QINU`"'WIIOS'"`UNIQ--nowiki-00000003-QINU`"'WIN32STATUS'"`UNIQ--nowiki-00000003-QINU`"'DEADSTATUS'"`UNIQ--nowiki-00000003-QINU`"'FROZENSTATUS'"`UNIQ--nowiki-00000003-QINU`"'KILLEDSTATUS'"`UNIQ--nowiki-00000003-QINU`"'RUNNINGSTATUS'"`UNIQ--nowiki-00000003-QINU`"'SLEEPINGSTATUS'"`UNIQ--nowiki-00000003-QINU`"'WAITINGTRUE
Locals