2 ; Oliver Schmidt, 12.01.2005
5 .export rwprolog, rwcommon, rwepilog
8 .include "zeropage.inc"
12 .include "filedes.inc"
24 jmp getfd ; Returns A, Y and C
28 sta mliparam + MLI::RW::REF_NUM
33 sta mliparam + MLI::RW::DATA_BUFFER
34 stx mliparam + MLI::RW::DATA_BUFFER+1
39 sta mliparam + MLI::RW::REQUEST_COUNT
40 stx mliparam + MLI::RW::REQUEST_COUNT+1
47 cmp #$4C ; "End of file encountered"
53 lda mliparam + MLI::RW::TRANS_COUNT
54 ldx mliparam + MLI::RW::TRANS_COUNT+1
58 oserr: jmp __mappederrno