11 lines
570 B
Text
11 lines
570 B
Text
|
;Prints help.
|
||
|
|
||
|
help:
|
||
|
|
||
|
mov si, .help
|
||
|
call println
|
||
|
|
||
|
ret
|
||
|
|
||
|
.help db "Input:", 0xd, 0xa, " * Typing a character overwrites the cursor location.", 0xd, 0xa, " * The erase (=tab) key erases the cursor location.", 0xd, 0xa, " * The space and backspace keys move the cursor.", 0xd, 0xa, "Commands:", 0xd, 0xa, " * echo: echoes its input.", 0xd, 0xa, " * fileify: prints its input in FAT format if it is a valid filename.", 0xd, 0xa, " * hello: a hello world program.", 0xd, 0xa, " * help: you are reading it.", 0xd, 0xa, " * keycode: echoes the BIOS code of a key.", 0x0
|