1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-21 20:29:24 +00:00

Fixed a bug, splitted the where.s module into wherex.s and wherey.s

git-svn-id: svn://svn.cc65.org/cc65/trunk@2415 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-08-26 20:14:43 +00:00
parent 676e8ff513
commit a7acdf7072
3 changed files with 26 additions and 9 deletions

View File

@ -47,7 +47,8 @@ OBJS= _scrsize.o \
revers.o \
systime.o \
sysuname.o \
where.o \
wherex.o \
wherey.o \
write.o
#--------------------------------------------------------------------------

17
libsrc/apple2/wherex.s Normal file
View File

@ -0,0 +1,17 @@
;; Keivn Ruland
;;
;; unsigned char wherex( void );
.export _wherex
.include "apple2.inc"
.proc _wherex
lda CH
ldx #0
rts
.endproc

View File

@ -1,18 +1,17 @@
;; Keivn Ruland
;;
;; unsigned char wherex( void );
;; unsigned char wherey( void );
.export _wherex, _wherey
.export _wherey
.include "apple2.inc"
_wherex:
lda CH
.proc _wherey
lda CV
ldx #0
rts
_wherey:
lda CV
rts
.endproc