From: cuz Date: Tue, 26 Aug 2003 20:14:43 +0000 (+0000) Subject: Fixed a bug, splitted the where.s module into wherex.s and wherey.s X-Git-Tag: V2.12.0~1349 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a7acdf7072e72d3b63c51f2e10ed5ba3141a8174;p=cc65 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 --- diff --git a/libsrc/apple2/Makefile b/libsrc/apple2/Makefile index 81ac2c989..ee4e992a8 100644 --- a/libsrc/apple2/Makefile +++ b/libsrc/apple2/Makefile @@ -47,7 +47,8 @@ OBJS= _scrsize.o \ revers.o \ systime.o \ sysuname.o \ - where.o \ + wherex.o \ + wherey.o \ write.o #-------------------------------------------------------------------------- diff --git a/libsrc/apple2/where.s b/libsrc/apple2/where.s deleted file mode 100644 index b17c1f832..000000000 --- a/libsrc/apple2/where.s +++ /dev/null @@ -1,18 +0,0 @@ - - ;; Keivn Ruland - ;; - ;; unsigned char wherex( void ); - ;; unsigned char wherey( void ); - - .export _wherex, _wherey - - .include "apple2.inc" - -_wherex: - lda CH - rts - -_wherey: - lda CV - rts - \ No newline at end of file diff --git a/libsrc/apple2/wherex.s b/libsrc/apple2/wherex.s new file mode 100644 index 000000000..a7ceb22d8 --- /dev/null +++ b/libsrc/apple2/wherex.s @@ -0,0 +1,17 @@ + + ;; Keivn Ruland + ;; + ;; unsigned char wherex( void ); + + .export _wherex + + .include "apple2.inc" + +.proc _wherex + + lda CH + ldx #0 + rts + +.endproc + diff --git a/libsrc/apple2/wherey.s b/libsrc/apple2/wherey.s new file mode 100644 index 000000000..bd7342c86 --- /dev/null +++ b/libsrc/apple2/wherey.s @@ -0,0 +1,17 @@ + + ;; Keivn Ruland + ;; + ;; unsigned char wherey( void ); + + .export _wherey + + .include "apple2.inc" + +.proc _wherey + + lda CV + ldx #0 + rts + +.endproc +