Documente Academic
Documente Profesional
Documente Cultură
In James Newmans living room is a monument to our kind of crazy. Seven 2-meter-tall panels are
covered with circuit boards festooned with blinking lights. It is a complete working CPU, plus 256 bytes of
RAM and an input/output interface, all built out of 42,300 hand-soldered discrete transistors.
It took Newman some four years and roughly 40,000 sterling (about US $52,500) to build and design the socalled Megaprocessor (http://www.megaprocessor.com/) in his home in Cambridge, England. In some
absinthe-tinged sense, the project is the logical end point of his software writing career. Newman explains
that, over the years, he found himself doing increasingly low-level programming, and so became more and
more interested in the underlying hardware. He says he began working on the Megaprocessor because he
wanted to build a processor to see how a real one worked.
The end result is a surprisingly full-featured machine. Its 16-bit, with 8-bit opcodes, and basic pipelining
implemented, including ones for relatively advanced math functions. There are four general-purpose registers
in addition to a program counter, stack pointer, and status register. I could have built a minimal processor,
but I dont know what that would have showed, says Newman. He admits though that he did get carried
away a little bit. I quite liked investigating how to do multiply, divide, and square root.
Photo:JamesNewman
(/image/MjgxMDkzMQ.jpeg)
Subsections of the processorsuch as binary addersare built from custom-made printed circuit boards.
Each logic gate indicates the state of its inputs and outputs with red LEDs, and every memory cell similarly
uses an LED to indicate its contents (driving the LEDs is actually responsible for most of the approximately
500 watts the Megaprocessor consumes). The boards are wired together on frames, with each frame making
up a major system, such as the arithmetic logic unit or the instruction decoder. The CPU clock can be halted at
any point or varied between about 1 hertz and 8 kilohertz (fast enough to play Tetris), and an optional 32
kilobytes of external memory (implemented using boring old integrated circuits) is accessible via the
input/output interface.
right ones, and the packing list said they were the ones I
wanted, and they looked like the ones I wanted. So I
(http://www.megaprocessor.com/programming.html)
for the Windows operating system from
http://www.megaprocessor.com
(http://www.megaprocessor.com).
Photos:JamesNewman
Eachframeholdsamajorsubsystem[top]suchasthe
arithmeticlogicunitortheinstructiondecoder.Subsystemsare
builtfromcustom-printedcircuitboardswiredtogether.
TransistorsandLEDsaresolderedintoeachboardsothatthe
inputsandoutputsofeachlogicgateareindicated[bottom].