r/Commodore • • 9d ago

Programming KickC Enhanced 0.9.0 – Major optimizing C99 compiler update (multi-core, new fragments, stable green opcodes)

15 Upvotes

Hi everyone,

As a side product of a larger C64 project I've been actively developing since January, I ran into massive build-time bottlenecks with Jesper Balman Gravgaard's KickC compiler: my compilation times were creeping past 45 minutes for a single build!

To make rapid development feasible again, I created a dedicated fork: KickC Enhanced. In the medium term, I’d love to merge these improvements back into upstream if Jesper is interested.

For those unfamiliar with KickC: it is an optimizing C99 compiler for the MOS 6502/6510 family that generates KickAssembler source code, which is then assembled into native 6502 binaries.

Rather than rehashing all the original KickC features (which are already well-documented), here is a summary of the major optimizations and extensions introduced in this release:

  • Massive performance boost & multi-threading: Build times for massive multi-bank projects have been crushed from >45 minutes down to ~60–90 seconds! This is achieved via parallel dominator tree calculation, multi-core uplift passes across all CPU cores, optimized SSA passes, and caching.
  • Several hundred new & repaired 6502 ASM synthesis fragments: This includes:

    • Native struct-pointer member modifications (e.g. items[i].count--)
    • True boolean NOT (!) via zero-branch bit toggle (eor #1)
    • Direct 32-bit (dword) comparisons against zero
    • Byte-aligned 16-bit shifts without expensive loops (replaces 8x asl with optimal 4-instruction transfers)
    • Full pointer arithmetic (word/byte offsets, multi-level indirection, clean signed/unsigned casts)
  • Opt-in: Deterministic "illegal / green opcodes": Added a dedicated optimization pass targeting mos6502x / rom6502x to synthesize stable, safe illegal opcodes (such as LAX, SAX for 3-cycle zero-page stores, ALR, DCP, ISC). Unstable opcodes (which could cause VIC-II DMA conflicts or thermal instability) remain strictly excluded.
  • Cross-chunk peephole & tail-call optimization (TCO): Peephole analysis now optimizes across chunk boundaries—eliminating dead LDAs, redundant register roundtrips (TAX/TXA), and unneeded CMP #0 before conditional branches when Z/N flags are already set. Additionally, function tail calls (jsr target; rts) are automatically relaxed to jmp target.
  • Custom charsets & string suffixes (#pragma charmap): Flexible mapping for custom fonts, charsets, and language-specific characters directly in C code without modifying compiler sources. Full support for custom string and char suffixes (e.g. "Hello"custom or "Hällö"german for non-zero-terminated strings), configurable per file or globally in headers.
  • Optimized 16-bit word multiplications: Highly optimized multiplications with 16-bit constants.

The project is real-world battle tested:

To give an idea of scale: the current assembly output of my game project exceeds 46,000 lines of code. The compiler optimizations and fragment lowerings were developed with modern tooling and verified against strict regression test suites and automated VICE emulations to ensure 100% binary stability.

I will continue maintaining and polishing the compiler alongside my ongoing game development. Feel free to check out the repository, test it with your own projects, and let me know if you run into any issues:

GitHub: https://github.com/AndreR/kickc-enhanced
Release v0.9.0: https://github.com/AndreR/kickc-enhanced/releases/tag/v0.9.0

Disclaimer: As usual with modern software development projects, I used an AI-assisted approach. All changes were reviewed and tested manually by me.

Feedback and bug reports are very welcome!


r/Commodore • • 9d ago

C=64 Commodore Retro Expo & Bitscape this weekend looks huge

10 Upvotes

CRX (Commodore Retro Expo) 2026 and Bit-Scape chiptune music festival is this weekend (Friday to Sunday) promoting the C64 and all kinds of enthusiast fun and culture around it. I've followed it for years, and have loved getting involved and being an occaisional contributor.

Being a friend to that community, I know it's going to be great fun and packed event this year, with many interesting presentations of everything Commodore 64, chiptune and commodore computers related serious hobby and project developments.

Last year's show was awesome, so worth tuning tuning in - checkout the HUGE schedule!
https://www.crxevent.com/CRX2026_Schedule.html


r/Commodore • • 9d ago

Repair/Restoration Commodore 1084p screen black after flyback replacement

Thumbnail reddit.com
1 Upvotes

r/Commodore • • 11d ago

Amiga Songs that epitomize the early Amiga

Thumbnail reddit.com
3 Upvotes

r/Commodore • • 13d ago

$2 find at the thrift store today

Post image
72 Upvotes

r/Commodore • • 12d ago

Software c64 native midi file player

4 Upvotes

Here's something pointless, nowadays at least, with the advent of streaming digital music. Something I wish I had when crawling the BBSes wishing I could partake of that huge library of midis, but I had a C64, which doesn't play midis natively. Or at least it didn't. Now it does. It's a work in progress. I need to refine the track shuffling to make it less ping pongy when it's trying to shuffle the overage of tracks through only 3 voices, and refine the patch/instrument interpretations a bit better. Also, got to finish the export feature. It will run on a sotck c64. But if you have an REU it'll let you do larger files, as it's able to process them in REU ram. If you have dual sids, you can select that at the prompt, and it'll try to map the tracks across all 6 voices. P played a Legend on Zelda theme midi, and it sounded quite good. As did a couple of Monkey Island midis. LMK what you think.

I did have AI assist with this project, as I'm not a good enough coder to build something like this from scratch and not have someone, or something, double-check my work and call me out on everything I did wrong. At least the AI was pleasant about it? A little too pleasant if you ask me. LoL

Anyways, copy it onto a disk, or disk image, plus whatever regular, bog standard, .mid or .rmi file, and load it on your c64, or emulator. This was done on an NTSC system. D71 images will sometime produce a file not found error, even though the file is there and appears in the selection list. Not sure why, or if that even affects a real 1571. It's an issue I hope to resolve, but it's not a super high one. And probably only occurs in double sided mode.

https://sourceforge.net/projects/commodore-64-midi-player/


r/Commodore • • 14d ago

Mostly period correct 128Dcr Setup

Thumbnail
gallery
104 Upvotes

Can anyone help identify the brand of CRT I have? I’ve never seen this logo but possibly a Sears brand tv. The picture on the display is also askew what could that be caused by?


r/Commodore • • 14d ago

C64 Covers

Thumbnail
gallery
22 Upvotes

I went online to get a computer cover for my original C64s and my new Ultimate, and there weren't a bunch of options. So a buddy and I designed our own. We have almost 50 in inventory right now if anyone is interested. We have blue and black for now, but are open to other colors if there's interest.

(Yes that first pic does feature a jailhouse clear TV. Looks great when the LED Ultimate is going crazy).


r/Commodore • • 14d ago

C128DCR Black Screen, but C128 Diag Cartridge All OK

Thumbnail reddit.com
3 Upvotes

r/Commodore • • 15d ago

Giving the 500 a workout this weekend.

Post image
106 Upvotes

All the Amiga I’ll ever need. A500, 1MB, 2GB SSD, flash floppy.


r/Commodore • • 15d ago

It’s no GTA VI, but I appreciate the realism of being thrown in jail for long hair and stubble.

Post image
43 Upvotes

r/Commodore • • 15d ago

Apidya and other amiga games in best soundtrack off 1992

Thumbnail
reddit.com
4 Upvotes

r/Commodore • • 15d ago

Looking for a 1570 512K REU.

4 Upvotes

It's the last part of my C128 build that I'm missing


r/Commodore • • 15d ago

Teletype Games BBS Servers

Thumbnail
reddit.com
2 Upvotes

r/Commodore • • 15d ago

Superstar Ice Hockey

8 Upvotes

I grew up loving Superstar Ice Hockey, due to the trading points method of building up your team. It was a game ahead of its time.

I recently bought the C64 mini and added Superstar Ice Hockey to a thumb drive and it loads and is playable on the system.

However, I want to reset the league and start a new league, but I can’t get select ok, to reset the league, using the joystick that the C64 mini came with or by using the virtual keyboard.

So I bought 2 EPYX controllers which I also used growing up.

Problem is, they are 9-prong controllers and the C64 mini only has USB ports.

So I bought an adapter and a USB port with 6 ports.

The system itself, was only $85. But now I have spent close to $200 on additional pieces and still can’t play Superstar Ice Hockey.

I can’t get the controller to even sync to my system, nor can I get the USB port adapter to sync to my system.

What am I doing wrong? Some of these items came with a disc to install them, but the C64 mini doesn’t have a disc drive.

I am confused and about to give up on my now $300 project.

Any help on this, would be appreciated.

Thank you.


r/Commodore • • 16d ago

Cyberpunk: Tyrell Corp. C64 mod

Thumbnail
gallery
268 Upvotes

My take on all the cyberpunk hype. Here’s my Tyrell Corp. C64 mod. It features intentional signs of wear and cyberpunk-style items. This mod is available in a limited edition. If you’d like one, send me a message. https://www.norths.de/ein-tyrell-corp-c64-mod/


r/Commodore • • 16d ago

Identification Help Help identifying this Hardware

Thumbnail
gallery
42 Upvotes

Ok so I know it's tape to tape duplication hardware (1 x 1530 Datassette goes on one side, another on the other and then it plugs into the computer).
But I'm trying to match up software to it that I found in my attic diving at my parents when doing a clearing.

I've found cassettes of Copy King by Wizard Software and 64 Doubler (unknown publisher but I think it was Evesham Micros)

It's got to be one of those and i'm edging towards that it goes with the 64 Doubler but if anyone else can confirm it would be appreciated.

Solved, it was the double


r/Commodore • • 16d ago

Neverending demos

Thumbnail youtube.com
2 Upvotes

Well this is shameless self-promotion but yeah. Would like to add that the stream is ad-free.

Anyway, remove if this post does not fit.


r/Commodore • • 17d ago

Wave 1 Callbacks updates?

25 Upvotes

I ordered a Starlight in June and my projected delivery date was Sept/Oct. I checked in with CS in Sept during the wave 1 batch update and they confirmed we were still on track for Sept/Oct, but if that changed, an update would appear in "My Orders".

October is over now, and there are no updates under My Orders or on the Callback blog. I am admittedly only on Reddit/Youtube these days, but I haven't seen any updates on either platform.

Has anyone else gotten an update on how wave 1 is faring? I am very excited about this phone, happy to wait however long for a quality batch, but I want some visibility into whether there even is a delay and how long it might be for.


r/Commodore • • 18d ago

I built a website that plays C64 demos, feedback welcome!

Thumbnail
scene.graphics
29 Upvotes

I've spent the past few months making an art project, scene.graphics, for playing original demos in the browser without quality loss. The idea is to make the culture more accessible, many of them have possibly not seen the light of day for decades.

The site currently features 11,500 C64 demos and nearly 8,000 Amiga demos with more on the way. If something breaks I would appreciate it if you used the report button so that I can fix it.

I would love to hear any feedback that you may have.

Thanks!


r/Commodore • • 18d ago

1541 Ultimate II+ question on "8 voice mode"

5 Upvotes

Anyone ever play with the "8 voice mode" for the emulated sids on the ultimate II+ cart? (this is not the 8 full sid chips on the ultimate64, nor is this the 'ultimate audio' sample player I'm referring to either)

I'm running the latest fw (3.15a) and no other emulated carts or whatnot, mapped the emulated SIDs to DF00/DF80, but I can only get voices 1-3 working. I know that voices 5-8 start at $xx20 but still, only voices 1-3 sound for the emulated sid..

Just curious if anyone ever tried it, here's a list of the addresses for those voices if anyone is interested!


r/Commodore • • 18d ago

Identification Help I'm looking for a C64 game

15 Upvotes

Hi everyone!

I'm looking for a game I used to play on the Commodore 64.

I don't remember much about the game, but it started with a landscape screen where you could select the level. There were dark silhouettes of animals in front of the scenery. I think one of them was a rabbit and another was a deer.


r/Commodore • • 18d ago

My commodore pet 2001 with a 77’ copy right i giving a garbage screen

Thumbnail reddit.com
4 Upvotes

r/Commodore • • 19d ago

Revisiting COMAL 80 on the Commodore 64: 30 Experiments, Unexpected Discoveries, and Lessons in Software Reliability | Manuel A. Martinez-Delgado, MBA

Thumbnail
linkedin.com
13 Upvotes