mirror of
https://github.com/cc65/cc65.git
synced 2025-01-13 09:31:53 +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
|
; Default ProDOS 8 I/O buffer management
|
||||||
;
|
;
|
||||||
|
|
||||||
.export iobuf_alloc, iobuf_free, iobuf_mli
|
.export iobuf_alloc, iobuf_free
|
||||||
.import _posix_memalign, _free
|
.import _posix_memalign, _free
|
||||||
|
|
||||||
iobuf_alloc := _posix_memalign
|
iobuf_alloc := _posix_memalign
|
||||||
iobuf_free := _free
|
iobuf_free := _free
|
||||||
iobuf_mli := $BF00
|
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
;
|
;
|
||||||
|
|
||||||
.import __dos_type
|
.import __dos_type
|
||||||
.import iobuf_mli
|
|
||||||
|
|
||||||
.include "mli.inc"
|
.include "mli.inc"
|
||||||
|
|
||||||
@ -25,7 +24,7 @@ callmli:
|
|||||||
beq oserr
|
beq oserr
|
||||||
|
|
||||||
; Call MLI and return
|
; Call MLI and return
|
||||||
jsr iobuf_mli
|
jsr $BF00 ; MLI call entry point
|
||||||
call: .byte $00
|
call: .byte $00
|
||||||
.addr mliparam
|
.addr mliparam
|
||||||
rts
|
rts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user