Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Commodore » Commodore 8-bit » cc64 compiler under development again
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
cc64 compiler under development again [message #394768] Thu, 21 May 2020 09:28 Go to next message
Philip Zembrod is currently offline  Philip Zembrod
Messages: 15
Registered: September 2012
Karma: 0
Junior Member
Hi all,

I figured now is a reasonable time to let you know that I have picked up an age-old project of mine again - the C64-hosted Small C compiler cc64, written in Forth.

Its versions 0.4, uploaded to ccnga.uwaterloo.edu in 1995, seems to have managed to stick around in a few lists of languages/compilers for the C64, despite it still having some serious bugs.

I had written the thing during my university years, and after graduation both a breakdown of my C64, and getting busy with entering the workforce conspired to abort further development.

It has been a lingering dream/ambition of mine since then to some day pick it up again and finish it, for some value of finish. And after getting an unexpected ping about cc64 last summer, I found that I now have the time and opportunity, and started to play around with it again.

So far it's been mostly about stabilizing things: collect and merge sources from back then (turned out I had unintentionally forked the sources at some point), move things to an emulator and get enough tooling in place for a sane automated build and test process, write the first set of tests, and fix the first bugs I found. This includes the static vars linking bug.

I don't consider it in any way done yet (e.g. forward references of functions is still broken - next bug on my list), but I still feel I should slowly expose it to a few more eyes.

For all who would like to take a look, this is where it lives: https://github.com/pzembrod/cc64

Cheers
/Philip
Re: cc64 compiler under development again [message #394800 is a reply to message #394768] Fri, 22 May 2020 04:03 Go to previous messageGo to next message
Philip Zembrod is currently offline  Philip Zembrod
Messages: 15
Registered: September 2012
Karma: 0
Junior Member
> (e.g. forward references of functions is still broken - next bug on my list)

Update: I got this one fixed yesterday.
Re: cc64 compiler under development again [message #394807 is a reply to message #394800] Fri, 22 May 2020 12:31 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
On Friday, May 22, 2020 at 4:03:21 AM UTC-4, Philip Zembrod wrote:
>> (e.g. forward references of functions is still broken - next bug on my list)
>
> Update: I got this one fixed yesterday.

I'm interested How do I download the binaries?
Re: cc64 compiler under development again [message #394812 is a reply to message #394807] Fri, 22 May 2020 14:09 Go to previous messageGo to next message
Philip Zembrod is currently offline  Philip Zembrod
Messages: 15
Registered: September 2012
Karma: 0
Junior Member
Am Freitag, 22. Mai 2020 18:31:16 UTC+2 schrieb Harry Potter:

> I'm interested How do I download the binaries?

Just grab the entire v05/c64files directory: https://github.com/pzembrod/cc64/tree/master/v05/c64files

I should add that to the Usage.md file.
Re: cc64 compiler under development again [message #394813 is a reply to message #394812] Fri, 22 May 2020 14:42 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
On Friday, May 22, 2020 at 2:09:58 PM UTC-4, Philip Zembrod wrote:
> Just grab the entire v05/c64files directory: https://github.com/pzembrod/cc64/tree/master/v05/c64files
>
How do I do that without downloading one file at a time? Or do I *have* to grab one file at a time?
Re: cc64 compiler under development again [message #394814 is a reply to message #394813] Fri, 22 May 2020 15:46 Go to previous messageGo to next message
Philip Zembrod is currently offline  Philip Zembrod
Messages: 15
Registered: September 2012
Karma: 0
Junior Member
On Friday, May 22, 2020 at 8:42:10 PM UTC+2, Harry Potter wrote:
> On Friday, May 22, 2020 at 2:09:58 PM UTC-4, Philip Zembrod wrote:
>> Just grab the entire v05/c64files directory: https://github.com/pzembrod/cc64/tree/master/v05/c64files
>>
> How do I do that without downloading one file at a time? Or do I *have* to grab one file at a time?

Got it, sorry about that. I just added a make rule for a zip file.
Now you can just grab v05/c64files.zip
Re: cc64 compiler under development again [message #394856 is a reply to message #394814] Sat, 23 May 2020 11:20 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
On Friday, May 22, 2020 at 3:46:43 PM UTC-4, Philip Zembrod wrote:
> Got it, sorry about that. I just added a make rule for a zip file.
> Now you can just grab v05/c64files.zip

I downloaded the disk image.Thank you.. :)
Re: cc64 compiler under development again [message #395089 is a reply to message #394768] Thu, 28 May 2020 12:55 Go to previous message
Anonymous
Karma:
Originally posted by: xlar54

Nice to see continued development on this project. Will keep an eye on it
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Pacific Commodore Expo NW 2020 - postponed
Next Topic: MadLib16 available!
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Apr 16 06:47:33 EDT 2024

Total time taken to generate the page: 0.01398 seconds