Make use of the new common __directerrno and __mappederrno function.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4720 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
;
|
||||
|
||||
.export rwprolog, rwcommon, rwepilog
|
||||
.import oserrexit
|
||||
.import popax
|
||||
|
||||
.include "zeropage.inc"
|
||||
.include "errno.inc"
|
||||
.include "fcntl.inc"
|
||||
.include "mli.inc"
|
||||
.include "filedes.inc"
|
||||
@@ -55,5 +55,5 @@ rwepilog:
|
||||
ldx mliparam + MLI::RW::TRANS_COUNT+1
|
||||
rts
|
||||
|
||||
; Return oserror
|
||||
oserr: jmp oserrexit
|
||||
; Set __oserror
|
||||
oserr: jmp __mappederrno
|
||||
|
||||
Reference in New Issue
Block a user