]> git.sur5r.net Git - cc65/commitdiff
'setoserror' is used by routines residing both 'disk' and 'file'. Therefore move...
authorol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 7 Feb 2012 16:50:23 +0000 (16:50 +0000)
committerol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 7 Feb 2012 16:50:23 +0000 (16:50 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5489 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/geos-common/disk/Makefile
libsrc/geos-common/disk/setoserror.s [deleted file]
libsrc/geos-common/system/Makefile
libsrc/geos-common/system/setoserror.s [new file with mode: 0644]

index a6288012dc66da00ed7c3cd84aade09a5b7a086b..ffb5175ea0641b4634e2dce0d0b7b3661c4bfd95 100644 (file)
@@ -16,5 +16,4 @@ S_OBJS +=     blkalloc.o              \
                opendisk.o              \
                putblock.o              \
                putdirhead.o            \
-               setnextfree.o           \
-               setoserror.o
+               setnextfree.o
\ No newline at end of file
diff --git a/libsrc/geos-common/disk/setoserror.s b/libsrc/geos-common/disk/setoserror.s
deleted file mode 100644 (file)
index 382f565..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-
-;
-; Maciej 'YTM/Elysium' Witkowiak
-;
-; 2.1.2003
-;
-
-           .export setoserror
-           .import __oserror
-
-setoserror:
-           stx __oserror
-           txa
-           ldx #0              ; X is cleared (high byte for promoting char to int)
-           tay                 ; Y register is used just to save flags state
-           rts
index 6d8a22eed35fa3a04c8ee8ef34caee3e33b4963c..01efd965613d31c35c0ca654512b64285cf6453c 100644 (file)
@@ -20,4 +20,5 @@ S_OBJS  +=      callroutine.o         \
                oserrlist.o             \
                panic.o                 \
                randomize.o             \
+               setoserror.o            \
                sysuname.o
diff --git a/libsrc/geos-common/system/setoserror.s b/libsrc/geos-common/system/setoserror.s
new file mode 100644 (file)
index 0000000..382f565
--- /dev/null
@@ -0,0 +1,16 @@
+
+;
+; Maciej 'YTM/Elysium' Witkowiak
+;
+; 2.1.2003
+;
+
+           .export setoserror
+           .import __oserror
+
+setoserror:
+           stx __oserror
+           txa
+           ldx #0              ; X is cleared (high byte for promoting char to int)
+           tay                 ; Y register is used just to save flags state
+           rts