Much better approach for ProDOS 8 IO-buffer custom implementations - the first one was actually kind of stupid.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4155 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc
2009-09-11 19:54:29 +00:00
parent c8e1d7e0d2
commit 736db8789e
3 changed files with 5 additions and 14 deletions

View File

@@ -5,8 +5,7 @@
;
.import __dos_type
.import iobuf_init, iobuf_done
.export iobuf_nop
.import iobuf_mli
.include "mli.inc"
@@ -26,16 +25,12 @@ callmli:
beq oserr
; Call MLI and return
jsr iobuf_init
jsr ENTRY
jsr iobuf_mli
call: .byte $00
.addr mliparam
jmp iobuf_done
rts
; Load oserror code and return
oserr: lda #$01 ; "Invalid MLI function code number"
sec
; Fall through
iobuf_nop:
rts