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