Skip to content

Msg ​

cpp
enum Msg

Defined in Infrastructure/MsgQueueTypes.h:23

Message type.

ValueDescription
NONENo message.
CONFIGA configuration request has been carried out (the exception is attached if it failed).
POWERThe emulator was switched on (value = 1) or off (value = 0).
RUNThe emulator started to run.
PAUSEThe emulator was paused.
STEPThe emulator completed a single step (string attached).
STOPA remote debugger requested a stop.
RESETA hard reset was performed.
SHUTDOWNThe emulator thread is about to terminate.
ABORTThe application is asked to terminate (value = exit code).
WARPWarp mode was switched on (value = 1) or off (value = 0).
TRACKTrack mode was switched on (value = 1) or off (value = 0).
MUTEThe audio output was muted (value = 1) or unmuted (value = 0).
EASTER_EGGThe easter egg was triggered.
POWER_LED_ONThe power LED is on.
POWER_LED_DIMThe power LED is dimmed.
POWER_LED_OFFThe power LED is off.
RSH_CLOSERetroShell has been closed.
RSH_UPDATERetroShell has generated new output.
RSH_SWITCHRetroShell has switched to another console.
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.
RSH_EXPORTData has been exported to the file system.
VIDEO_FORMATThe video format has changed (value = PAL or NTSC).
OVERCLOCKINGThe CPU overclocking factor has changed (value = factor).
GUARD_UPDATEDA guard list has been modified (value = GuardType).
BREAKPOINT_REACHEDA CPU breakpoint was reached (cpu.pc = address).
WATCHPOINT_REACHEDA CPU watchpoint was reached (cpu.pc = watched address).
CATCHPOINT_REACHEDA CPU catchpoint was reached (cpu.pc = program counter, cpu.vector = vector).
SWTRAP_REACHEDA software trap was reached (cpu.pc = program counter).
CPU_HALTThe CPU has halted.
EOL_REACHEDThe end of a raster line was reached (string attached).
EOF_REACHEDThe end of a frame was reached (string attached).
BEAMTRAP_REACHEDA beamtrap was reached (beam.v, beam.h = beam position).
COPPERBP_REACHEDA Copper breakpoint was reached (cpu.pc = Copper address).
COPPERWP_REACHEDA Copper watchpoint was reached (cpu.pc = watched address).
VIEWPORTThe visible region of the texture has changed (viewport = coordinates).
AUDBUF_UNDERFLOWThe audio buffer ran empty (value = milliseconds since the previous underflow).
AUDBUF_OVERFLOWThe audio buffer ran full (value = milliseconds since the previous overflow).
MEM_LAYOUTThe memory layout (bank mapping) has changed.
DRIVE_CONNECTA floppy drive was connected or disconnected (drive.nr = drive, drive.value = connected).
DRIVE_SELECTA floppy drive was selected (value = drive).
DRIVE_READA floppy drive is reading (value = drive).
DRIVE_WRITEA floppy drive is writing (value = drive).
DRIVE_LEDThe LED of a floppy drive changed (drive.nr = drive, drive.value = on or off).
DRIVE_MOTORThe motor of a floppy drive changed (drive.nr = drive, drive.value = on or off).
DRIVE_STEPA floppy drive moved its head (drive.nr = drive, drive.value = cylinder, drive.volume, drive.pan).
DRIVE_POLLA floppy drive without a disk moved its head to poll for one (same payload as DRIVE_STEP).
DISK_INSERTA disk was inserted (drive.nr = drive, drive.volume, drive.pan; carries the exception if it failed).
DISK_EJECTA disk was ejected (drive.nr = drive, drive.volume, drive.pan).
DISK_PROTECTEDThe write protection of the disk changed (value = protected).
HDC_CONNECTA hard drive controller was connected (drive.nr = drive).
HDC_STATEThe state of a hard drive controller changed (hdc.nr = drive, hdc.state).
HDR_ATTACHA hard drive has been attached (value: drive; carries the exception if it failed).
HDR_IMPORTEDA folder has been imported (value: drive; carries the exception if it failed).
HDR_DETACHA hard drive was detached (value = drive).
HDR_STEPA hard drive moved its head (drive.nr = drive, drive.value = cylinder, drive.volume, drive.pan).
HDR_READA hard drive is reading.
HDR_WRITEA hard drive is writing.
HDR_IDLEA hard drive became idle (value = drive).
MON_SETTINGA monitor setting has changed (value = option, value2 = new value).
CTRL_AMIGA_AMIGAThe reset key combination (Ctrl + both Amiga keys) was pressed.
KB_PRESSA key has been pressed.
KB_RELEASEA key has been released.
KB_LOCKA key has been locked.
KB_UNLOCKA key has been unlocked.
SHAKINGThe mouse was shaken.
SER_INData arrived at the serial port while its log buffer was empty.
SER_OUTData was sent from the serial port while its log buffer was empty.
ROM_LOADEDA ROM was loaded (value = 0: Kickstart ROM, 1: extension ROM; carries the exception if it failed).
SNAPSHOT_TAKENAn automatic snapshot was taken (snapshot.snapshot = heap object that the receiver must delete).
SNAPSHOT_RESTOREDA snapshot was restored (carries the exception if it failed).
SNAPSHOT_SAVEDA snapshot has been saved (carries the exception if it failed).
WORKSPACE_LOADEDA workspace was 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 mode has changed (value = mode).
SRV_STATEA remote server changed its state (value = SrvState).
SRV_RECEIVEA remote server received data (value = server, value2 = log entry, string = packet).
SRV_SENDA remote server sent data (value = server, value2 = log entry, string = packet).
ALARMA scheduled alarm went off (value = the payload given when the alarm was set).