cpct_mode_rom_status

_cpct_mode_rom_status:: .db #0x9D

8-bit space for storing the latest selection of MODE, INT.GENERATOR and ROM status.  This lets us know if Lower / Upper ROM are enabled or disabled, if interrupts are enabled or not, and which Video Mode is actually set.

Description of the bits

[ GGGIRRnn ]
GGGCommand for video mode and ROM selection (100)
IInterrupt Generation Enabled (1)
RRReading from Lower and Upper ROM Disabled (11) (a 0 value means ROM enabled)
nnVideo Mode 1 (01)

Default value: 0x9C = (10011100)

Close