2000-05-28 13:40:48 +00:00
|
|
|
;
|
|
|
|
; Ullrich von Bassewitz, 06.08.1998
|
|
|
|
;
|
|
|
|
; unsigned char wherex (void);
|
|
|
|
; unsigned char wherey (void);
|
|
|
|
|
2002-11-19 23:02:47 +00:00
|
|
|
|
2000-05-28 13:40:48 +00:00
|
|
|
.export _wherex, _wherey
|
2002-11-19 23:02:47 +00:00
|
|
|
.import PLOT
|
|
|
|
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
_wherex:
|
|
|
|
sec
|
|
|
|
jsr PLOT ; Get cursor position
|
|
|
|
tya
|
|
|
|
rts
|
|
|
|
|
|
|
|
_wherey:
|
|
|
|
sec
|
|
|
|
jsr PLOT ; Get cursor position
|
|
|
|
txa
|
|
|
|
rts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|