dos33fsprogs/games/peasant/init_vars.s

10 lines
183 B
ArmAsm
Raw Normal View History

; putting these here because can never remember where to stick
; global init that's guaranteed to get run
init_global_vars:
lda #0
sta DRAW_PAGE
sta INPUT_X ; text pointer
rts