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

Re: Wudsn now supports Apple //



On Fri, 12 Oct 2012, JAC! wrote:

Denis informed my that there is an issue with the generated HELLO in some cases.
It's due to the bug in BRUN which causes crashes if COUT is used.
http://www.textfiles.com/apple/ANATOMY/cmd.brun.bload.txt

His suggestion was changing the HELLO from

10 PRINT CHR$(4);"BRUN WORLD"

to

10 PRINT CHR$(4);"BLOAD WORLD" : CALL <address>

While this is possible (and mostly works already), I see the problem that the HELLO is loaded to $800 and if BLOAD overwrites this ares, the CALL <address> will be overwritten too, causing a crash. BRUN does not have this issue by nature.

I am not familiar with the Apple II memory map and conventions.
Does the HELLO have to start at $800?
Is there something like the "normal" load address for BLOAD programs?
...


Not really.  A lot of stuff loads at $07FD, actually.

You can make HELLO reload itself elsewhere, but it requires a few pokes.

Usually BRUN is fine - especially with stuff that loads low.

-uso.