|
libmsx
C library for MSX
|
Change / Get CPU mode. More...
Collaboration diagram for Z80 / R800 CPU mode:Functions | |
| void | msx_CHGCPU (const uint8_t mode) |
MSXturboR BIOS : CHGCPU (0180H/MAIN) | |
| void | msx_set_cpu_mode (const uint8_t mode) |
MSX Change the CPU mode. | |
| uint8_t | msx_GETCPU (void) |
MSXturboR BIOS : GETCPU (0183H/MAIN) | |
| uint8_t | msx_get_cpu_mode (void) |
MSX Get the CPU mode. | |
Change / Get CPU mode.
| void msx_CHGCPU | ( | const uint8_t | mode | ) |
MSXturboR BIOS : CHGCPU (0180H/MAIN)
Change the CPU mode.
| mode | cpu mode, that shall be the following bit pattern:
|
CHGCPU (0180H/MAIN) for MSXturboR.| void msx_set_cpu_mode | ( | const uint8_t | mode | ) |
MSX Change the CPU mode.
| mode | cpu mode, that shall be the following bit pattern:
|
CHGCPU (0180H/MAIN) for MSXturboR.| uint8_t msx_GETCPU | ( | void | ) |
MSXturboR BIOS : GETCPU (0183H/MAIN)
Get the CPU mode.
0 : Z80 mode1 : R800 ROM mode2 : R800 DRAM modeGETCPU (0183H/MAIN) for MSXturboR.| uint8_t msx_get_cpu_mode | ( | void | ) |
MSX Get the CPU mode.
0 : Z80 mode1 : R800 ROM mode2 : R800 DRAM modeGETCPU (0183H/MAIN) for MSXturboR.0 (Z80 mode).