mirror of
https://github.com/cc65/cc65.git
synced 2025-02-06 12:31:12 +00:00
22 lines
299 B
ArmAsm
22 lines
299 B
ArmAsm
|
|
;
|
|
; Maciej 'YTM/Elysium' Witkowiak
|
|
;
|
|
; 27.10.2001
|
|
; 06.03.2002
|
|
; 02.01.2003
|
|
|
|
; unsigned char wherex (void);
|
|
; unsigned char wherey (void);
|
|
|
|
.export _wherex, _wherey
|
|
.importzp cursor_c, cursor_r
|
|
|
|
_wherex: lda cursor_c
|
|
ldx #0
|
|
rts
|
|
|
|
_wherey: lda cursor_r
|
|
ldx #0
|
|
rts
|