[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MLI OPEN in BASIC under P8
Okay folks...I need some help. I am trying to open a file using the MLI OPEN
command but I'm getting some really messed up errors. I think it has to do
with where I'm putting my parameter table, and also, the pointer to the
Class 0 pathname string.
Okay, my code is in memory that is above HIMEM and as such is marked as
'in use' in the P8 system bit map. That means that the data section of my
code also resides above HIMEM and therefore is also marked as 'in use' by
the system bit map. I first tried to put my parameter table in my data
section, but after getting $56 errors (an error returned when one tries to
access memory marked as busy by the system bit map), I figured the
parameter table needs to be somewhere else.
So, I started looking in my manuals and I remembered BASIC.SYSTEM also has
a global page and when I did more looking, low and behold, I found parameter
tables in the global page! So, I located the parameter table for the OPEN
call and filled it with all the info I needed. I'm still having problems.
It would take me forever to explain all the things I've tried, and I'd much
rather hear from someone who knows how to use the MLI dispatcher to open a
file with the OPEN MLI command with BASIC loaded into memory. I've tried LOTS
of things, is basically what I'm saying, and nothing has worked successfully
yet. So, if you know anything about this, please, please contact me via
e-mail (or if you post, drop me a line as well and let me know...I don't
read this group as often as I used to). I basically need to know what
EXACTLY I need to do to make a successful MLI OPEN call with BASIC resident
in memory.
Any help would be appreciated.
Thanks.
Amrit
--
-=-=-= Amrit Chauhan --- Conciousness can be Demystified -=-=-=-
-=-=-= achauhan@math.macalstr.edu - #AppleIIgs forever -=-=-=-
-=-=-= Conciousness depends on its associated concepts. =-=-=-
-=-=-= Cartesian Duelism is giving up on science. -->--<@ =-=-=-