cc65/libsrc/apple2/wherey.s

17 lines
220 B
ArmAsm

;
; Kevin Ruland
;
; unsigned char wherey (void);
;
.export _wherey
.include "apple2.inc"
_wherey:
lda CV
sec
sbc WNDTOP
ldx #$00
rts