1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-26 13:18:31 +00:00

Move include files into /asminc, changed include file paths

git-svn-id: svn://svn.cc65.org/cc65/trunk@1249 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2002-04-21 14:19:16 +00:00
parent 302005befe
commit d0599a24fe
18 changed files with 30 additions and 144 deletions
+5 -5
View File
@@ -3,16 +3,16 @@
; expects parameters (int fd,void *buf,int count)
;
.include "atari.inc"
.include "../common/errno.inc"
.include "errno.inc"
.importzp tmp2,tmp3
.import incsp6,ldax0sp,ldaxysp
.import __errno,__oserror
.import fdtoiocb
.export __rwsetup
__rwsetup:
ldy #5
jsr ldaxysp ; get fd
jsr fdtoiocb ; convert to iocb
@@ -42,7 +42,7 @@ iocberr:jsr incsp6 ; pop args
ldx #$FF ; indicate error + clear ZF
rts
;
; this routine updates errno. do a JMP here right after calling
; CIOV. we expect status in Y.
@@ -50,7 +50,7 @@ iocberr:jsr incsp6 ; pop args
.export __do_oserror,__seterrno,__inviocb
__do_oserror:
sty __oserror ; save os dependent error code
retminus:
retminus:
lda #$FF
tax ; return -1
rts