From c271f18d00393688a2d49127bb0d1b4d472298b8 Mon Sep 17 00:00:00 2001
From: "ol.sc" 
Date: Sat, 12 Sep 2009 20:55:20 +0000
Subject: [PATCH] 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
---
 libsrc/apple2/iobuf.s | 3 +--
 libsrc/apple2/mli.s   | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/libsrc/apple2/iobuf.s b/libsrc/apple2/iobuf.s
index 699f3d901..88a4503d0 100644
--- a/libsrc/apple2/iobuf.s
+++ b/libsrc/apple2/iobuf.s
@@ -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
diff --git a/libsrc/apple2/mli.s b/libsrc/apple2/mli.s
index 9469ce960..a1d05be8c 100644
--- a/libsrc/apple2/mli.s
+++ b/libsrc/apple2/mli.s
@@ -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
-- 
2.39.5