Difference between revisions of "Modules/bios"

From MSX Game Library

< Modules

(Created page with "The {{MOD|bios}} module allow to use het BIOS routines. Note: No other modules have dependency on this module, thus all the library is BIOS 'free' and can be use without the...")
 
(Settings)
Line 7: Line 7:
  
 
== Settings ==
 
== Settings ==
* ''None''
+
// 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 (MSX 2/2+/turbo R)
 +
#define BIOS_USE_DISKROM TRUE // Allow use of Disk-ROM routines
  
 
== Usage ==
 
== Usage ==

Revision as of 18:51, 27 December 2022

The bios module allow to use het BIOS routines.

Note: No other modules have dependency on this module, thus all the library is BIOS 'free' and can be use without the BIOS ROM selected in page 0.

Dependencies

  • None

Settings

// 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 (MSX 2/2+/turbo R)
#define BIOS_USE_DISKROM			TRUE	// Allow use of Disk-ROM routines

Usage

Annexe

  • See also: Sample program s_bios

Documentation