Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

72 views
Skip to first unread message

A2CPM

unread,
Mar 17, 2012, 6:58:39 AM3/17/12
to
Hi, y'all!

Almost exactly two years ago I made a run at translating the MS/
DOS version of version 3.01 of Turbo Pascal so that it would run on a
system using a 6502 CPU. I mentioned my effort in a thread in this
group. But, when the futility of such a project became apparent to
me, I gave up on it.

Recently, two disassemblies of the CP/M version of TP v3 became
available to me. I've written a program in Turbo Pascal that
translates the source files for a standalone version of the TP
compiler, created by Werner Cirsovius. The output of the translator,
when assembled, creates a 6502 compiler that is robust enough to
successfully parse the source file for the translation program. At
the moment, the 6502 compiler is a cross-compiler in that it generates
Z80 machine language, not 6502 machine language. That way, I can take
test source files and compare the output of the 6502 compiler against
the output of the Z80 compiler to find where the 6502 compiler is not
compiling correctly.

Willi
0 new messages