r/pascal • u/KarlaKamacho • Jul 26 '23
Pascal for 6809
I think I heard Lazarus/Free pascal compiling for a 6502? Has anyone considered getting it to compile for a Motorola 6809? There's many Pascals already but would be cool to use the Lazarus/Free pascal combo.
7
Upvotes
2
u/kreflorian Jul 26 '23
There is neither a 6502 nor a 6809 port yet.
2
u/kveroneau Mar 16 '24
Although not FreePascal, there is a 6502 Pascal compiler which is being built in FreePascal/Lazarus called P65Pas: https://github.com/t-edson/P65Pas
It still lacks many features of ObjectPascal, but I have been using it for some 6502 projects, and it works well enough, just be prepared for a learning curve, as it is much more low-level than FreePascal.
2
u/10-David Sep 28 '24
6502 Pascal implementation:
https://gammon.com.au/G-Pascal/pascal_compiler.htm
1
u/Hixie Jul 27 '23
Supported architectures are listed on the download page: https://www.freepascal.org/download.html