Category Archives: 68k

68k homebrew computer – parts list

For building my own version of an 68000 based computer (actually, it’s the 68008, i.e. 8bit version) I recently, ordered all parts that are described in the 68k blog, here is a list together with the prices that I paid at Digi-Key. The package to about 10 days from the US.

Here’s a video walk through, followed by the list and data sheets of the chips:

all other chips for the 68k computer

all other chips for the 68k computer

Here’s the list of glue chips, together with their function and respective datasheets as links:

SN74LS244N: OCTAL BUFFERS AND LINE DRIVERS WITH 3-STATE OUTPUTS

SN74LS32N: quadruple OR gate

SN74LS08N: quadruple AND gate

SN74LS377N: flip-flops

SN74LS139: demultiplexer for deciding whether to access flash, RAM or serial.

SN74LS00N: NAND gates

More complex chips:

AS6C4008: 4MBIT RAM

SST39SF040: 4MBIT Flash ROM

ATF22V10C: GAL chip (programmable logic)

The USB host chip referred in the video is here, there is also shields for Arduino.

After posting this on Reddit, there was a great discussion on how to reduce the chip count. Some suggested that I could reduce the complexity by using the address lines in a clever way, i.e. using one pin to enable RAM access, one to enable flash access and one for the serial connector. I’d LOVE to try that out. Should I dare?

 

back to my computational teenage: building a 68000 homebrew computer

68000 chip (courtesy of CBM Museum)

after my first commodore c64, i was so much in love with the amiga and it took quite some time until i had my first amiga 500 in my hands. i still remember the smell of the package and the computer. the first boot up of the workbench, the mouse et cetera. a wonderful feeling. it was the computer i learned to program c on, after i had upgraded my basic from the c64 to amiga basic. i was fascinated by this computer, its graphics capabilities and the unbelievable amount of 512kb ram. after working with “atzec c“, upgrading to 1mb ram and having a ram disk to not always change the floppy disk all the time. i had the feeling that i needed to learn assembler.

at that time i was writing 3d routines, i wanted to design my own flight simulator. and assembler was a wonderful way of learning the aesthetics of minimality. having a table of clock cycles per command next to your computer and refining algorithms to run ever faster was a great joy.

later in my life i came across minix, the microkernel architecture of a unix derivate and “the father” or at least inspiration for linux. again, i loved the simplicity of everything. the beauty of “processes vs data, input vs output” and the beauty of microkernels. i never actually did anything with minix, but now that i own the whole family of raspberry pis i’m truly tempted to give it a go.

so, here we are: the combination of the two would be a great thing: bring 68000 back into my life and have minix running on it. fortunately, people have ported minix to the 68000, so i hope that this adventure will not leave me dead in the desert (since the ports are usually for macs or atari st).

searching the web for crazy people who’ve built a 68000 homebrew computer, i immediately was inspired by 64 Katy, since this seems a simplified computer enough for me. this guy managed it to build one on a BREADBOARD! later on, he built a new version using an fpga (if i understand correctly, a cpld is an fpga) for the glue logic and an etched board. this is too far away for me, but i’d love to build one using perfboards and ic sockets.

possibly, i could then increase its clock rate from the breadboard 2mhz to maybe four or six.

i love katy’s architecture because it does a minimalistic approach, reduces all parts needed and i hope to understand how these parts work all together. especially i’m interested to learn what you need beyond cpu, ram and rom to get a system going (there’s obviously all these 74er series going on that do the glue magic). moreover, i’m happy that the guy was not over-engineering the “surroundings” like graphics, sound, keyboard etc (there’s another guy who did that) but really relies on the serial connection for input and output.

so, the initial step would really be to build the 68008 version with 512k ram and 512k flash and get the monitor programm running.

i already enjoy flipping through these two books:

20161020_192224

the 68k book also describes a single board computer, but that is also based on the 68000 chip which has the 16bit bus and thus would be a huge effort to build compared to the 68008 that is 8 bit.

people in the internet also refer to this book that obviously also describes another design.

interestingly, cpu, ram and flash cost about 12 euro altogether which is way less than the books :-D.