Difference between revisions of "Defines"

From MSX Game Library

Line 5: Line 5:
  
 
Values:
 
Values:
TARGET_BIN ................... BASIC binary program
+
<syntaxhighlight lang="txt">
TARGET_ROM16 ................. 16KB ROM in page 1
+
TARGET_BIN ................... BASIC binary program
TARGET_ROM16P2 ............... 16KB ROM in page 2
+
TARGET_ROM16 ................. 16KB ROM in page 1
TARGET_ROM32 ................. 32KB ROM in page 1-2
+
TARGET_ROM16P2 ............... 16KB ROM in page 2
TARGET_ROM32P0 ............... 32KB ROM in page 0-1
+
TARGET_ROM32 ................. 32KB ROM in page 1-2
TARGET_ROM48 ................. 48KB ROM in page 0-2
+
TARGET_ROM32P0 ............... 32KB ROM in page 0-1
TARGET_DOS ................... MSX-DOS program
+
TARGET_ROM48 ................. 48KB ROM in page 0-2
TARGET_DOSARG ................ MSX-DOS program (using command line arguments)
+
TARGET_DOS ................... MSX-DOS program
 +
TARGET_DOSARG ................ MSX-DOS program (using command line arguments)
 +
</syntaxhighlight>
  
  
Line 18: Line 20:
  
 
Values:
 
Values:
TARGET_TYPE_BIN .............. BASIC binary program
+
<syntaxhighlight lang="txt">
TARGET_TYPE_ROM .............. ROM
+
TARGET_TYPE_BIN .............. BASIC binary program
TARGET_TYPE_DOS .............. MSX-DOS program
+
TARGET_TYPE_ROM .............. ROM
 +
TARGET_TYPE_DOS .............. MSX-DOS program
 +
</syntaxhighlight>
  
 
=== MSX_VERSION ===
 
=== MSX_VERSION ===
  
 
Values:
 
Values:
MSX_1 ........................ MSX
+
<syntaxhighlight lang="txt">
MSX_2 ........................ MSX 2
+
MSX_1 ........................ MSX
MSX_2Plus .................... MSX 2+
+
MSX_2 ........................ MSX 2
MSX_TurboR ................... MSX Turbo-R
+
MSX_2Plus .................... MSX 2+
MSX_3 ........................ MSX 3
+
MSX_TurboR ................... MSX Turbo-R
MSX_12 ....................... MSX 1/2
+
MSX_3 ........................ MSX 3
 +
MSX_12 ....................... MSX 1/2
 +
</syntaxhighlight>

Revision as of 18:17, 12 January 2024

Build

These options are determined by the build tool.

TARGET

Values:

TARGET_BIN ................... BASIC binary program
TARGET_ROM16 ................. 16KB ROM in page 1
TARGET_ROM16P2 ............... 16KB ROM in page 2
TARGET_ROM32 ................. 32KB ROM in page 1-2
TARGET_ROM32P0 ............... 32KB ROM in page 0-1
TARGET_ROM48 ................. 48KB ROM in page 0-2
TARGET_DOS ................... MSX-DOS program
TARGET_DOSARG ................ MSX-DOS program (using command line arguments)


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
MSX_2 ........................ MSX 2
MSX_2Plus .................... MSX 2+
MSX_TurboR ................... MSX Turbo-R
MSX_3 ........................ MSX 3
MSX_12 ....................... MSX 1/2