[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting buffers for ml programs



137dickey@west.cscwc.pima.edu wrote:
: Help!
: I had some machine language programs that I moved from a DOS 3.3 format, to a
: PRODOS 8 disk.  When I tried to BRUN them, and error message occured telling
: me that no buffer was available.  I assume that these buffers are the start,
: end, and execution adresses that any ML program uses or is it something else?
: I tried using a MLI (machine language interface) to get the buffer adress, 
: but that was useless.  Is there a way you can get a ML programs buffer adress
: from BASIC?  Would I have to use and assembler?
: Any help would be appreciated.
: loren dickey
: pleaes use this address to respond after the 7th of July-
: dickey@gas.uug.arizona.edu
: sorry for the inconvenience!

That error, "No Buffers Available" seems to come in two flavors.

First of all, under DOS 3.3, there are file buffers allocated by the
MAXFILES command (default=3, maximum=9).  If there is not a sufficient
number of buffers available for the action (usually one) then you get the
error.  Used buffers is usually caused by files left open.

Under ProDOS-8, file buffers are allocated dynamically, as needed.  My
guess is that something has allocated the buffer memory space so that the
buffer you need could not be created.

If these are 6502 executables (P8 people call them "SYS" files...) from
DOS 3.3, you may well find that they will not work under ProDOS, and you
are better off staying in the DOS world.

Now, I'm trying to remember what caused me to get a no buffers error under
P8...I believe it was an overflow of Applesoft variables 'cause
BASIC.SYSTEM wasn't smart enough to set HIMEM: low enough to retain buffer
space...

--Dave Althoff, Jr.
-- 
    /-\        _       _               __ ***  .SIG NOW OPEN!!!!  ***
   /XXX\      /X\     /X\_      _     /XX\_      _     _        _____  
  /XXXXX\    /XXX\  _/XXXX\_   /X\   /XXXXX\    /X\   /X\      /XXXXX
_/XXXXXXX\__/XXXXX\/XXXXXXXX\_/XXX\_/XXXXXXX\__/XXX\_/XXX\_/\_/XXXXXX