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

Re: ProDOS Error Message re "NO BUFFERS AVAILABLE"



On May 26, 3:32 am, lyricalnan...@dosius.ath.cx (Steve Nickolas)
wrote:
> David Empson wrote:
> > Assuming it is a "run forever" game with no interaction with
> > BASIC.SYSTEM and no way out short of Ctrl-Apple-Reset, one option may be
> > to turn it into a self-relocating SYS file. These must be loaded at
> > $2000, and BASIC.SYSTEM would have the same problem loading it as the
> > file is too big. It could be loaded directly by ProDOS as the initial
> > .SYSTEM file, or from the QUIT code program launcher.
>
> > If you want to be able to run it from BASIC.SYSTEM as a SYS file, two
> > files would be needed: a SYS file as a front-end loader, and the game
> > itself in a second file.
>
> > The SYS file would relocate itself into the top of the area normally
> > occupied by BASIC.SYSTEM (e.g. $BC00-$BEFF), initialize some pieces of
> > the ProDOS global page (e.g. the memory map), then load the game at its
> > actual run address (e.g. using an I/O buffer at $B800) and transfer
> > control to it.
>
> This is incredibly crude, but the PRODOS file in later editions of EHBASIC+
> (e.g.,http://usotsuki.hoshinet.org/eh210p8_v087ref1.zip) has a modified
> Selector (http://usotsuki.hoshinet.org/selextra.lst.txt) which is capable of
> running BIN files as well as SYS files.  Dunno if it'll be any use, but it
> pretty much works exactly that way.
>
> -uso.

Tried it, but it didn't work, sorry...  It did try to execute it, but
it just dumped to the monitor...