OS Codes

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

ConstantValueDescription
OS_WIN320Microsoft Windows.
OS_LINUX1Linux.
OS_BEOS2Be Operating System.
OS_MACOS3Mac Operating System.
OS_GP324GP32 handheld console.
OS_DC5Sega Dreamcast.
OS_BSD6Berkeley Software Distribution.
OS_GP2X7GP2X handheld console.
OS_GP2X_WIZ8GP2X WIZ handheld console.
OS_CAANOO9GP2X Caanoo handheld console.
OS_DINGUX_A32010Dingoo A320 handheld console.
OS_WII1000Nintendo Wii console (through Wii homebrew).
OS_PSP1001PlayStation Portable.
OS_IOS1002iOS.
OS_ANDROID1003Android (under development).