[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Place to find old code????
In article <WO5ee.429$T3.2718@typhoon.sonic.net>, fadden@fadden.com
says...
>Dan Hetzel <dahetzel@wi.rr.com> wrote:
>> Back in the early and late 80s I use to receive Home Office Computing and a
>> few other magazines. In these magazines they usually had code that you had to
>> enter yourself and compile yourself. Is there a source on the net that has
>> some of these programs or any Apple basic program code.
>
>Applesoft and Integer BASIC aren't compiled, so you can view the BASIC
>programs themselves. I would recommend grabbing some public domain disk
>images from Asimov. Google for the comp.sys.apple2 FAQ for that and some
>other ideas.
Well, I don't think he by "source" referred to source code, but rather
to some site on the web where they can be downloaded. I.e. he wanted
some sorce for the source code... :-)
You wrote: "Applesoft and Integer BASIC aren't compiled" -- well they
can be. There were several Applesoft compilers, and at least two
Integer Basic compilers. Most Apple Basic programs weren't compiled
though - at least not that much. But they were usually not stored in
ASCII form either, but in tokenized form. Which means that the very
first step of compilation - lexical analysis i.e. conversion of keywords
and operators to tokens, was performed. Integer Basic actually went one
step further and did some parsing of the statements as well -- that's
why e.g. unary minus and binary minus were represented by different
tokens in an Integer Basic program.
Anyone who've tried to view a tokenized Applesoft or Integer Basic
program directly, without first converting it to ASCII, know that they
need a little bit of "decompilation" before they become readable by
humans. The LIST command in the respective Basic interpreter does that.
And so does your software CiderPress.
--
Paul Schlyter, Grev Turegatan 40, SE-114 38 Stockholm, SWEDEN
e-mail: pausch at saaf dot se
WWW: http://stjarnhimlen.se/
http://home.tiscali.se/pausch/