'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
This commit is contained in:
@@ -20,4 +20,5 @@ S_OBJS += callroutine.o \
|
||||
oserrlist.o \
|
||||
panic.o \
|
||||
randomize.o \
|
||||
setoserror.o \
|
||||
sysuname.o
|
||||
|
||||
16
libsrc/geos-common/system/setoserror.s
Normal file
16
libsrc/geos-common/system/setoserror.s
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user