Author Topic: How do I make a 8 bit computer?  (Read 4068 times)

0 Members and 1 Guest are viewing this topic.

Offline wintechTopic starter

  • Contributor
  • Posts: 20
  • Country: ro
How do I make a 8 bit computer?
« on: August 08, 2019, 10:12:17 am »
Hello, I know this is a very stupid question but how do I make a 8 bit computer?What do you recommend for a beginner in 8 bit computers?
 

Offline wilfred

  • Super Contributor
  • ***
  • Posts: 1252
  • Country: au
Re: How do I make a 8 bit computer?
« Reply #1 on: August 08, 2019, 10:28:44 am »
I would start here http://searle.hostei.com/grant/z80/SimpleZ80.html

Usually someone wanting to do this is feeling nostalgic and already knows the microprocessor chip they intend to use. I was Z80. Some go with 6502 or 6809. The only advice I would give to someone who hasn't decided is to ignore anyone who starts to try convincing you one is better than another. 

The Z80 has the CP/M OS and that has quite a bit of software available. I'm less familiar with others. For a long time I was tempted by the 6809 and OS-9.

The first step is to pick the CPU. To do that i'd recommend finding the software that appeals.
 
The following users thanked this post: wintech

Offline alanb

  • Frequent Contributor
  • **
  • Posts: 344
  • Country: gb
Re: How do I make a 8 bit computer?
« Reply #2 on: August 08, 2019, 12:27:09 pm »
It depends on whether you want to use a microprocessor or build it using 74 series logic gates. If you take the logic gates route it's worth watching the U Tube  videos by Ben Eater on this topic.
 
The following users thanked this post: wintech

Offline woofy

  • Frequent Contributor
  • **
  • Posts: 328
  • Country: gb
    • Woofys Place
Re: How do I make a 8 bit computer?
« Reply #3 on: August 08, 2019, 12:56:29 pm »
Ben Eater's videos are the best I've seen for a make it yourself 8-bit computer.
https://www.youtube.com/channel/UCS0N5baNlQWJCUrhCEo8WlA

 
The following users thanked this post: wintech

Offline GK

  • Super Contributor
  • ***
  • Posts: 2607
  • Country: au
Re: How do I make a 8 bit computer?
« Reply #4 on: August 08, 2019, 01:04:39 pm »
Just buy some breadboard and a big reel of solid-core wire.

Bzzzzt. No longer care, over this forum shit.........ZZzzzzzzzzzzzzzzz
 
The following users thanked this post: wintech

Offline Nusa

  • Super Contributor
  • ***
  • Posts: 2416
  • Country: us
Re: How do I make a 8 bit computer?
« Reply #5 on: August 08, 2019, 01:30:09 pm »
If you want theory and design, I recommend the following book, which is now available digitally for free:
https://www.academia.edu/36492595/Prosser_The_Art_of_Digital_Design_2ed

Plus it includes a tested (in lab courses) non-commercial design for building a PDP-8 using TTL. That's a 12-bit computer, not an 8-bit one. It was a commercial success in its day (1965 to maybe 1980) and likely predates whatever 8-bit computers you were thinking of.

But it all depends on what you are looking to learn.
« Last Edit: August 08, 2019, 01:31:47 pm by Nusa »
 
The following users thanked this post: wintech

Offline woodchips

  • Frequent Contributor
  • **
  • Posts: 593
  • Country: gb
Re: How do I make a 8 bit computer?
« Reply #6 on: August 11, 2019, 10:03:03 am »
Or try Build a Microcomputer or Bit Slice Microcomputer Design by Mick and Brick of AMD.

How to make a computer using the 2900 series parts, but much of it will carry over to using the 74181 and similar.
 
The following users thanked this post: wintech

Offline shawty

  • Regular Contributor
  • *
  • Posts: 90
  • Country: gb
Re: How do I make a 8 bit computer?
« Reply #7 on: August 22, 2019, 07:50:25 pm »
It depends on whether you want to use a microprocessor or build it using 74 series logic gates. If you take the logic gates route it's worth watching the U Tube  videos by Ben Eater on this topic.

I second "Ben Eaters" channel, he really is rather excellent in his content.  His last 2 videos he built his own VGA card using nothing more than Cmos counter chips and an eeprom!!!
Meh....
 


Offline hamster_nz

  • Super Contributor
  • ***
  • Posts: 2803
  • Country: nz
