mirror of
https://github.com/cc65/cc65.git
synced 2024-08-19 02:29:33 +00:00
23 lines
278 B
ArmAsm
23 lines
278 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
|