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

Re: Turbo Pascal for the Apple II (native, not CP/M)



AppleCPM wrote:
Hi!

On Mar 8, 12:47 pm, "josephoswald...@gmail.com"
<josephosw...@gmail.com> wrote:

It seems to me that doing this will create a version of Turbo Pascal
that runs on the 6502, but generates Z80 assembly output.
Isn't that the easy part compared to creating a compiler that outputs
code for the 6502, or do I misunderstand your goal?


    For now I'm not converting any code generation logic.  Also not
messing with logic to handle errors as I'll be VERY satisfied if I can
get to the point that the 6502 program I create can simply parse valid
Turbo Pascal source text.  Because a single mnemonic instruction in
the starting source can become MANY 6502 mnemonics I'll be fortunate
if I don't run out of Apple RAM before I'm done.

Right--you're essentially running an in-line 8086 interpreter!

-michael

NadaNet and AppleCrate II: parallel computing for Apple II computers!
Home page: http://home.comcast.net/~mjmahon

"The wastebasket is our most important design
tool--and it's seriously underused."