Difference between revisions of "Modules/bios/Settings"

From MSX Game Library

< Modules‎ | bios

(Created page with "Library configuration (in your <tt>msxgl_config.h</tt>): <syntaxhighlight lang="c"> // Default slot BIOS access // - BIOS_CALL_DIRECT ............. Use direct access to Bios r...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Library configuration (in your <tt>msxgl_config.h</tt>):
+
Library configuration (<tt>msxgl_config.h</tt>):
 
<syntaxhighlight lang="c">
 
<syntaxhighlight lang="c">
 
// Default slot BIOS access
 
// Default slot BIOS access
Line 12: Line 12:
 
#define BIOS_USE_VDP TRUE // Give access to Main-ROM routines related to VDP
 
#define BIOS_USE_VDP TRUE // Give access to Main-ROM routines related to VDP
 
#define BIOS_USE_PSG TRUE // Give access to Main-ROM routines related to PSG
 
#define BIOS_USE_PSG TRUE // Give access to Main-ROM routines related to PSG
#define BIOS_USE_SUBROM TRUE // Allow use of Sub-ROM routines (MSX 2/2+/turbo R)
+
#define BIOS_USE_SUBROM TRUE // Allow use of Sub-ROM routines (MSX2/2+/turbo R)
 
#define BIOS_USE_DISKROM TRUE // Allow use of Disk-ROM routines
 
#define BIOS_USE_DISKROM TRUE // Allow use of Disk-ROM routines
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 12:31, 13 January 2024

Library configuration (msxgl_config.h):

// Default slot BIOS access
// - BIOS_CALL_DIRECT ............. Use direct access to Bios routines (ROM slot must be selected in corresponding page)
// - BIOS_CALL_INTERSLOT .......... Use inter-slot access to Bios routines (through CALSLT routine)
#define BIOS_CALL_MAINROM			BIOS_CALL_DIRECT
#define BIOS_CALL_SUBROM			BIOS_CALL_INTERSLOT
#define BIOS_CALL_DISKROM			BIOS_CALL_INTERSLOT

// MAIN-Bios module setting
#define BIOS_USE_MAINROM			TRUE	// Allow use of Main-ROM routines
#define BIOS_USE_VDP				TRUE	// Give access to Main-ROM routines related to VDP
#define BIOS_USE_PSG				TRUE	// Give access to Main-ROM routines related to PSG
#define BIOS_USE_SUBROM				TRUE	// Allow use of Sub-ROM routines (MSX2/2+/turbo R)
#define BIOS_USE_DISKROM			TRUE	// Allow use of Disk-ROM routines