Recent

Author Topic: P65Pas a new 6502 Pascal compiler  (Read 4085 times)

Edson

  • Hero Member
  • *****
  • Posts: 1055
Lazarus 1.6 - FPC 3.0.0 - x86_64-win64 on  Windows 7

Squall_FF8

  • Newbie
  • Posts: 3
Re: P65Pas a new 6502 Pascal compiler
« Reply #16 on: October 31, 2019, 02:06:57 pm »
Found you on Facebook. A friend request was sent. :)

And yes, the links that sstvmaster shared are the one. It still in process of designing but has already huge fan base and many people developing for it. It will be close to Comodore 64, this where similarities come from.
In the spirit of 8bit era it comes with BASIC. I can do assembly but it is a much slower process and very easy to make mistakes. So the Pascal and your IDE make it a RAD tool  8-)

P.S. Here is a screenshot of the application showing the system palette written with p65pas:

« Last Edit: October 31, 2019, 02:12:48 pm by Squall_FF8 »

Edson

  • Hero Member
  • *****
  • Posts: 1055
Re: P65Pas a new 6502 Pascal compiler
« Reply #17 on: October 31, 2019, 09:27:24 pm »
It's good to see people are using the P65Pas. There are still many features to implement and fix in the compiler. The support for assembler is very complete and can interact well with the Pascal code.

Fortunately  P65Pas was designed to be a general 6502 compiler, and not for a specific target. You can write a unit for the Commander X16 defining the hardware specific details.
Lazarus 1.6 - FPC 3.0.0 - x86_64-win64 on  Windows 7

Squall_FF8

  • Newbie
  • Posts: 3
Re: P65Pas a new 6502 Pascal compiler
« Reply #18 on: November 04, 2019, 09:13:11 am »
Quote
The support for assembler is very complete and can interact well with the Pascal code.
That is what I love about Pascal - it eliminate the need to write in pure assembly by providing a good asm code for output. In places where the compiler doesn't you can always rewrite segments for speed ups.
Quote
Fortunately  P65Pas was designed to be a general 6502 compiler, and not for a specific target. You can write a unit for the Commander X16 defining the hardware specific details.
That is exactly what I did - I used the included C64 as a base and modified it for X16 :)