From: ol.sc Date: Tue, 7 Feb 2012 16:50:23 +0000 (+0000) Subject: 'setoserror' is used by routines residing both 'disk' and 'file'. Therefore move... X-Git-Tag: V2.13.3~5 X-Git-Url: https://git.sur5r.net/?p=cc65;a=commitdiff_plain;h=9082aa8d99d69be20d3c5d7f77cd49a195fa4433 'setoserror' is used by routines residing both 'disk' and 'file'. Therefore move it to 'system' - where the other oserr-related stuff resides. git-svn-id: svn://svn.cc65.org/cc65/trunk@5489 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/geos-common/disk/Makefile b/libsrc/geos-common/disk/Makefile index a6288012d..ffb5175ea 100644 --- a/libsrc/geos-common/disk/Makefile +++ b/libsrc/geos-common/disk/Makefile @@ -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 index 382f56551..000000000 --- a/libsrc/geos-common/disk/setoserror.s +++ /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 diff --git a/libsrc/geos-common/system/Makefile b/libsrc/geos-common/system/Makefile index 6d8a22eed..01efd9656 100644 --- a/libsrc/geos-common/system/Makefile +++ b/libsrc/geos-common/system/Makefile @@ -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 index 000000000..382f56551 --- /dev/null +++ b/libsrc/geos-common/system/setoserror.s @@ -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