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

Re: Launching programs from ProDOS



  To: Dave Althoff, Jr.
On Mon, 5 Feb 2007 05:16:13 +0000, "Dave Althoff, Jr."
<dalloff.gcfn.org@sbcglobal.net> wrote:

>aiiadict@gmail.com wrote:
[snip]
>: I added an option:  P)ain  816 paint
>: 
>: it tries to do:  print chr$(4)"-paint.std.hires"
>: 
>: but basic.system reports "NO BUFFERS AVAILABLE"
[snip]
>
>Don't know for certain, but NO BUFFERS AVAILABLE in ProDOS/BASIC.SYSTEM 
>is a bit of a catch-all...after all, how can there be "no buffers 
>available" if ProDOS file buffers are dynamically assigned?
[snip]

The NO BUFFERS AVAILABLE error can be given if the file you are trying
to execute is being loaded into a section of memory that ProDOS has
marked as protected.

Rich, if "paint.std.hires" is being loaded into the text screen area
then you'll have to disable ProDOS' memory protection of that area
before you can run it.  You can do it with a single POKE command but I
don't have my Applesoft program selector source handy to get the POKE
command from that and I can't find the II Alive magazine that I wrote
an article for about this problem that also had the proper POKE
command.

If you need the proper POKE command and can't find or figure it out
yourself, let me know and I'll figure it out from my ProDOS Technical
Reference Manual.  I believe this has been discussed in this newsgroup
before so doing a Google search might find it too.

-- 
Jeff Blakeney
- to send me e-mail, CUT the obvious from my e-mail address
--- Synchronet 3.13a-Win32 NewsLink 1.83
A2Central.com - Your total source for Apple II computing.