mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
Hooking into the MLI call needs much more thoughts - and is currently not necessary...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4159 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
df22cbf925
commit
c271f18d00
@ -4,9 +4,8 @@
|
||||
; Default ProDOS 8 I/O buffer management
|
||||
;
|
||||
|
||||
.export iobuf_alloc, iobuf_free, iobuf_mli
|
||||
.export iobuf_alloc, iobuf_free
|
||||
.import _posix_memalign, _free
|
||||
|
||||
iobuf_alloc := _posix_memalign
|
||||
iobuf_free := _free
|
||||
iobuf_mli := $BF00
|
||||
|
@ -5,7 +5,6 @@
|
||||
;
|
||||
|
||||
.import __dos_type
|
||||
.import iobuf_mli
|
||||
|
||||
.include "mli.inc"
|
||||
|
||||
@ -25,7 +24,7 @@ callmli:
|
||||
beq oserr
|
||||
|
||||
; Call MLI and return
|
||||
jsr iobuf_mli
|
||||
jsr $BF00 ; MLI call entry point
|
||||
call: .byte $00
|
||||
.addr mliparam
|
||||
rts
|
||||
|
Loading…
Reference in New Issue
Block a user