1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00
cc65/libsrc/atari7800/wherex.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 wherex()
;
.export _wherex
2022-04-18 08:59:54 +00:00
.include "extzp.inc"
2022-04-16 16:15:06 +00:00
;-----------------------------------------------------------------------------
; Get cursor X position
;
2022-04-16 16:15:19 +00:00
.proc _wherex
2022-04-16 16:15:06 +00:00
2022-04-16 16:15:19 +00:00
ldx #0
lda CURS_X
rts
.endproc
2022-04-16 16:15:06 +00:00