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

Re: How to make an Applesoft Basic program Brun-able



On Fri, 20 Jul 2012, bpiltz@gmail.com wrote:

4. BSAVE <myprogram>,A$7FD,L$(length+$17)
5. Exomize. Automize (thanks uso!). Strip the first 12 bytes of the exomized file and BSAVE. The code compresses very well, more than 50%!

*^^*

6. Beautiful Boot.

One snag. Directly from the Beautiful Boot menu, the Brun-able BASIC Code executes, but in strange symbolic text, and at very slow display speed (probably SPEED has been set to zero). Typing NORMAL: SPEED=255: RUN in direct command mode fixes these issues. So, a couple more questions:

1. What is the address to the ROM routine for NORMAL?

$FE84

2. What zero-page memory address contains the value for SPEED= ? This needs to be set to $FF manually.

$F1, but you'll want to set it to 1, not 255.

Wow! The benefits include having a full $B700 bytes for BASIC code, without needing to load DOS in language card, extra speed of execution due to not having to worry about the overhead of DOS. Caveat is no disk activity is possible in BASIC code, but that is not an issue for 95$ of the BASIC programs I'll be making BRUNable.

-uso.