1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-08 22:48:06 +11:00
collapseos/apps/zasm/emul/wrapper.asm
Virgil Dupras 1ae2331763 Add zasm app
For now, only a dummy app, but it's emulated properly with libz80.
Exciting times!
2019-04-16 13:36:57 -04:00

14 lines
186 B
NASM

; setup the stack
ld hl, 0xffff
ld sp, hl
; zasm input
ld hl, 0x9000
; zasm output
ld hl, 0xc000
call zasm
; signal the emulator we're done
out (0), a
halt
zasm:
; beginning of the code