english:
https://www.youtube.com/watch?v=MTznsdTiePY
german:
https://www.youtube.com/watch?v=8uqZK8DKOJU
amazing SID replica. At the time of this video, the chip costs 8.90EUR only (link under the video), runs with original C64 as well as the new Commodore 64 Ultimate.
Mindsurfer
Summary of the Youtube Video:
-----------------------------
The Project: The video introduces the Public Domain SID (PDSID), a sound chip replica that aims to be a high-fidelity replacement for the original Commodore 64 chip [00:12].
The Roots (2020): It started with the "Free Stereo SID," which used a simple waveform pointer method. While it sounded okay, it wasn't precise enough to replicate the real SID's phase counter principle [00:31].
USID 64: Later, the USID 64 began generating sound using a 24-bit register, but some incompatibilities remained [01:02].
Modern Resurgence: In 2022, a Raspberry Pi Pico-based version was planned but delayed until 2025. The project was revived primarily for the U26000 plus8 fantasy console, which features original 1977-era chips like the TIA and 6502 [01:34].
How the SID Chip Works
The Phase Counter: The heart of the chip is a 24-bit phase counter. It adds a 16-bit frequency value at every clock cycle. The higher the number, the faster it counts, creating a higher pitch [02:48].
Waveform Generation: The upper 12 bits of this counter generate the actual oscillations. For triangle waves, the "Most Significant Bit" (MSB) determines if the wave rises or falls [03:21].
The Envelope Bug: The SID generates an envelope (Attack, Decay, Sustain, Release) to control volume. The video mentions the famous "envelope bug" where the counter doesn't always start at zero, requiring a "hard restart" in software [04:16].
The Filter: The PDSID uses a State Variable Filter. While many replicas use fixed-point math to save CPU, this project uses floating-point calculations for higher precision, except for "digi samples," which sound cleaner using fixed-point [05:03].
Development Challenges
The RP2350 Microprocessor: Using the successor to the RP2040 presented hurdles due to initial hardware bugs in the first version of the chip [06:20].
PIO Programming: To ensure cycle-accurate timing for the data bus and paddle controls, the developer wrote custom PIO (Programmable I/O) assembler programs [06:51].
The Comparison Board: To fine-tune the sound, the developer used a special board that allows switching between an original SID and the replica in real-time. This was essential for testing games like Wizard of War and Alien [07:28].
Final Results
Accuracy: The developer shares that during final tests, the replica was so accurate that they sometimes forgot which chip was currently playing [09:59].
Public Domain Status: The video concludes by highlighting that this is the first ever Public Domain SID, intended for the community to enjoy and use freely [10:16].
--- SBBSecho 3.35-Linux
* Origin: FuNToPiA BBS |
telnet://funtopia.synchro.net:3023 (64:500/50)