Page 1 of 2 12 LastLast
Results 1 to 10 of 16

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

  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 Jonax View Post
    I can't access the website

    http://syntaxerrorsoftware.com/

    Is it down or some problem at my side?
    The domain of the above website has either been deleted or expired some time ago since I can no longer find any record of who might have owned it and I have seen it is currently available for purchase.

  8. #8
    Quote Originally Posted by Jonax View Post
    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?
    Oops! I forgot my old website (is no more) is still in by signature...you need to go to my itch.io site for my projects (including Pas6502).

    I can't figure out how to edit my signature under my profile here...
    Games:
    Seafox


    Pages:
    Syntax Error Software itch.io page

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

  9. #9
    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

  10. #10
    Quote Originally Posted by paul_nicholls View Post
    Oops! I forgot my old website (is no more) is still in by signature...you need to go to my itch.io site for my projects (including Pas6502).

    I can't figure out how to edit my signature under my profile here...
    Seems I can't edit my (non existing) signature either. Can't give any suggestions here. Maybe SilverWarior can help you to remove that link...

    I totally missed the commodore era but did some web search. So the C=64 and C=128 had 320x200 pixels 16 colour graphics?

    For what it's worth I'm currently dabbling with a text based minigame for Linux. The game is using VGA resolution with 4 colors, because it's supposed to be kind of primitive.
    Hopefully I can present the game here for input before the end of the year. It certainly is possible to make games for limited hardware.

    Have you made any Commodore games?
    As for emulators the VICE appears on many searches. Do you know if VICE runs on (Debian) Linux?

Page 1 of 2 12 LastLast

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
  •