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

Re: Launching programs from ProDOS




On Jan 25, 4:30 pm, BluPhoenyx <bluphoe...@earthlink.net> wrote:
> aiiad...@gmail.com wrote:
> > it tries to do:  print chr$(4)"-paint.std.hires"
>
> > but basic.system reports "NO BUFFERS AVAILABLE"
> It may be the size of the file being executed. This is known to happen
> with large P8 system files.

One work around I have seen is to execute a small SYSTEM program that
relocates itself below $2000, loads the large .SYSTEM program and then
jumps to $2000. Because BASIC.SYTEM successfully loads the small loader
program, it releases the memory it occupies by clearing the bit map
thus allowing the successful loading of the larger program. The loader
must be a SYSTEM program (otherwise BASIC.SYSTEM does not clear the bit
map).