'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:
ol.sc
2012-02-07 16:50:23 +00:00
parent 4494a930e3
commit 9082aa8d99
3 changed files with 2 additions and 2 deletions

View 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