mirror of
https://github.com/cc65/cc65.git
synced 2025-02-06 12:31:12 +00:00
20 lines
327 B
ArmAsm
20 lines
327 B
ArmAsm
|
;
|
||
|
; 2022-04-16, Karri Kaksonen
|
||
|
;
|
||
|
; unsigned char wherey()
|
||
|
;
|
||
|
|
||
|
.export _wherey
|
||
|
.import CURS_Y
|
||
|
|
||
|
;-----------------------------------------------------------------------------
|
||
|
; Get cursor Y position
|
||
|
;
|
||
|
.proc _wherey
|
||
|
|
||
|
ldx #0
|
||
|
lda CURS_Y
|
||
|
rts
|
||
|
.endproc
|
||
|
|