Modules/bios

From MSX Game Library

Revision as of 13:52, 4 January 2024 by Aoineko (talk | contribs) (Dependencies)

< Modules

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

Dependency on other modules: 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