by Snitch-Thursday · 6y ago · 0 comments
What (wiki?)books can I purchase that would help me bridge my mental understanding of computer circuitry from 'this is a circuit with a resistor and a power source and a lightbulb, while this is a CPU that has wires to memory and magic happens to make em talk' to 'I know the difference between TTL logic and a microprocessor and can fuzzily trace where the electrical signals go'?
I don't own but am aware of things called logic analyzers, 'progammers', and the difference between a microcontroler and a microprocessor (ish, the former is vaguely a system on a chip?), but I'm not sure where to start to fill in the many gaps in the bits of knowledge I have so far.
Wikipedia feeds me articles about logic gates, programmable logic, and Algorithmic Logical Units used in things like the Xerox Alto, but I don't know if this means I should try for electrical engineering courses or something simpler?
[1] https://www.youtube.com/watch?v=HyznrdDSSGM&list=PLowKtXNTBy...
What a helpful online community.
It's what made things click for me.
[EDIT: I also second Klelatti's suggestion... Ben Eater's youtube channel is ALL gold. He's an amazing teacher. I also purchased his clock module, and the 6502 kit - they are awesome!]
I think the missing link you're looking for is the flip-flop [0]. It's a clever arrangement of logic gates (just AND, OR, NOT, etc) that can store a bit. The concept of a clock signal is very closely related. Then you learn about multiplexers and you realize that if you put a bunch of flip-flops that can store a bit behind a multiplexer [1], suddenly you have something that looks like very primitive RAM with a data and address bus!
At the time it blew my mind that you can (conceptually, at least) take a bunch of logic gates, arrange them in clever ways, and arrive pretty quickly at much "higher level" concepts like memory on an address bus.
[0] https://en.wikipedia.org/wiki/Flip-flop_(electronics)#D_flip...
[1] https://en.wikipedia.org/wiki/Multiplexer#Digital_multiplexe...
The general progression is:
1. Circuit Theory (how fundamental components work)
2. Semiconductors(diodes, transistors, op-amps [skip those for now])
3. Digital Electronics (basic logic gates and boolean algebra)
Once you finish learning about digital electronics you should have the fundamental knowledge to understand how a basic processor might operate. A reasonably good place to start might be here.https://www.allaboutcircuits.com/textbook/
Read Volume 1, Volume 3 (skip chapters 7-13), and Volume 4. That should get you up to speed reasonably quickly.
Code by Charles Petzold, The Elements of Computing (Nand2Tetris course book), No Starch Press's Secret Life of Programs, Learning Computer Architecture with Raspberry Pi