2022-04-26 06:46:47 +02:00
|
|
|
; help command
|
|
|
|
|
2023-01-31 18:45:16 +01:00
|
|
|
monitor_shell_help_command_string: data.strz "help"
|
2022-04-26 06:46:47 +02:00
|
|
|
|
|
|
|
monitor_shell_help_command:
|
|
|
|
mov r0, monitor_shell_help_text
|
|
|
|
call print_string_to_monitor
|
2022-09-02 23:24:46 +02:00
|
|
|
call redraw_monitor_console
|
2022-04-26 06:46:47 +02:00
|
|
|
ret
|
|
|
|
|
|
|
|
monitor_shell_help_text:
|
|
|
|
data.str "command | description" data.8 10
|
|
|
|
data.str "------- | -----------" data.8 10
|
|
|
|
data.str "exit | exit the monitor" data.8 10
|
|
|
|
data.str "help | display this help text" data.8 10
|
2022-05-13 00:10:24 +02:00
|
|
|
data.str "jump | jump to address $0" data.8 10
|
|
|
|
data.str "list | list memory contents starting at address $0" data.8 10
|
2023-03-31 02:36:48 +02:00
|
|
|
data.str "load | load disk $0's sector $1 to buffer at address $2 of size $3 sectors" data.8 10
|
2023-12-22 23:12:22 +01:00
|
|
|
data.str "reg | list contents of all registers" data.8 10
|
2022-05-02 03:03:04 +02:00
|
|
|
data.str "set.SZ | set [$0] to $1; equivalent to `mov.SZ [$0], $1`" data.8 10
|
2022-04-26 06:46:47 +02:00
|
|
|
data.8 0
|