Get the system version, VSYNC frequency, etc.
More...
Get the system version, VSYNC frequency, etc.
◆ PAGE_SIZE
| #define PAGE_SIZE (uint16_t)(0x4000) |
MSX Size of a page (16KiB) in bytes.
Definition at line 45 of file bios.h.
◆ PAGE_ADDR
Value:
#define PAGE_SIZE
MSX Size of a page (16KiB) in bytes.
MSX Constructs base address of the specified page.
- Parameters
-
- Returns
- base address of the page #
p.
Definition at line 53 of file bios.h.
◆ CARTRIDGE_SLOT
MSX The cartrige slot address.
Definition at line 63 of file bios.h.
◆ msx_get_version()
| uint8_t msx_get_version |
( |
void | | ) |
|
|
inline |
MSX Returns MSX system version code.
- Returns
- 0 (MSX1), 1 (MSX2), 2 (MSX2+), 3 (MSXturboR), or else.
Definition at line 70 of file bios.h.
◆ msx_get_vsync_frequency()
| uint8_t msx_get_vsync_frequency |
( |
void | | ) |
|
|
inline |
MSX Returns VSYNC frequency in Hz.
- Returns
- 50 (PAL/SECAM), or 60 (NTSC)
Definition at line 79 of file bios.h.
◆ libmsx_initial_slots
| const uint8_t libmsx_initial_slots[4] |
|
extern |
MSX Initial slot addresses for each page.