1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-10 19:29:45 +00:00
cc65/libsrc/atari7800/wherex.s

20 lines
332 B
ArmAsm
Raw Normal View History

2022-04-16 19:15:06 +03:00
;
; 2022-04-16, Karri Kaksonen
;
; unsigned char wherex()
;
.export _wherex
2022-04-18 11:59:54 +03:00
.include "extzp.inc"
2022-04-16 19:15:06 +03:00
;-----------------------------------------------------------------------------
; Get cursor X position
;
2022-04-16 19:15:19 +03:00
.proc _wherex
2022-04-16 19:15:06 +03:00
2022-04-16 19:15:19 +03:00
ldx #0
lda CURS_X
rts
.endproc
2022-04-16 19:15:06 +03:00