In the 1980s an Australian programmer, Nick Gammon, published a Pascal
development system for the Commodore 64 and Apple][ called G-Pascal.
In spite of it being a p-code based interpreter (based, like a lot of
others, on the BYTE Tiny Pascal from 1978), it was amazingly fast, and
it was a life-line to teenage me who was wanting to go beyond BASIC and
assembler. I even used it for writing my first-year University
programming assignments. The G-Pascal software cost $80, and was totally
worth it-- I couldn't wait to actually buy a legal copy! :)
(About two years ago I had a go at reverse-compiling the 16kB G-Pascal
program so that I could port it to other 6502 systems.. and then I got a
Life. :)
Anyway, last year, Nick Gammon was interviewed online at
<
http://www.supercoders.com.au/blog/nickgammongpascal.shtml> (Read it!),
and he's now placed all his source code and documentation online at
http://www.gammon.com.au/GPascal/source/
His original code was developed with the Apple][ Merlin assembler (I
can't say I blame him.. writing, editing and building 180kB of source on
a C64..) which was nothing like I have available on Unix today, so I've
munged the original source into something that cc65's ca65 assembler
likes, and managed to produce a byte-perfect copy to G-Pascal v3.1
My edited assembler source is available from:
http://kildall.apana.org.au/~cjb/G-Pascal/
For those of you who don't know which is the correct end of a
executable to hold, there's a gpascal.prg available in the
above directory as well. To run it in VICE:
x64 gpascal.prg (or whatever..)
click/escape into the monitor
> 0000 37 36
goto $8000
--
Chris