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

Re: Basic compiler



In article <RJSdnZaZsbfEtaHYnZ2dnUVZ_tSdnZ2d@comcast.com>,
Michael J. Mahon <mjmahon@aol.com> wrote:

> art wrote:
>> Hello all,
>> 
>> I have joined this group in hopes to get back up to speed as I picked
>> up a couple of apple IIes to use as embedded controllers.  Does anyone
>> know where I can get a copy with manual of a BASIC compiler that will
>> produce executable code?
> 
> Just out of curiosity, is your program so big and so slow that
> you need to compile it, as opposed to just running it in Applesoft?

....well, if the program is too BIG to run in Applesoft, compiling it will
just make matters worse, since after compilation the program will become
even bigger - at least if you compile it to machine code.

> If you have a few routines that need machine language speed, they
> can be easily crafted in an assembler and called from BASIC.
> 
> Unlike most 8-bit microcontrollers today, the 6502 has *very* few
> *real* compilers (that compile to machine language).

There were some though.  Two Applesoft compilers which produced
stand-alone executables in machine code were the "Einstein Compiler"
(aka "Expediter II"), and Microsoft's TASC (The AppleSoft Compiler).

> -michael
> 
> NadaNet networking for Apple II computers!
> Home page:  http://members.aol.com/MJMahon/
> 
> "The wastebasket is our most important design
> tool--and it's seriously underused."
-- 
----------------------------------------------------------------
Paul Schlyter,  Grev Turegatan 40,  SE-114 38 Stockholm,  SWEDEN
e-mail:  pausch at stockholm dot bostream dot se
WWW:     http://stjarnhimlen.se/