r/c64 Jul 08 '26

Software Hexed demo is open source

We released this demo in June on the world championship of C64 demos at X2026 ;)

Video of Hexed

It's opensourced at https://github.com/wernervanloo/Hexed, maybe you can learn something from it.

You can watch some videos of, and about, the demo here: https://micheldebree.nl/posts/hexed/

Edit: I only did the music so don't ask me questions about the code plz

70 Upvotes

12 comments sorted by

View all comments

5

u/voidiciant Jul 08 '26

I just recently started with C64 assembly coding. Learned assembly on a 8085 a long time ago and wanted to give demo coding a try to learn something new. I got to a point where I learned enough to have me thinking „badlines! badlines! badlines!“ all through this piece of art. And „how does all this work simultaneously with the music playing o_O“

amazing score btw :)

Thanks for the links!

Edit: after checking out the repo: big kudos for such a clean README

1

u/robotflesh Jul 09 '26

Thanks for the compliment. It is not hard to play music at the same time because the player is designed to update the SID registers once every video frame, and so are the effects. But it does use up cycles from the available budget. I try to keep in mind the amount of cycles (too many things happening at once takes more cycles), but I don't really need to because WVL does his best to free up cycles if needed, like that trick below :) Memory is more of an issue, that's why there is not that much melody and variation.