Skip to content

Msg ​

cpp
enum Msg

Defined in Infrastructure/MsgQueueTypes.h:26

Emulator message.

ValueDescription
NONEUnclassified.
CONFIGA configuration request has been carried out (the exception is attached if it failed).
POWERThe emulator has been powered on or off.
RUNThe emulator has entered ExecState::RUNNING.
PAUSEThe emulator has entered ExecState::PAUSED.
STEPThe emulator has stepped a single instruction.
EOL_REACHEDThe emulator has been paused at the end of the current line.
EOF_REACHEDThe emulator has been paused at the end of the current frame.
RESETThe emulator has been reset.
SHUTDOWNThe emulator has been shut down.
ABORTThe emulator requests the GUI to quit the app.
WARPThe emulator has entered or exited warp mode.
TRACKThe emulator has entered or exited track mode.
MUTEThe emulator has been muted or unmuted.
EASTER_EGGThe easter egg was triggered.
RSH_CLOSERetroShell has been closed.
RSH_UPDATERetroShell has generated new output.
RSH_SWITCHRetroShell has switched to another console.
RSH_DEBUGGERDEPRECATED: The RetroShell debugger has been opend or closed.
RSH_WAITExecution has peen postponed due to a wait command.
RSH_ERRORCommand execution has been aborted due to an error.
RSH_DONEAll pending commands have been executed.
GUARD_UPDATEDA guard list has been modified (value = GuardType).
BREAKPOINT_REACHEDA breakpoint has been reached.
WATCHPOINT_REACHEDA watchpoint has been reached.
CPU_JUMPEDThe program counter has been modified manually.
CPU_JAMMEDThe CPU has halted due to an illegal instruction.
VIDEO_FORMATThe video format has changed (value = 0 for PAL, 1 for NTSC).
SER_BUSYThe IEC bus is transferring data.
SER_IDLEThe IEC bus has returned to idle state.
MON_SETTINGThe monitor configuration has changed.
DRIVE_CONNECTA floppy drive has been connected or disconnected.
DRIVE_POWERThe emulator has been powered on.
DRIVE_POWER_SAVEFast paths have been enabled or disabled.
DRIVE_READThe floopy drive has switched to read mode.
DRIVE_WRITEThe floppy drive has switched to write mode.
DRIVE_LEDThe green drive LED has switched on or off.
DRIVE_MOTORThe disk has started or stopped spinning.
DRIVE_STEPThe drive head has stepped.
DISK_INSERTA disk has been inserted (carries the exception if it failed).
DISK_EJECTA disk has been ejected.
DISK_PROTECTEDThe write protection status has changed.
DISK_MODIFIEDThe disk needs saving.
FILE_FLASHEDA file has been flashed into memory (carries the exception if it failed).
VC1530_CONNECTA datasette has been connected or disconnected.
VC1530_TAPEA tape has been inserted or ejected (carries the exception if inserting failed).
VC1530_PLAYThe play key has been pressed.
VC1530_MOTORThe drive motor has started or stopped.
VC1530_COUNTERThe tape counter has stepped.
CRT_ATTACHEDA cartridge has been plugged into the expansion port (carries the exception if it failed).
KB_PRESSA key has been pressed.
KB_RELEASEA key has been released.
KB_LOCKA key has been locked.
KB_UNLOCKA key has been unlocked.
SHAKINGA shaking mouse has been detected.
ROM_LOADEDA ROM has been loaded (value = RomType, or -1 if unknown; carries the exception if it failed).
SNAPSHOT_TAKENA snapshot has been taken.
SNAPSHOT_RESTOREDA snapshot has been restored (carries the exception if it failed).
SNAPSHOT_SAVEDA snapshot has been saved (carries the exception if it failed).
WORKSPACE_LOADEDA workspace has been loaded.
WORKSPACE_SAVEDA workspace has been saved (carries the exception if it failed).
HIBERNATEDThe machine has been hibernated (carries the exception if it failed).
QUEUE_FULLThe command queue is full and commands are dropped.
XRAYThe X-Ray debugger has been started or stopped.
ALARMA user-set alarm event has fired.
RS232RS232 activity (DEPRECATED).
RS232_INRS232 adapter has received data.
RS232_OUTRS232 adapter has sent data.
SRV_STATEA remote server has switched state.
SRV_RECEIVEA remote server has received a packet (value = ServerType, value2 = sequence number).
SRV_SENDA remote server has sent a packet (value = ServerType, value2 = sequence number).