1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-03 11:29:42 +00:00
cc65/libsrc/atari7800/wherey.s

20 lines
332 B
ArmAsm
Raw Normal View History

2022-04-16 16:15:06 +00:00
;
; 2022-04-16, Karri Kaksonen
;
; unsigned char wherey()
;
.export _wherey
2022-04-18 08:59:54 +00:00
.include "extzp.inc"
2022-04-16 16:15:06 +00:00
;-----------------------------------------------------------------------------
; Get cursor Y position
;
.proc _wherey
ldx #0
lda CURS_Y
rts
.endproc