Login
You're viewing the mstdn.social public feed.
  • Oct 29, 2025, 1:52 PM

    And we have a clock. Never mind the ringing, it'll be fine!

    Aside from the wonderful jank wiring job, this took me learning how to program the CH32V003. It was a bit of a struggle because I wanted to do it in minimal plain assembly. I had to glean a lot from disassembled C code from ch32fun (which is already a boiled-down environment for it). The official datasheet and reference manual, while not terrible, are lacking in parts and not always written in clear English. I also learned to write a linker script because I wasn't going to use any of that bloated C rubbish. As for the programming software (minichlink), I just opted for now to use a Linux host via ssh for writing to the chip.

    Code to follow. ;)

    #commodore #c64 #riscv #assembly

    C64 main board with a small breadboard wired into the VIC socket.
    Oscilloscope screen showing two ringy clock signals, one 8 times the frequency of the other.
    💬 0🔄 1⭐ 0