Appearance
Cmd
cpp
enum CmdDefined in Infrastructure/CmdQueueTypes.h:26
Emulator command.
| Value | Description |
|---|---|
NONE | None. |
CONFIG | Configure the emulator. |
CONFIG_ALL | Configure the emulator. |
CONFIG_SCHEME | IConfigure the emulator with a predefined scheme. |
HARD_RESET | Perform a hard reset. |
SOFT_RESET | Perform a soft reset. |
POWER_ON | Switch power on. |
POWER_OFF | Switch power off. |
RUN | Start emulation. |
PAUSE | Pause emulation. |
WARP_ON | Switch on warp mode. |
WARP_OFF | Switch off warp mode. |
TRACK_ON | Switch on track mode. |
TRACK_OFF | Switch off track mode. |
STEP_INTO | Run the emulator for a single step. |
STEP_OVER | Run the emulator for a single step. |
FINISH_LINE | Run the emulator for a single step. |
FINISH_FRAME | Run the emulator for a single step. |
HALT | Terminate the emulator thread. |
ALARM_ABS | Schedule an alarm (absolute cycle). |
ALARM_REL | Schedule an alarm (relative cycle). |
INSPECTION_TARGET | Sets the auto-inspection mask. |
SAVE_WORKSPACE | Save the workspace to a folder (path attached). |
SAVE_SNAPSHOT | Save a snapshot to a file (path attached). |
HIBERNATE | Hibernate into an SVM (path attached, value = bit 0: snapshot, bit 1: workspace). |
HDR_ATTACH | Attach a hard drive and put it into an SVM (path attached, value = drive, value2 = SVM). |
HDR_IMPORT | Import a folder into a hard drive (path attached, value = drive). |
GUARD_SET_AT | |
GUARD_REMOVE_NR | Remove the n-th guard. |
GUARD_MOVE_NR | Change the address of a guard. |
GUARD_IGNORE_NR | Change the ignore count of a guard. |
GUARD_REMOVE_AT | Remove the guard at an address. |
GUARD_REMOVE_ALL | Remove all guards. |
GUARD_ENABLE_NR | Enable the n-th guard. |
GUARD_ENABLE_AT | Enable the guard at an address. |
GUARD_ENABLE_ALL | Enable all guards. |
GUARD_DISABLE_NR | Disable the n-th guard. |
GUARD_DISABLE_AT | Disable the guard at an address. |
GUARD_DISABLE_ALL | Disable all guards. |
GUARD_TOGGLE_NR | Toggle the n-th guard. |
KEY_PRESS | Press a key on the Amiga keyboard. |
KEY_RELEASE | Release a key on the Amiga keyboard. |
KEY_RELEASE_ALL | Clear the keyboard matrix. |
KEY_TOGGLE | Press or release a key on the Amiga keyboard. |
KEY_LOCK | Lock a key so it survives a release call. |
KEY_UNLOCK | Unlock a previously locked key. |
KEY_ABORT_TYPING | Delete all pending keyboard events. |
MOUSE_MOVE_ABS | Signal a mouse movement (absolute). |
MOUSE_MOVE_REL | Signal a mouse movement (relative). |
MOUSE_BUTTON | Signal a mouse button event. |
JOY_EVENT | Signal a joystick button event. |
JOY_STATE | Set the complete joystick state (directions and fire button). |
DSK_TOGGLE_WP | Toggle write-protection. |
DSK_MODIFIED | Signal that the disk has been saved. |
DSK_UNMODIFIED | Signan that the disk needs saving. |
DSK_INSERT | Insert a disk (path attached, value = drive, value2 = write protection). |
RSH_EXECUTE | Execute a script command. |
RSH_PRESS_KEY | Type a special key into RetroShell (value = key, value2 = shift). |
RSH_PRESS_CHAR | Type a character into RetroShell (value = character). |
RSH_PRESS_TEXT | Type a string into RetroShell (text attached). |
CALL | Run a function on the emulator thread (value2 = pointer to a std::function<void()> that stays alive until the command has been carried out). |
FOCUS | The emulator windows got or lost focus. |