Google-Apps
Hauptmenü

Post a Comment On: Ken Shirriff's blog

"Reverse-engineering a tiny 1980s chip that plays Christmas tunes"

10 Comments -

1 – 10 of 10
Anonymous Anonymous said...

You had me at 'boiling sulphuric acid'.

December 25, 2021 at 2:32 PM

Anonymous Ducksworth said...

That device is an absolutely beautiful piece of vintage tech.

December 25, 2021 at 3:16 PM

Blogger Dogzilla said...

My first thought was a counter generating an address to a ROM, with the data going to a DAC. Oh, I’m guessing that chip might be 10X the size, don’t want to think about the cost. I’m sure that the designers knew a lot more about music than I do, designing the chip at a very high music level.

December 25, 2021 at 3:29 PM

Blogger Jan Moren said...

The second video encapsulates the spirit of Christmas 2021 perfectly.

December 25, 2021 at 4:44 PM

Anonymous Mark Jeronimus said...

Hi Ken,

There are some double phrases in the note frequency example paragraph.

I'm surprised it uses an LFSR but at the same time had a bot of an a-ha moment. They could have used the LFSR too for the program counter, if 15 lines of music was enough. What's your theory about why this isn't used more often in other (computer) chips with linearly stepped ROMs (that don't need random-access)?

December 26, 2021 at 2:09 AM

Blogger Ken Shirriff said...

Mark: I've seen very early microcontrollers that use an LFSR for the program counter (and shuffle the ROM accordingly). My theory is that this was abandoned mostly because it makes design and debugging much harder, since the ROM is out of order. Also, an LFSR can't access location 0, so you lose one location. As transistors became cheaper, it wasn't worth the optimization of using an LFSR.

December 26, 2021 at 9:11 AM

Blogger Toivo Henningsson said...

26 transistors for a shift register stage seems quite a lot, especially compared to the over all slimmed design. I feel that I've seen much more compact shift registers in some of your other posts, but I guess that those weren't fully static designs. On the other hand, shift registers still seem to take up a pretty modest part of the area (I think?), so maybe it doesn't matter so much.

Interesting to hear about the consistent use of LFSRs for clock division!

December 27, 2021 at 11:44 AM

Blogger alchemyx said...

I remember those. I got Fur Elise for my 8th birthday and it was one of my greatest treasures. I remember it going off key whenever battery was not connected correctly (although not dying, I don't remember replacing battery like ever).

December 28, 2021 at 2:23 PM

Blogger Unknown said...

I am thinking how many transistors are actually saved by using scale ROM. Well the saving is 3 x 64 = 192 transistors in melody ROM. On the other hand scale ROM itself has 16 x 7 = 112 transistors. But if I add only 16 4-input NAND or NOR in decode logic, 8 transistors for each, I have to add additional 128 transistors. Now I already have 192 saved transistors vs 240 additional and I ignore rest of the additional logic needed. Not mentioning less regular design and lower transistor density. It seems there was no saving at all.

January 1, 2022 at 6:32 PM

Anonymous Anonymous said...

I think it's 24 transistors in the shift register stage-? I'm very new to electronics, but studying the two schematics, I think it's clever how in the first loop, two transistors logically combine inversion of the output with a transmission gate enabled by the clock, saving two transistors. Love the blog, thanks for all the fascinating posts!

January 5, 2022 at 5:58 PM

You can use some HTML tags, such as <b>, <i>, <a>

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.
Please prove you're not a robot