2022-10-15 01:53:41 +02:00
|
|
|
; help command
|
|
|
|
|
2023-02-02 00:08:22 +01:00
|
|
|
shell_help_command_string: data.strz "help"
|
2022-10-15 01:53:41 +02:00
|
|
|
|
|
|
|
shell_help_command:
|
|
|
|
mov r0, shell_help_text
|
|
|
|
call print_str_to_terminal
|
|
|
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
shell_help_text:
|
2023-02-05 01:15:47 +01:00
|
|
|
data.8 SET_COLOR data.8 0x20 data.8 1 ; set the color to green
|
2022-10-15 01:53:41 +02:00
|
|
|
data.str "fox32os shell" data.8 10
|
2023-02-05 01:15:47 +01:00
|
|
|
data.8 SET_COLOR data.8 0x70 data.8 1 ; set the color to white
|
2022-10-15 01:53:41 +02:00
|
|
|
data.8 10
|
|
|
|
data.str "(in descriptions, $n is argument n)" data.8 10
|
|
|
|
data.str "command | description" data.8 10
|
|
|
|
data.str "------- | -----------" data.8 10
|
2022-11-26 02:21:28 +01:00
|
|
|
data.str "clear | clear the terminal contents" data.8 10
|
2022-10-15 01:53:41 +02:00
|
|
|
data.str "dir | show contents of selected disk" data.8 10
|
|
|
|
data.str "disk | select disk $0" data.8 10
|
|
|
|
data.str "diskrm | remove disk $0" data.8 10
|
|
|
|
data.str "exit | exit the shell" data.8 10
|
|
|
|
data.str "help | show this help text" data.8 10
|
2023-04-02 22:09:32 +02:00
|
|
|
data.str "rdall | redirect all IO to $0" data.8 10
|
2023-04-01 01:28:23 +02:00
|
|
|
data.str "rdnext | redirect the next command's IO" data.8 10
|
2023-01-30 01:04:01 +01:00
|
|
|
data.str "shutdown| turn the computer off" data.8 10
|
2023-03-16 01:53:45 +01:00
|
|
|
data.str "type | print contents of file $0" data.8 10
|
2022-10-15 01:53:41 +02:00
|
|
|
data.8 10
|
|
|
|
data.str "type the name of an FXF binary to launch" data.8 10
|
|
|
|
data.str "it as a new task; the shell will suspend" data.8 10
|
|
|
|
data.str "until the launched task ends" data.8 10
|
2022-10-17 03:47:11 +02:00
|
|
|
data.8 10
|
|
|
|
data.str "prefix the name of an FXF binary with *" data.8 10
|
|
|
|
data.str "to launch it without suspending" data.8 10
|
2022-10-15 01:53:41 +02:00
|
|
|
data.8 0
|