A2CPM
unread,Mar 17, 2012, 6:58:39 AM3/17/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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