https://djhworld.github.io/post/2019/05/21/i-dont-know-how-cpus-work-so-i-simulated-one-in-code/
A few months ago it dawned on me that I didn’t really understand how computers work under the hood. I still don’t understand how modern computers work.
However, after making my way through But How Do It Know? by J. Clark Scott, a book which describes the bits of a simple 8-bit computer from the NAND gates, through to the registers, RAM, bits of the CPU, ALU and I/O, I got a hankering to implement it in code.
While I’m not that interested in the physics of the circuitry, the book just about skims the surface of those waters and gives a neat overview of the wiring and how bits move around the system without the requisite electrical engineering knowledge. For me though I can’t get comfortable with book descriptions, I have to see things in action and learn from my inevitable mistakes, which led me to chart a course on the rough seas of writing a circuit in code and getting a bit weepy about it.
The fruits of my voyage can be seen in simple-computer; a simple computer that’s simple and computes things.
Artikel lain terkait:
Cara kerja komputer
* Petzold, Code: The Hidden Language of Computer Hardware and Software
* http://www.charlespetzold.com/code/
* https://djhworld.github.io/post/2019/05/21/i-dont-know-how-cpus-work-so-i-simulated-one-in-code/
* https://github.com/djhworld/simple-computer
* But How Do It Know? by J. Clark Scott
* https://www.nand2tetris.org/
* https://www.coursera.org/learn/build-a-computer
* http://nandgame.com/
A few months ago it dawned on me that I didn’t really understand how computers work under the hood. I still don’t understand how modern computers work.
However, after making my way through But How Do It Know? by J. Clark Scott, a book which describes the bits of a simple 8-bit computer from the NAND gates, through to the registers, RAM, bits of the CPU, ALU and I/O, I got a hankering to implement it in code.
While I’m not that interested in the physics of the circuitry, the book just about skims the surface of those waters and gives a neat overview of the wiring and how bits move around the system without the requisite electrical engineering knowledge. For me though I can’t get comfortable with book descriptions, I have to see things in action and learn from my inevitable mistakes, which led me to chart a course on the rough seas of writing a circuit in code and getting a bit weepy about it.
The fruits of my voyage can be seen in simple-computer; a simple computer that’s simple and computes things.
Artikel lain terkait:
Cara kerja komputer
* Petzold, Code: The Hidden Language of Computer Hardware and Software
* http://www.charlespetzold.com/code/
* https://djhworld.github.io/post/2019/05/21/i-dont-know-how-cpus-work-so-i-simulated-one-in-code/
* https://github.com/djhworld/simple-computer
* But How Do It Know? by J. Clark Scott
* https://www.nand2tetris.org/
* https://www.coursera.org/learn/build-a-computer
* http://nandgame.com/
Comments
Post a Comment