mirror of
https://github.com/cc65/cc65.git
synced 2024-09-15 18:55:19 +00:00
19 lines
262 B
ArmAsm
19 lines
262 B
ArmAsm
|
;
|
||
|
; 2022-04-16, Karri Kaksonen
|
||
|
;
|
||
|
; unsigned char wherex()
|
||
|
;
|
||
|
|
||
|
.export _wherex
|
||
|
.import CURS_X
|
||
|
|
||
|
;-----------------------------------------------------------------------------
|
||
|
; Get cursor X position
|
||
|
;
|
||
|
.proc _wherex
|
||
|
|
||
|
lda CURS_X
|
||
|
rts
|
||
|
.endproc
|
||
|
|