• cc64 compiler under development again

    From Philip Zembrod@3:770/3 to All on Thursday, May 21, 2020 06:28:36
    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

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Harry Potter@3:770/3 to Philip Zembrod on Friday, May 22, 2020 09:31:14
    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?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Philip Zembrod@3:770/3 to All on Friday, May 22, 2020 11:09:56
    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.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Harry Potter@3:770/3 to Philip Zembrod on Friday, May 22, 2020 11:42:09
    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?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Philip Zembrod@3:770/3 to Harry Potter on Friday, May 22, 2020 12:46:41
    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

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Harry Potter@3:770/3 to Philip Zembrod on Saturday, May 23, 2020 08:20:13
    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.. :)

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Philip Zembrod@3:770/3 to All on Friday, May 22, 2020 01:03:19
    (e.g. forward references of functions is still broken - next bug on my list)

    Update: I got this one fixed yesterday.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From xlar54@3:770/3 to All on Thursday, May 28, 2020 09:55:51
    Nice to see continued development on this project. Will keep an eye on it

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)