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

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



Well, I've now had success thanks to your pointers. So, I've got Exomized BRUNable BASIC programs executing without the overhead of DOS and turnkey from Beautiful Boot! This is how I accomplished it, feel free to suggest any more optimizations I can do.

1. Clean up original BASIC code, RENUMBER it, use Beagle Bros. COMPACT it.
2. Use GPLE to find out final length of tokenized code
3. Enter monitor $7FD, JMPing to the hex address of LENGTH+1, where I've created a short ML routine. Manually code start and end address of BASIC code, and of code, and set HIMEM pointer ($70) This is where I may need some more help:

$length+1: A9 01 8D 67 00 A9 08 8D 68 00 A9 AA 8D 69 00 A9 42 8D 6A 00 (end code at $42AA) A9 C0 8D 70 00 (HIMEM AT $C000) 4C 66 D5 (JMP to ROM routine for RUN command).

4. BSAVE <