Found this artical while browsing this morning. Interesting stuff. I was always a Spectrum fanboy though...
Guest Post: The Real Story of Hacking Together the Commodore C128
December 9, 2013 by Bil Herd 121 Comments
Behind the C-128 from a 1985 Ad
The most popular computer ever sold to-date, the Commodore C-64, sold 27 Million units total back in the 1980’s. Little is left to show of those times, the 8-bit “retro” years when a young long-haired self-taught engineer could, through sheer chance and a fair amount of determination, sit down and design a computer from scratch using a mechanical pencil, a pile of data books, and a lot of paper.
My name is Bil Herd and I was that long-haired, self-educated kid who lived and dreamed electronics and, with the passion of youth, found himself designing the Commodore C-128, the last of the 8-bit computers which somehow was able to include many firsts for home computing. The team I worked with had an opportunity to slam out one last 8 bit computer, providing we accepted the fact that whatever we did had to be completed in 5 months… in time for the 1985 Consumer Electronics Show (CES) in Las Vegas.
We (Commodore) could do what no other computer company of the day could easily do; we made our own Integrated Circuits (ICs) and we owned the two powerhouse ICs of the day; the 6502 microprocessor and the VIC Video Display IC. This strength would result in a powerful computer but at a cost; the custom IC’s for the C-128 would not be ready for at least 3 of the 5 months, and in the case of one IC, it would actually be tricked into working in spite of itself.
Before the CES show, before production, before the custom IC’s became available, there was no choice but to Hack in order to make the deadlines. And by Hack I mean we had to create emulator boards out of LS-TTL chips that could act like the big 48 pin custom VLSI chips that Commodore/MOS was known for .
Commodore C-128, the last mass production 8 bit computer and first home computer with 40 and 80 column displays, dual processors, three operating systems, 128k memory via MMU and one heck of a door stop.
To add to the fun, a couple of weeks later the marketing department in a state of delusional denial put out a press release guaranteeing 100% compatibility with the C64. We debated asking them how they (the Marketing Department) were going to accomplish such a lofty goal but instead settled for getting down to work ourselves.
As the project progressed we realized that this most likely was going to be the final 8 bit system to come out of Commodore. We began shoving in as many features as could fit in a 5 month time frame. Before we were done we would have a dual processor, triple OS, dual monitor (40 and 80 column simultaneously) with the first home computer to break the 64k barrier. We started referring to the C128 as 9 pounds of poop in a 5 pound bag, we couldn’t quite get 10 pounds to fit. We also joked about turning out the lights on our way out the door as we knew that the 8-bit era was coming to a close.
The C128 would require two brand new 40 pin custom chips; a Memory Management Unit (MMU), a Master Programmable Logic Array (PLA), and the venerable but scary VICII video core chip needed to be re-tooled. We also had the chip guys bond up a very special 48 pin version of the 6502 microprocessor and we decided to use Commodore’s newest 80 column chip which by itself almost caused us to miss CES. (But that’s a different story)
The initial Commodore C128 with three months to go until CES. Five custom chips have yet to be completed, in the mean time “chip emulators” kept it running enough that the system software could be written.
So here is where the need for some serious hacking comes in; we needed to start writing software (a whole new Rom Kernel and Monitor and a brand new version of Basic featuring structured commands), we needed to start the process of making PCB’s and we needed to start debugging the hardware and understanding the implications of trying to use 128k of DRAM (yes “k”, not m,g or t) which was a first, as well as the first MMU in a home computer. Along the way it turned into a dual processor system 6502/Z80, and simultaneous 40 column TV display and 80 column monitor. Home monitors didn’t really exist yet, we were kind of counting on having that done in time also, along with a new hard drive.
Bottom of the prototype C128; Three months until CES and it takes lots of jumpers and chips stuck to the bottom to make it work.
What we ended up doing was designing the first PCB to take either finished 40 pin dip chips or 40 pin emulator cables leading to emulator boards built of 74LS chips that when combined with some rather cranky PLA’s (The FPGA of the day) and delay lines and whatever else we could find, acted close enough to a custom chip that the programmers could continue working.
The VIC Video Chip for the C128 could initially be emulated starting with a C64 VIC Chip and logic and delay lines.
Our construction technique was to add to the PCB as much as we knew we needed for sure and then add jumpers to that as needed. The mainstay though in the 80’s was good old-fashioned wire-wrap, and so we proceeded to lay out a sacrificial main PCB and wire-wrap sub-assemblies to act like the custom chips that would hopefully arrive in a couple of months. (Looking at the bottom of the main PCB its hard to believe that in about 3 months we would start a production run of several million.)
Example of wire-wrap construction, power is gridded on the bottom, ground on top. A good tech could do this in about 4-6 hours.
C128 PLA emulator. The new PLA was going to be really powerful, to emulate we had to make a lot of concessions to fit in the available sizes. (But that size limit was about to change)
This was just the beginning, ahead lay some fairly insane kludges that all had two things in common; We had to get any hack or fix done overnight while the managers were home sleeping and the end result had to work in million piece quantity.
During the final push to CES we ate our holiday dinners out of aluminum foil in the hardware lab using the heat of disk drives to keep the food warm, and the bathroom sinks doubled as showers. My shoes became unwearable due to extended use and were discarded, only to have a mouse take up residence in the toe. (The first Commodore Mouse)
We assembled units in the booth the night before the show, Commodore Business Machines (CBM) employees were tasked with hand carrying the 80 column chip which had almost been a show stopper. The programmer that had ported CPM was able to fix the last of 80 column bugs by editing raw data on the floppy.
Commodore C128 Boot Screen on 40 Column
As far as the product performance at the show we nailed it. Nothing failed, there were no “blue screen” moments, and the press was kind to us. Upon returning to work we struggled with how to ramp down after having been in the crucible for so many months. Showers were taken and eventually the slack-jawed expressions gave way to normal-jawed expression.
We figured we had done the last big 8-bit computer, we knew one era was ending but we were also excited about the advent of the 16-bit Amiga even amid rumors of big layoffs in engineering. Without the drive of the founder, Jack Tramiel, CBM seemed to wander aimlessly canceling the next computer, the LCD Computer system amongst little to no marketing of main products. The feeling for me was as the days of Camelot had come to an end. The team slowly broke up without a new challenge to bind us together, I ended up working at a Trauma Center in New Jersey in my spare time as I had become somewhat addicted to adrenaline.
The Easter Egg in the Commodore C128
Bil Herd went on to develop high speed machine vision systems and designed the ultrasonic backup alarm commonly seen on new vehicles. For the last 20+ years Bil has been an entrepreneur and founded several small businesses. Bil keeps in touch with collectors and other fans of the old Commodore computers through his website c128.com and will soon be opening his new site, herdware.com which will feature open source and educational electronics kits.
The C128 Engineering Team as seen in the Easter Egg image:
Bil Herd: Designer & Hardware Lead
Dave Haynie: Intricate timing, PLA Emulator and DRAM
Frank Palaia: Z80 Integration and Ram Expansion
Fred Bowen: Programmer and Software Lead- Kernal & Monitor
Terry Ryan: Programmer- Basic V7 including structured language additions.
Von Ertwine: Programmer- CPM
The Commodore C128 was produced in 1985 and sold 5+Million units generating about about $1.5 Billion in revenue. The C128D with built-in disk drive was supposed to be released at the same time as the standalone unit but the C128D did not make it into production for a couple of years.
Source
DJ OD
Social Networking Bookmarks