move __do_oserror and __inviocb into their own source files

git-svn-id: svn://svn.cc65.org/cc65/trunk@4487 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cpg
2009-11-25 17:35:21 +00:00
parent 9b058add4a
commit 7fb08aa749
4 changed files with 29 additions and 21 deletions

12
libsrc/atari/inviocb.s Normal file
View File

@@ -0,0 +1,12 @@
;
; set EINVAL error code and returns -1
;
.include "errno.inc"
.import __retminus
.export __inviocb
__inviocb:
lda #<EINVAL
jsr __seterrno
jmp __retminus ; return -1