Re: How do I make a 8 bit computer?
« Reply #9 on: August 23, 2019, 02:01:40 am »
If you want to build a computer, not build an 8-nit CPU, then a RC2014 is worth looking at.

https://rc2014.co.uk/
Gaze not into the abyss, lest you become recognized as an abyss domain expert, and they expect you keep gazing into the damn thing.
 
The following users thanked this post: I wanted a rude username, wintech

Online Psi

  • Super Contributor
  • ***
  • Posts: 9925
  • Country: nz
Re: How do I make a 8 bit computer?
« Reply #10 on: August 23, 2019, 02:06:12 am »
Hello, I know this is a very stupid question but how do I make a 8 bit computer?What do you recommend for a beginner in 8 bit computers?

To start learning and understand the concept, think about having the following
-A fixed 8 bit number
-Another fixed 8 bit number
-A 8 bit adder circuit
-Three 8 bit 8 stage shift registers. (3 separate bytes, 8+8+8=24 shift registers)

Now think about how you can clock all the shift registers together to make each byte step through the system on each clock.

Now think about how you can have one stage of the shift register load each of the two fixed numbers into a byte of the shift register.

Now think about how you can have one stage of the shift register use the adder to add two of the current bytes and put result into the current 3rd byte.

Expand from there.
« Last Edit: August 23, 2019, 02:10:20 am by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 
The following users thanked this post: wintech

Offline shawty

  • Regular Contributor
  • *
  • Posts: 90
  • Country: gb
Re: How do I make a 8 bit computer?
« Reply #11 on: August 23, 2019, 09:49:32 am »
Also I find this:

https://github.com/hneemann/Digital/releases

is fantastic for prototyping.

