1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-07-23 07:30:20 +10:00
collapseos/recipes/rc2014/sdcard/helo.asm
Virgil Dupras 2e8af376e3 pgm: new kernel module
The pgm module implements a shell hook so that when an unknown command
is typed, we look into the mounted filesystem and look for a file with
the same name as the command. If we find one, we load it in memory and
run it.
2019-05-31 14:54:15 -04:00

13 lines
152 B
NASM

; prints "Hello!" on screen
.equ printstr 0x03
.org 0x9000
ld hl, sHello
call printstr
xor a ; success
ret
sHello:
.db "Hello!", 0x0d, 0x0a, 0