[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to make an Applesoft Basic program Brun-able
On Thursday, July 19, 2012 6:30:50 PM UTC-6, (unknown) wrote:
> I've searched to no avail, and am wondering if anyone can tell me a nifty way or provide the code to append to an Applesoft file to make it a self-executable BINary file. I remember reading that there is a way, but after 20+ years have forgotten that magical code. The reason is that I want to make self-contained Basic files which will execute from Beautiful Boot, and other similar binary-loading programs. I know location $801 has be modified, and probably location 64 also, but how to sandwitch the machine language code together with the tokenized Applesoft code?
>
> I'm NOT talking about an Applesoft compiler!
Here is a short ML program that will load and run an applesoft program called
STARTUP in the current directory under Prodos. Although this is not an all-in-one,
I thought I would list it, just in case it suits your needs. It can also be converted to a
system file. You can also create aliases using this method, so that a single directory
can hold all your aliasaes and the alias themselves can point to any file in any directory
on your hard drive.
2000: A2 0D BD 11 20 9D 00 02
2008: CA 10 F7 20 03 BE 4C 66
2010: D5 CC CF C1 C4 A0 D3 D4
2018: C1 D2 D4 D5 D0 8D 00 00