Defines
From MSX Game Library
Build
These options are determined by the project configuration (project_config.js) for the build tool.
TARGET
Values:
TARGET_BIN ................... BASIC binary program (starting at 8000h) TARGET_BIN_USR ............... BASIC USR binary driver (starting at C000h) TARGET_DOS1 .................. MSX-DOS 1 program (starting at 0100h) TARGET_DOS2 .................. MSX-DOS 2 program (starting at 0100h) TARGET_DOS0 .................. Direct program boot from disk (starting at 0100h) TARGET_ROM_8K ................ 8 KB ROM in page 1 (4000h ~ 5FFFh) TARGET_ROM_8K_P2 ............. 8 KB ROM in page 2 (8000h ~ 9FFFh) TARGET_ROM_16K ............... 16 KB ROM in page 1 (4000h ~ 7FFFh) TARGET_ROM_16K_P2 ............ 16 KB ROM in page 2 (8000h ~ BFFFh) TARGET_ROM_32K ............... 32 KB ROM in page 1&2 (4000h ~ BFFFh) TARGET_ROM_48K ............... 48 KB ROM in page 0-2 (0000h ~ BFFFh) TARGET_ROM_48K_ISR ........... 48 KB ROM in page 0-2 (0000h ~ BFFFh) with ISR replacement TARGET_ROM_64K ............... 64 KB ROM in page 0-3 (0000h ~ FFFFh) TARGET_ROM_64K_ISR ........... 64 KB ROM in page 0-3 (0000h ~ FFFFh) with ISR replacement TARGET_ROM_ASCII8_<size> ..... ASCII-8: 8 KB segments for a total of 64 KB to 2 MB TARGET_ROM_ASCII16_<size> .... ASCII-16: 16 KB segments for a total of 64 KB to 4 MB TARGET_ROM_KONAMI_<size> ..... Konami MegaROM (aka Konami4): 8 KB segments for a total of 64 KB to 2 MB TARGET_ROM_KONAMI_SCC_<size> . Konami MegaROM SCC (aka Konami5): 8 KB segments for a total of 64 KB to 2 MB TARGET_ROM_NEO8_<size> ....... NEO-8: 8 KB segments for a total of 1 MB to 32 MB TARGET_ROM_NEO16_<size> ...... NEO-16: 16 KB segments for a total of 1 MB to 64 MB
TARGET_TYPE
Values:
TARGET_TYPE_BIN .............. BASIC binary program TARGET_TYPE_ROM .............. ROM TARGET_TYPE_DOS .............. MSX-DOS program
MSX_VERSION
Values:
MSX_1 ........................ MSX 1 MSX_2 ........................ MSX 2 MSX_12 ....................... MSX 1 and 2 (support each) MSX_2K ....................... Korean MSX 2 (SC9 support) MSX_2P ....................... MSX 2+ MSX_22P ...................... MSX 2 and 2+ (support each) MSX_122P ..................... MSX 1, 2 and 2+ (support each) MSX_0 ........................ MSX 0 (MSX 2+) MSX_TR ....................... MSX turbo R MSX_3 ........................ MSX 3
Modules
Each modules can have their own defines grouped in the library configuration file (msxgl_config.h).
Core:
- bios (MSX BIOS)
- dos (MSX-DOS 1 & 2)
- input (Joystick, keyboard and mouse)
- math (Random and fast computation)
- memory (Heap or dynamic allocator)
- print (Display text)
- string
- system (Low-level features)
- vdp (Video chip)
Gameplay:
- game (Game states)
- game_menu (Menu)
- game_pawn (Character move, anim, physics and collision)
- input_manager
Graphic:
Tools:
- crypt (Encryptage)
- debug (debug features)
- dos_mapper
- fsm (Finite-state machine)
- localize (Translation manager)
- tool/mem_op (Quick operation on buffer)
- tool/qrcode_tiny (Tiny QR Code generator)
- tool/qrcode (QR Code generator)
- tool/reg (Registers setting)
- tool/sjis (Shift-JIS conversion)
Devices:
- clock (RTC)
- v9990
- device/joymega (JoyMega)
- device/msx-hid (MSX-HID detection)
- device/ninjatap
- device/pac (SRAM catridge)
- device/paddle (Arkanoid Vaus Paddle)
Audio chips:
Audio players:
- arkos/akg_player (Arkos Tracker II)
- arkos/akm_player
- arkos/aky_player
- ayfx/ayfx_player
- pcm/pcmenc
- pcm/pcmplay
- pt3/pt3_player (Pro Tracker 3)
- trilo/trilo_scc_player (Trilo Tracker)
- trilo/trilo_fm_player WIP
- vgm/lvgm_player (Light-VGM)
- vgm/vgm_player
- wyz/wyz_player (WYZ Tracker)
- wyz/wyz_player2
Compression:
- compress (RLEp)
- compress/bitbuster
- compress/bitbuster2
- compress/lz48 (3 unpackers)
- compress/pletter
- compress/zx0 (4 unpackers)
- msxi/msxi_unpack WIP
Network:
Helpers: