Supersized Calculator Brings The Whole Intel 4004 Gang Together

Though mobile devices and Apple Silicon have seen ARM-64 explode across the world, there’s still decent odds you’re reading this on a device with an x86 processor — the direct descendant of the world’s first civilian microprocessor, the Intel 4004. The 4004 wasn’t much good on its own, however, which is why [Klaus Scheffler] and [Lajos Kintli] have produced super-sized discrete chips of the 4001 ROM, 4002 RAM, and 4003 shift register to replicate a 1970s calculator at 10x the size and double the speed, all in time for the 4004’s 50th anniversary.

We featured this project a couple of years back, when it was just a lonely microprocessor. Adding the other MSC-4 series chips enabled the pair to faithfully reproduce the logic of a Busicom 141-PF calculator, the very first to market with Intel’s now-legendary microprocessor. Indeed, this calculator is the raison d’etre for the 4004: Busicom commissioned the whole Micro-Computer System 4-bit (MCS-4) set of chips specifically for this calculator. Only later, once they realized what they had made, did Intel buy the rights back from the Japanese calculator company, and the rest, as they say, is history.

Continue reading “Supersized Calculator Brings The Whole Intel 4004 Gang Together”

Scott holding the demo board which has a 7-segment display and keyboard attached

4-bit Single Board Computer Based On The Intel 4004 Microprocessor

[Scott Baker] is at it again and this time he has built a 4-bit single board computer based on the Intel 4004 microprocessor.

In the board design [Scott] covers the CPU (both the Intel 4004 and 4040 are supported), and its support chips: the 4201A clock-generator, its crystal, and the 4289 Standard Memory Interface. The 4289 irons out the 4-bit interface for use with 8-bit ROMs. Included is a ATF22V10 PLD for miscellaneous logic, a 74HCT138 for chip-select, and a bunch of inverters for TTL compatibility (the 4004 itself uses 15 V logic with +5 V Vss and -10 V Vdd).

[Scott] goes on to discuss the power supply, ROM and page mapper, the serial interface, the RC2014 bus interface, RAM, and the multimodule interface. Then comes the implementation, a very tidy custom PCB populated with a bunch of integrated circuits, some passive components, a handful of LEDs, and a few I/O ports. [Scott] credits Jim Loo’s Intel 4004 SBC project as the genesis of his own build.

If you’re interested in seeing this board put to work check out the video embedded below. If you’d like to know more about the 4004 be sure to check out Supersize Your Intel 4004 By Over 10 Times, The 4004 Upgrade You’ve Been Waiting For, and Calculating Pi On The 4004 CPU, Intel’s First Microprocessor.

Continue reading “4-bit Single Board Computer Based On The Intel 4004 Microprocessor”

The masks with which the Intel 4004 was fabricated

Supersize Your Intel 4004 By Over 10 Times

A PCB covered in discrete transistors with light shining through it
This is quite a bit bigger than the original 12mm² die.

The Intel 4004 was among the first microprocessors and one of the first to use the MOS silicon-gate technology. In the decades long race to build bigger CPUs, it’s been mostly forgotten. Forgotten that is, until [Klaus Scheffler] supersized it over ten-fold!

The project took about 2 years to complete and re-creates it faithfully – all 2,300 transistors included – enough to run software written for the Intel 4004. But the idea for this project isn’t unique and dates all the way back to 2000, so what gives? Turning a bunch of masks for silicon fabrication into a schematic is actually harder than it seems! [Tim McNerney] originally came up with the idea to make a giant 4004 for its “35th anniversary”. [Tim] managed to convince Intel to give him schematics and other drawings and would in return make an exhibit for Intel’s museum. With the schematic straight from [Federico Faggin], software analysis tools from [Lajos Kintli] and [Klaus Scheffler] to actually build the thing, they did what [Federico] did in one year without CAD, but in two with modern tools.

The full story by [Tim] is a lot longer and it’s definitely worth a read.

The 4004 Upgrade You’ve Been Waiting For

You know how it is. You have an older computer, and you can’t run the latest software on it. Time to upgrade, right? Well, if you have been in this situation a very long time, [ryomuk] may have an answer for you. The emu8080on4004 project (Google Translate) offers a way to run 8080 code on a 4004 CPU. Finally!

The 4004 development board is a homebrew affair, and the emulator works well enough that an 8080 Tiny BASIC interpreter ran with very few changes to the source code. You can see it working in the video below. It would be cool to run CP/M, but we imagine that would be a little harder, especially resource-wise.

A few things are missing. For example, the DAA instruction doesn’t exist, and there are no provisions for interrupts. There’s only one I/O port, and using the IN instruction will block until you receive a serial port character. There is an option to implement the parity flag in the 8080 flags register, but its operation is untested.

Still, pretty impressive for a 4-bit CPU running at 740 kHz with very little memory. If you want to see more about the development board itself, check out the second video below. Want to know more about the chip that launched a family of processors that is still around? Read its biography. You can also read about the designer who put his signature on the die.

Continue reading “The 4004 Upgrade You’ve Been Waiting For”

Calculating Pi On The 4004 CPU, Intel’s First Microprocessor

These days we are blessed with multicore 64-bit monster CPUs that can calculate an entire moon mission’s worth of instructions in the blink of an eye. Once upon a time, though, the state of the art was much less capable; Intel’s first microprocessor, the 4004, was built on a humble 4-bit architecture with limited instructions. [Mark] decided calculating pi on this platform would be a good challenge. 

It’s not the easiest thing to do; a 4-bit processor can’t easily store long numbers, and the 4004 doesn’t have any native floating point capability either. AND and XOR aren’t available, either, and there’s only 10,240 bits of RAM to play with. These limitations guided [Mark’s] choice of algorithm for calculating the only truly round number. Continue reading “Calculating Pi On The 4004 CPU, Intel’s First Microprocessor”

Celebrating The 4004’s 0x31st Anniversary

This weekend marked the 49th anniversary of the legendary Intel 4004 microprocessor, and to celebrate [Erturk Kocalar] combined the old and new in this intriguing Retroshield 4004 / Busicom 141-PF calculator project. We have reported on his Arduino shield project before, which lets you connect a variety of old microprocessors to an Arduino so you can experiment with these old chips with a minimum of fuss.

[Erturk] decided to use the Arduino to simulate the hardware of the Busicom 141-PF, a calculator famous for bringing us the microprocessor. In addition to the calculator, the Arduino has to simulate the Intel 4004 CPU’s supporting chips, which include ROM, RAM, and shift registers. If you want to build one of these yourself, all the design files are open source, or you can get an assembled shield from his Tindie store. In either case, you will have to provide your own 4004, which are surprisingly still available. (Tindie and Hackaday share the same parent company, Supplyframe. We’ve got nothing to do with Intel.)

We really appreciate the detailed explanation that [Erturk] provides about the inner workings of the calculator. Interfacing the emulator to the original ROM code running on the 4004 is non-trivial — take a look at the explanation of the spinning drum printer, for example. We enjoyed perusing the annotated ROM listing, as well as reading the story of the efforts which have been undertaken to prevent these historical documents from being lost forever. Be sure to check out the history of the 4004 and its inventor Federico Faggin if you’d like to delve deeper.

 

Federico Faggin: The Real Silicon Man

While doing research for our articles about inventing the integrated circuit, the calculator, and the microprocessor, one name kept popping which was new to me, Federico Faggin. Yet this was a name I should have known just as well as his famous contemporaries Kilby, Noyce, and Moore.

Faggin seems to have been at the heart of many of the early advances in microprocessors. He played a big part in the development of MOS processors during the transition from TTL to CMOS. He was co-creator of the first commercially available processor, the 4004, as well as the 8080. And he was a co-founder of Zilog, which brought out the much-loved Z80 CPU. From there he moved on to neural networking chips, image sensors, and is active today in the scientific study of consciousness. It’s time then that we had a closer look at a man who’s very core must surely be made of silicon.

Continue reading “Federico Faggin: The Real Silicon Man”