mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
20 lines
332 B
ArmAsm
20 lines
332 B
ArmAsm
;
|
|
; 2022-04-16, Karri Kaksonen
|
|
;
|
|
; unsigned char wherex()
|
|
;
|
|
|
|
.export _wherex
|
|
.include "extzp.inc"
|
|
|
|
;-----------------------------------------------------------------------------
|
|
; Get cursor X position
|
|
;
|
|
.proc _wherex
|
|
|
|
ldx #0
|
|
lda CURS_X
|
|
rts
|
|
.endproc
|
|
|