2 ; Oliver Schmidt, 12.01.2005
5 .export rwprolog, rwcommon, rwepilog
8 .include "zeropage.inc"
12 .include "filedes.inc"
26 jmp getfd ; Returns A, Y and C
30 sta mliparam + MLI::RW::REF_NUM
35 sta mliparam + MLI::RW::DATA_BUFFER
36 stx mliparam + MLI::RW::DATA_BUFFER+1
41 sta mliparam + MLI::RW::REQUEST_COUNT
42 stx mliparam + MLI::RW::REQUEST_COUNT+1
49 cmp #$4C ; "End of file encountered"
55 lda mliparam + MLI::RW::TRANS_COUNT
56 ldx mliparam + MLI::RW::TRANS_COUNT+1
60 oserr: jmp __mappederrno