;; Generic crt0.s for a Z80
- .globl _main
+ .module crt0
+ .globl _main
.area _HEADER (ABS)
;; Reset vector
rst 0x08
ret
-_getsp::
- ld hl,#0
- add hl,sp
- ret
-
-__printTStates::
- ld a,#3
- out (0xff),a
- ret
-
_exit::
;; Exit - special code to the emulator
ld a,#0