BBC sampled sound discs: smooth streaming, 50Hz oscilloscope

new graphics/music demos - bitshifters, 0xc0de, The Master + others
Post Reply
User avatar
scarybeasts
Posts: 1052
Joined: Tue Feb 06, 2018 7:44 am
Contact:

BBC sampled sound discs: smooth streaming, 50Hz oscilloscope

Post by scarybeasts »

Hi,

I've made a couple of BBC sampled sound discs. Emulate online:

https://bbc.godbolt.org/?disc=https://r ... k&autoboot

https://bbc.godbolt.org/?disc=https://r ... k&autoboot

These are a bit like the ones you got back in the day except they start immediately and continuously stream from the disc asynchronously without gaps. There is also a 50Hz oscilloscope view squeezed into the spare cycles.
sampstream.png
There are a few internet resources and threads regarding how the SN76489 is coaxed into making sampled sound. But I found some of them a bit hand-wavey so I wrote a blog on how it works: https://scarybeastsecurity.blogspot.com ... 76489.html

This came out of an investigation into an asynchronous disc loading library that can autodetect 8271 vs. 1770 and drive them directly. It's called quicdisc and hosted here: https://github.com/scarybeasts/misc


Cheers
Chris
User avatar
tricky
Posts: 7697
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: BBC sampled sound discs: smooth streaming, 50Hz oscilloscope

Post by tricky »

Nice one Chris and great little article.
I didn't realise that that encoder offset the samples.
User avatar
Diminished
Posts: 1235
Joined: Fri Dec 08, 2017 9:47 pm
Contact:

Re: BBC sampled sound discs: smooth streaming, 50Hz oscilloscope

Post by Diminished »

Very cool!

Great stuff as always. Impressive that you can get entire songs on a disc.

It's interesting that it wouldn't work at all if the chip implemented its attenuation symmetrically!
Post Reply

Return to “new projects and releases: demoscene”