Uploaded May 2022 | Updated November 2026, 1 week ago
Let's explore how the Commodore 64 SID (Sound Interface Device) oscillators behave, with special attention to the noise ("random") oscillator. We attempt to simulate the 23-bit Linear Feedback Shift Register with a BASIC program, and then fiddle with the SID's test bit to reset the oscillator and make it match the simulation. Robin From The Future also shows up to let you HEAR what these waveforms sound like on a real C64. The original cut of this video didn't have any SID audio!! Kinda weird experimental stuff!
To support 8-Bit Show And Tell:
Become a patron: patreon.com/8BitShowAndTell
One-time donation: paypal.me/8BitShowAndTell
2nd channel: youtube.com/channel/UCAgWzEh5c8391eJnELDy9OA
End credits music is "Confounded to Corruption" by Bedford Level Experiment. Here's an earlier mix of it with C64 visuals: youtu.be/U1VKwqUWYa8
Download the .d64 with the BASIC code:
8bitshowandtell.com/downloads/sidlfsr.d64
Waveform diagrams from Chapter 4 of Commodore 64 Programmer's Reference Guide:
archive.org/details/c64-programmer-ref/page/n213/mode/2up
Interesting reading on the noise waveform:
oxyron.de/html/registers_sid.html
https://csdb.dk/forums/?roomid=11&topicid=118693&showallposts=1
codebase64.org/doku.php?id=base:noise_waveform
sidmusic.org/sid/sidtech5.html
web.archive.org/web/20220703212619/http://www.dekadence64.org/sidwav.txt
web.archive.org/web/20150406004628/http://sid.kubarth.com/articles/interview_bob_yannes.html
Linear Feedback Shift Registers article on Wikipedia:
en.wikipedia.org/wiki/Linear_feedback_shift_register
Optimal taps to choose for different length LFSRs on Page 5. NOTE: the bit numbers in this document are 1-based while I've used 0-based bit numbers in this video. Subtract 1 from the numbers in the document for use in my BASIC program.
xilinx.com/support/documentation/application_notes/xapp052.pdf
Index:
0:00 SID Oscillator 3 Output Program
3:42 Triangle Waveform
5:45 Robin From The Future
8:38 Sawtooth Waveform
10:07 Pulse Waveform
13:48 Noise Waveform
16:31 Internal 24-bit Oscillators
18:48 BASIC SID LFSR Simulation output
21:40 BASIC code walkthrough (section 1)
24:30 Explaining the taps
28:38 BASIC code walkthrough (section 2)
31:50 SID Test Bit: Resetting the oscillator
35:35 Is this riveting or what?? Trial & error.
41:49 Future ideas: SuperCPU?
45:00 Thanks!
Let's explore how the Commodore 64 SID (Sound Interface Device) oscillators behave, with special attention to the noise ("random") oscillator. We attempt to simulate the 23-bit Linear Feedback Shift Register with a BASIC program, and then fiddle with the SID's test bit to reset the oscillator and make it match the simulation. Robin From The Future also shows up to let you HEAR what these waveforms sound like on a real C64. The original cut of this video didn't have any SID audio!! Kinda weird experimental stuff!
To support 8-Bit Show And Tell:
Become a patron: patreon.com/8BitShowAndTell
One-time donation: paypal.me/8BitShowAndTell
2nd channel: youtube.com/channel/UCAgWzEh5c8391eJnELDy9OA
End credits music is "Confounded to Corruption" by Bedford Level Experiment. Here's an earlier mix of it with C64 visuals: youtu.be/U1VKwqUWYa8
Download the .d64 with the BASIC code:
8bitshowandtell.com/downloads/sidlfsr.d64
Waveform diagrams from Chapter 4 of Commodore 64 Programmer's Reference Guide:
archive.org/details/c64-programmer-ref/page/n213/mode/2up
Interesting reading on the noise waveform:
oxyron.de/html/registers_sid.html
https://csdb.dk/forums/?roomid=11&topicid=118693&showallposts=1
codebase64.org/doku.php?id=base:noise_waveform
sidmusic.org/sid/sidtech5.html
web.archive.org/web/20220703212619/http://www.dekadence64.org/sidwav.txt
web.archive.org/web/20150406004628/http://sid.kubarth.com/articles/interview_bob_yannes.html
Linear Feedback Shift Registers article on Wikipedia:
en.wikipedia.org/wiki/Linear_feedback_shift_register
Optimal taps to choose for different length LFSRs on Page 5. NOTE: the bit numbers in this document are 1-based while I've used 0-based bit numbers in this video. Subtract 1 from the numbers in the document for use in my BASIC program.
xilinx.com/support/documentation/application_notes/xapp052.pdf
Index:
0:00 SID Oscillator 3 Output Program
3:42 Triangle Waveform
5:45 Robin From The Future
8:38 Sawtooth Waveform
10:07 Pulse Waveform
13:48 Noise Waveform
16:31 Internal 24-bit Oscillators
18:48 BASIC SID LFSR Simulation output
21:40 BASIC code walkthrough (section 1)
24:30 Explaining the taps
28:38 BASIC code walkthrough (section 2)
31:50 SID Test Bit: Resetting the oscillator
35:35 Is this riveting or what?? Trial & error.
41:49 Future ideas: SuperCPU?
45:00 Thanks!
![4-Byte Commodore 64 Demo and Follow-up on 10 PRINT Orthogonal [32 bytes]
A tiny 4-byte (6 bytes including the load address) Commodore 64 demo called NONMONOCHROME was released by Nom de Nom. We run it, and take a look at how it works. Then we take another look at 10 PRINT Orthogonal by Logiker, and figure out exactly why it doesnt work on my 64C but it does work on many breadbin models of C64.
To support 8-Bit Show And Tell:
Become a patron: https://patreon.com/8BitShowAndTell
One-time donation: https://paypal.me/8BitShowAndTell
2nd channel: https://youtube.com/channel/UCAgWzEh5c8391eJnELDy9OA
NONMONOCHROME: https://files.scene.org/view/parties/2021/lovebyte21/misc/8_byte_intro_showcase/nonmonochrome.zip
Nom de Nom: https://demozoo.org/sceners/43383/
10 PRINT (the book): https://10print.org/
Previous episode about 10 PRINT Orthogonal: https://youtu.be/oPtjcSsS2MI
Index:
0:00 Intro, Running NONMONOCHROME
2:59 How it works
7:32 Why 10 PRINT Orthogonal Hangs While Loading on my 64C
10:14 What the BASIC re-linker does
16:11 Why It works on my silver label breadbin C64
20:14 Thanks! 4-Byte Commodore 64 Demo and Follow-up on 10 PRINT Orthogonal [32 bytes]](https://i.ytimg.com/vi/aMaMzsL9vVQ/mqdefault.jpg)









