mirror of
https://github.com/cc65/cc65.git
synced 2025-01-27 09:33:42 +00:00
Moved wherex and wherey into separate modules.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1869 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
e6e35390d1
commit
70d99589ca
@ -80,7 +80,8 @@ OBJS = _scrsize.o \
|
|||||||
systime.o \
|
systime.o \
|
||||||
tvtype.o \
|
tvtype.o \
|
||||||
ucase_fn.o \
|
ucase_fn.o \
|
||||||
where.o \
|
wherex.o \
|
||||||
|
wherey.o \
|
||||||
write.o
|
write.o
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,27 +0,0 @@
|
|||||||
;
|
|
||||||
; Ullrich von Bassewitz, 06.08.1998
|
|
||||||
;
|
|
||||||
; unsigned char wherex (void);
|
|
||||||
; unsigned char wherey (void);
|
|
||||||
|
|
||||||
.export _wherex, _wherey
|
|
||||||
.import plot
|
|
||||||
|
|
||||||
.include "atari.inc"
|
|
||||||
|
|
||||||
_wherex:
|
|
||||||
sec
|
|
||||||
jsr plot ; Get cursor position
|
|
||||||
tya
|
|
||||||
rts
|
|
||||||
|
|
||||||
_wherey:
|
|
||||||
sec
|
|
||||||
jsr plot ; Get cursor position
|
|
||||||
txa
|
|
||||||
rts
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user