]> git.sur5r.net Git - cc65/commitdiff
Fixed a bug, splitted the where.s module into wherex.s and wherey.s
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 26 Aug 2003 20:14:43 +0000 (20:14 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 26 Aug 2003 20:14:43 +0000 (20:14 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2415 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/apple2/Makefile
libsrc/apple2/where.s [deleted file]
libsrc/apple2/wherex.s [new file with mode: 0644]
libsrc/apple2/wherey.s [new file with mode: 0644]

index 81ac2c98986a04182beab4b57347dd92cd02a2b1..ee4e992a81616ea5d9b9f870bfee5c32c2d775f0 100644 (file)
@@ -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 (file)
index b17c1f8..0000000
+++ /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 (file)
index 0000000..a7ceb22
--- /dev/null
@@ -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 (file)
index 0000000..bd7342c
--- /dev/null
@@ -0,0 +1,17 @@
+
+       ;; Keivn Ruland
+       ;;
+       ;; unsigned char wherey( void );
+
+       .export         _wherey
+
+       .include        "apple2.inc"
+
+.proc   _wherey
+
+       lda     CV
+        ldx     #0
+       rts
+
+.endproc
+