mirror of
https://github.com/cc65/cc65.git
synced 2024-08-29 09:29:19 +00:00
25 lines
442 B
ArmAsm
25 lines
442 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 2003-05-02
|
||
|
;
|
||
|
; unsigned char wherex (void);
|
||
|
;
|
||
|
|
||
|
.export _wherex
|
||
|
|
||
|
.include "pce.inc"
|
||
|
.include "extzp.inc"
|
||
|
|
||
|
.proc _wherex
|
||
|
|
||
|
lda CURS_X
|
||
|
ldx #$00
|
||
|
rts
|
||
|
|
||
|
.endproc
|
||
|
|
||
|
;-------------------------------------------------------------------------------
|
||
|
; force the init constructor to be imported
|
||
|
|
||
|
.import initconio
|
||
|
conio_init = initconio
|