It also has a great component API written in Java (I've written a 6522 VIA component) which means you can actually model your chips in software, and then build circuits around them.

Shawty
Meh....
 
The following users thanked this post: granzeier

Offline granzeier

  • Regular Contributor
  • *
  • Posts: 84
  • Country: us
 
The following users thanked this post: Kean

Offline granzeier

  • Regular Contributor
  • *
  • Posts: 84
  • Country: us
Re: How do I make a 8 bit computer?
« Reply #13 on: August 23, 2019, 11:01:49 am »
Also I find this:

https://github.com/hneemann/Digital/releases

is fantastic for prototyping.

It also has a great component API written in Java (I've written a 6522 VIA component) which means you can actually model your chips in software, and then build circuits around them.

Shawty
Shawty,
Thanks for this. It looks like Logisim; do you know the differences (other than Logisim development having been dropped)?
 

Offline shawty

  • Regular Contributor
  • *
  • Posts: 90
  • Country: gb
Re: How do I make a 8 bit computer?
« Reply #14 on: August 23, 2019, 02:04:57 pm »
Also I find this:

https://github.com/hneemann/Digital/releases

is fantastic for prototyping.

It also has a great component API written in Java (I've written a 6522 VIA component) which means you can actually model your chips in software, and then build circuits around them.

Shawty
Shawty,
Thanks for this. It looks like Logisim; do you know the differences (other than Logisim development having been dropped)?

It pretty much is Logisim.  The author took the original Logisim code and re-wrote most of it to newer code standards after the original Author walked away from the project.

The internals of the code are vastly different however, but the great news is, the API for creating your own Java Components is so much simpler than the original.

I don't actually know if it's compatible with the original Logisim file format, I have to admit I never tried I just created most of what I had saved from new.  The UI is mostly the same, as are the components, but digital has the ability to interface to a VHDL system which Logisim never could.

Components written for the old one won't work in the new one, that much I definately know.  I thought I'd uploaded all my components to GitHub (http://github.com/shawty) but I havent, for now however the 6522 VIA I was on writing can be found in the issue where myself and the author of digital had a good conversation going on how to implement two way I/O: https://github.com/hneemann/digitalCustomComponents/issues/3

Shawty
Meh....
 
The following users thanked this post: granzeier

Offline pcmad

  • Regular Contributor
  • *
  • Posts: 96
  • Country: gb
    • module web design
Re: How do I make a 8 bit computer?
« Reply #15 on: September 03, 2019, 01:03:47 am »
i got a z80 and supporting chips if you want to buy them off me based in uk

Offline Kean

  • Supporter
  • ****
  • Posts: 2088
  • Country: au
  • Embedded systems & IT consultant
    • Kean Electronics
Re: How do I make a 8 bit computer?
« Reply #16 on: September 03, 2019, 07:17:16 am »
i got a z80 and supporting chips if you want to buy them off me based in uk

Please stop posting the same things in multiple topics.
 

Offline GVC96

  • Newbie
  • Posts: 1
  • Country: us
Re: How do I make a 8 bit computer?
« Reply #17 on: October 20, 2019, 01:30:03 am »
If you're building a CPU out of logic chips and discrete components I would recommend creating your own instruction set because you would be able to tailor it to an easy hardware implementation, plus you can omit the more difficult(number of chips and connections wise) to implement features like interrupts and what not. Making an instruction set isn't really hard, you mostly just decide what registers you'd like to have and what you'd like the opcodes to do.

If you want to build a computer using a microprocessor or microcontroller I would recommend something like the atmega1284p, the instruction set is elegant and orthogonal for the most part, it has 128k flash and 16k ram, which is plenty and would save you the work of hooking memory up to a microprocessor. It also supports self-programming so you could even write an assembler to run on the chip and then write it's output to flash and execute it so you could program it in system.
« Last Edit: October 20, 2019, 01:33:32 am by GVC96 »
 

Offline granzeier

  • Regular Contributor
  • *
  • Posts: 84
  • Country: us
Re: How do I make a 8 bit computer?
« Reply #18 on: October 21, 2019, 02:33:27 pm »
Another classic book, which has been released by its author, is Jan Axelson's "The Microcontroller Idea Book" (http://janaxelson.com/files/microcontroller_idea_book.pdf) - it is actually being hosted on her web site.

The 8052-BASIC system that she describes can actually be pretty simple. Her first schematic (figure 3-1, page 24) contains only seven chips. If you have a TTL USB-to-serial converter, don't need to expand beyond 32K of RAM, and don't mind a slightly sloppy reset (use hers without the diode and 74HC14 inverter, it will work fine) you can build a BASIC computer with only four chips. Of course, Jan goes on and adds a bunch of additional stuff - the BASIC-52 computer can be expanded just like any other computer.
 

Offline Flenser

  • Regular Contributor
  • *
  • Posts: 60
Re: How do I make a 8 bit computer?
« Reply #19 on: October 22, 2019, 12:56:24 pm »
Quote
I would start here http://searle.hostei.com/grant/z80/SimpleZ80.html

The link above no longer works. That page is now under this new domain http://zx80.netai.net/grant/z80/SimpleZ80.html
 

Offline Flenser

  • Regular Contributor
  • *
  • Posts: 60
Re: How do I make a 8 bit computer?
« Reply #20 on: October 22, 2019, 01:40:08 pm »
wintech,

You'll need to provide some more detail about what you would like to do.

If you want to get all the parts yourself and put them together, perhaps on solderless breadboards, than I vote +1 for wilfred's suggestion to use one of Grant Searle's designs. The 7-chip Z80 page is now at http://zx80.netai.net/grant/z80/SimpleZ80.html and there are links to Grant's other low chip count designs for the 6809 and 6505 chips if you'd prefer to use one of them instead of the Z80.

The advantages of using Grant's design are:
- the smaller the chip count, the simpler it will be to wire it up without error
- Grant includes the ROM basic image that you can download. Program that into an EPROM and you can start using your 8-bit computer.

If you want to start using your vintage 8-bit computer after you assemble it and you are not setup to program EPROMs then consider a kit like one of these RC2014 kits
https://www.tindie.com/products/semachthemonkey/rc2014-mini-single-board-z80-computer-kit/
https://www.tindie.com/products/semachthemonkey/rc2014-micro-single-board-z80-computer-kit/

The RC2014 page that describes these designs is https://rc2014.co.uk/ and there are links in the left-hand pane to those mini and micro kits.

The advantage of using a kit is:
- You get a set of parts provided that will work together. If you buy them yourself you have to do the investigation to get the right spec parts
- You get a PCB so are much less likely to need to debug your wiring
- You get a pre-programmed ROM chip. You don't need to be setup to program EPROMs yourself.

Going one step further you can get one of these type microprocessor trainers. These are for learing to program the microprocesser.
This link is someone who sells them as kits. I''ve not used one of these so I can't tell you if they are any good.
https://www.ebay.com.au/sch/m.html?item=283624635789&hash=item4209587d8d%3Ag%3ASjwAAOSwXeJXeMWT&_ssn=kswichit&_sop=15

I bought a Micro-Professor MPF-I trainer https://en.wikipedia.org/wiki/Micro-Professor_MPF-I many years ago to start learing Z80 assembler, which I why I've included a modern example of that type of kit.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf