Results 1 to 10 of 17

Thread: Pas6502 - Pascal dialect compiler -> 6502 assembly code

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Pas6502 - Pascal dialect compiler -> 6502 assembly code

    Hi all,
    I'd thought I'd share my WIP compiler Pas6502 that compiles a dialect of Pascal into 6502 assembly code and then to a C64 .prg via the Kick Assembler utility.

    The Exomizer program can also be used to pack the output to reduce its size...

    It is currently for getting a working C64 game/program created, but might be exteded to other 6502 processors later on.

    It is still limited and has bugs, but you can see some working examples (will change slightly as code gets refactored/changed).

    You can find the latest version here:
    https://bitbucket.org/paul_nicholls/pas6502/src/master/

    I have a facebook group here:
    https://www.facebook.com/groups/2354741431414798/

    You can also follow me on twitter (Hashtag '#Pas6502'):
    https://www.twitter.com/syntaxerrorsoft

    cheers,
    Paul
    Games:
    Seafox


    Pages:
    Syntax Error Software itch.io page

    Online Chess
    http://gameknot.com/#paul_nicholls

  2. #2
    Hi all, I better let you know that my Pascal to native 6502 cross-compiler, Pas6502, has had many updates since my last post!
    It now supports 8 retro machines:
    It currently supports these machines:

    • C64
    • C128
    • Vic-20
    • Commodore PET
    • BBC Micro
    • Atari 8-bit
    • Apple II family
    • NES (Very minimal support currently...)

    It's free, and you can find it below. Please think of donating when downloading it, or buy me a "coffee" at ko-fi
    https://syntaxerrorsoftware.itch.io/pas6502
    ko-fi/syntaxerrorsoftware
    Games:
    Seafox


    Pages:
    Syntax Error Software itch.io page

    Online Chess
    http://gameknot.com/#paul_nicholls

  3. #3
    Hi Paul,

    Unfortunately I missed that era and lack the hardware to test your compiler. But it's nice to see there is some pascal activity out there. Keep up the good work!

  4. #4
    You can always try it out with emulators, it's setup for that anyway
    Thanks for the kind words!!
    Games:
    Seafox


    Pages:
    Syntax Error Software itch.io page

    Online Chess
    http://gameknot.com/#paul_nicholls

  5. #5
    IF you also build a 6502 emulator in pascal that allows calls from emulated code to main app using RTTI, then you just built a "compiled on demand" scripting language.

    i'd use something like that.
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

  6. #6
    So much to do, so little time. I'm still struggling with the pascal for Linux.

    On quick question:

    I can't access the website

    http://syntaxerrorsoftware.com/

    Is it down or some problem at my side?

  7. #7
    Quote Originally Posted by JernejL View Post
    IF you also build a 6502 emulator in pascal that allows calls from emulated code to main app using RTTI, then you just built a "compiled on demand" scripting language.

    i'd use something like that.
    hmm...not sure how I'd do that, so will probably not happen sorry...
    Games:
    Seafox


    Pages:
    Syntax Error Software itch.io page

    Online Chess
    http://gameknot.com/#paul_nicholls

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •