Moved wherex and wherey into separate modules.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1867
b7a2c559-68d2-44c3-8de9-
860c34a00d81
scratch.o \
sysremove.o \
systime.o \
- where.o \
+ wherex.o \
+ wherey.o \
write.o
all: $(C_OBJS) $(S_OBJS)
+++ /dev/null
-;
-; Ullrich von Bassewitz, 06.08.1998
-;
-; unsigned char wherex (void);
-; unsigned char wherey (void);
-
-
- .export _wherex, _wherey
- .import PLOT
-
-
-_wherex:
- sec
- jsr PLOT ; Get cursor position
- tya
- rts
-
-_wherey:
- sec
- jsr PLOT ; Get cursor position
- txa
- rts
-
-
-
-
-
--- /dev/null
+;
+; Ullrich von Bassewitz, 06.08.1998
+;
+; unsigned char wherex (void);
+;
+
+ .export _wherex
+ .import PLOT
+
+
+.proc _wherex
+ sec
+ jsr PLOT ; Get cursor position
+ tya
+ ldx #$00
+ rts
+.endproc
+
--- /dev/null
+;
+; Ullrich von Bassewitz, 06.08.1998
+;
+; unsigned char wherey (void);
+;
+
+ .export _wherey
+ .import PLOT
+
+
+.proc _wherey
+ sec
+ jsr PLOT ; Get cursor position
+ txa
+ ldx #$00
+ rts
+.endproc
+