libmsx
C library for MSX
|
Assembler entry points for MSX BIOS functions. More...
Go to the source code of this file.
Macros | |
#define | BIOS_ENTRY_H |
Variables | |
static const uint8_t | RDSLT |
MSX BIOS : RDSLT (000CH / MAIN). | |
static const uint8_t | WRSLT |
MSX BIOS : WRSLT (0014H / MAIN). | |
static const uint8_t | CALSLT |
MSX BIOS : CALSLT (001CH / MAIN). | |
static const uint8_t | ENASLT |
MSX BIOS : ENASLT (0024H / MAIN). | |
static const uint8_t | CALLF |
MSX BIOS : CALLF (0030H / MAIN). | |
static const uint8_t | RSLREG |
MSX BIOS : RSLREG (0138H / MAIN). | |
static const uint8_t | WSLREG |
MSX BIOS : WSLREG (013BH / MAIN). | |
static const uint8_t | GTSTCK |
MSX BIOS : GTSTCK (00D5H / MAIN). | |
static const uint8_t | GTTRIG |
MSX BIOS : GTTRIG (00D8H / MAIN). | |
static const uint8_t | CHGCPU |
MSXturboR BIOS : CHGCPU (0180H/MAIN). | |
static const uint8_t | GETCPU |
MSXturboR BIOS : GETCPU (0183H/MAIN). | |
Assembler entry points for MSX BIOS functions.
Definition in file bios_entry.h.
#define BIOS_ENTRY_H |
Definition at line 21 of file bios_entry.h.
|
static |
MSX
BIOS : RDSLT (000CH / MAIN).
Read value from the given address of the given slot.
A | slot |
HL | address to read |
A | value of the address of the slot. |
Definition at line 42 of file bios_entry.h.
|
static |
MSX
BIOS : WRSLT (0014H / MAIN).
Write a value to the given address of the given slot.
A | slot |
HL | address to write |
E | a value to be written |
Definition at line 58 of file bios_entry.h.
|
static |
MSX
BIOS : CALSLT (001CH / MAIN).
Inter slot call to the given address of the given slot.
IY | slot (higher byte of IY register) |
IX | address to be called |
Definition at line 70 of file bios_entry.h.
|
static |
MSX
BIOS : ENASLT (0024H / MAIN).
Switch the page including the given address to the given slot's corresponding page.
A | slot |
HL | address |
Definition at line 83 of file bios_entry.h.
|
static |
MSX
BIOS : CALLF (0030H / MAIN).
Inter slot call to the given address of the given slot.
Parameters shall be passed as inline parameter forms as follows:
Definition at line 99 of file bios_entry.h.
|
static |
MSX
BIOS : RSLREG (0138H / MAIN).
Read value from the primary slot select register.
A | value |
Definition at line 108 of file bios_entry.h.
|
static |
MSX
BIOS : WSLREG (013BH / MAIN).
Write a value to the primary slot select register.
A | value |
Definition at line 117 of file bios_entry.h.
|
static |
MSX
BIOS : GTSTCK (00D5H / MAIN).
Get the status of the eight-way lever on the joystick or the arrow keys on the keyboard.
A | joystick number
|
A | status of the eight-way lever or the arrow keys.
|
Definition at line 148 of file bios_entry.h.
|
static |
MSX
BIOS : GTTRIG (00D8H / MAIN).
Get the status of the trigger button on the joystick or the SPACE key on the keyboard.
A | trigger button number
|
A | status of the trigger button or the SPACE key.
|
Definition at line 172 of file bios_entry.h.
|
static |
MSXturboR
BIOS : CHGCPU (0180H/MAIN).
Change the CPU mode.
A | cpu mode, that shall be the following bit pattern:
|
R
register will be inherited by the changed CPU.Definition at line 215 of file bios_entry.h.
|
static |
MSXturboR
BIOS : GETCPU (0183H/MAIN).
Get the CPU mode.
A | cpu mode:
|
F
register will be changed.Definition at line 234 of file bios_entry.h.