News for hackers. Stuff that matters.
Re:I don't know how CPUs work so I simulated one in code by henrikschroder on Monday August 05, 2024 @09:36PM (#41167144)
One of the most enlightening courses I took in university back in the day was digital electronics. Not because I ever wanted to muck about with it, but because we actually got to build our own super-simple physical 8-bit CPU. We had registers and an ALU and RAM and eight output leds, and we got to write the microcode for the fetch-execute cycle. Clock? There was a physical switch you would toggle on and off to make it step through the cycles to slowly execute the program we wrote in our own machine code. Realizing that instructions are just a bit-pattern saying which unit should write to the bus and which unit should read from the bus was quite eye-opening.
Re:I don't know how CPUs work so I simulated one in code by SoftTalker on Tuesday August 06, 2024 @01:17AM (#41167980)
Old minicomputers had toggle switches on the front panel where you could set the program counter, enter machine code instructions, and other things, as well as step the clock.

https://thumbs.worthpoint.com/zoom/images2/1/0619/05/vintage...

Re:I don't know how CPUs work so I simulated one in code by stonethrowaway on Tuesday August 06, 2024 @11:16AM (#41171705)
Image no longer works. Reupload?
Re:I don't know how CPUs work so I simulated one in code by SoftTalker on Tuesday August 06, 2024 @03:45PM (#41174523)
It's not my site. It's the front panel of a Texas Instruments model 980. It's from this page.

https://www.worthpoint.com/worthopedia/vintage-ti-980-ttl-ba...