Shop OBEX P1 Docs P2 Docs Learn Events
8080 Cpu, Is this totally useless?! — Parallax Forums

8080 Cpu, Is this totally useless?!

rwgast_logicdesignrwgast_logicdesign Posts: 1,464
edited 2012-09-30 01:50 in General Discussion
So I had a radio shack/archer 8080 fall from the sky still in the package. I cant find many hobby projects based on these, anyone know of any 8080 projects besides mk1/2 and imasi?
«1

Comments

  • PublisonPublison Posts: 12,366
    edited 2012-09-25 16:48
    So I had a radio shack/archer 8080 fall from the sky still in the package. I cant find many hobby projects based on these, anyone know of any 8080 projects besides mk1/2 and imasi?

    Altair 8800 also, the FIRST one. If you don't want it, i'll buy or trade.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-09-25 19:16
    If you can find a sucker to take it, give it to him! The 8080 is so last century and requires a plethora of support chips, most of which are also obsolete. Dump that bad boy and embrace the future!

    -Phil
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-09-25 19:37
    The 8080 is so last century and requires a plethora of support chips, most of which are also obsolete.

    -Phil

    This caused me to fondly(?) remember all the soldering and pieces parts that went into building those old s-100 beasties. It was a monumental accomplishment when you finished and blinked THOSE LEDs!!!! I like the future!!
  • rwgast_logicdesignrwgast_logicdesign Posts: 1,464
    edited 2012-09-25 19:49
    :/

    Ive seen alot hobby breadboard computers done with z80 and 6502, Blondie hacks has an excellent guid to doing a 6502 with video and everything, I was hoping the 8080 would have the same sort of scene going on. From what Ive read the thing requires support chips as phil mentioned and all the home brew computers are very complicated looking with an s100 bus, seems like a lot of time a dedication would have to go in to a project like this, to bad.. I just have no intrest in doing an s100 bus computer. Now if a simple SBC was possible with sourcable chips that would be another thing
  • frank freedmanfrank freedman Posts: 1,983
    edited 2012-09-25 19:52
    My first MMI pal based project was to design a 768K dram module for this Using cutting edge 256K*1 drams. Just PALs and so.e glue. I got seriously good at logic reduction. My favorite book then and to a degree now was the Comer book on logic and state machine design.
    FF
  • frank freedmanfrank freedman Posts: 1,983
    edited 2012-09-25 19:59
    :/

    Ive seen alot hobby breadboard computers done with z80 and 6502, Blondie hacks has an excellent guid to doing a 6502 with video and everything, I was hoping the 8080 would have the same sort of scene going on. From what Ive read the thing requires support chips as phil mentioned and all the home brew computers are very complicated looking with an s100 bus, seems like a lot of time a dedication would have to go in to a project like this, to bad.. I just have no intrest in doing an s100 bus computer. Now if a simple SBC was possible with sourcable chips that would be another thing

    Phils right. The 8080 was. PITA chip requiring 2phase clocks from an 8024? Clock generator chip. Much better if you want that family to go with the 8085. Personally I like the Z80 because so many things can be derived. Using the early 64 and 256 k * 1dynsmic rams were simple to design with. Even when you had to cut holes in the address space for (e(p)rom while still keeping the dynamic ram properly refreshed. Used that for long time.
  • Duane C. JohnsonDuane C. Johnson Posts: 955
    edited 2012-09-25 20:01
    Hi rwgast_logicdesign;

    Seriously, the 8080 is a part of history.
    While not the first integrated 8-bit micro, the Intel 8080 was the first to be widely used.
    I actually have a micro built with the first, but venerable, really slow forerunner the 8008.

    Don't throw it away, frame it and put it on display.

    Oh, and fast forward into the 21st century and make a Prop which will run circles
    around the 8080, and much simpler to build.

    Duane J
  • kwinnkwinn Posts: 8,697
    edited 2012-09-25 21:17
    Not totally useless but unless you are a nostalgia or history buff there are much easier and simpler ways to do anything this chip can do. That includes running almost any software the 8080 ran.
  • Heater.Heater. Posts: 21,230
    edited 2012-09-26 03:33
    The 8080 is a wonderful thing. It will run CP/M. Yes it needs a bunch of peripheral support but that can all be done with a Propeller or two and some simle code. All you need is some RAM.
    Biggest problem I see is the need for a few different power supply voltages including -5v if I remebember correctly. Not insurmountable.

    But perhaps the best suggestion is to frame it and hang it on the wall.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2012-09-26 03:56
    Last century!! Well, it is indeed 2012. Still, it seems so harsh to refer to 'last century electronics'
  • Invent-O-DocInvent-O-Doc Posts: 768
    edited 2012-09-26 09:57
    Keep it for history, unless you have -12 volt supply.....
  • rwgast_logicdesignrwgast_logicdesign Posts: 1,464
    edited 2012-09-26 18:12
    Ok so what drove me to the propeller was a thirst to learn electronics to one day bild my own computer from scratch. Ive realized I can easily do that with a propeller like jeffs pocket computer or the demo board, but thats kind of cheating basically throwing reference designs for r2r dacs and connectors on a circuit board. This definately is not even as close to in depth as I wanted to get with building a computer. Although Parallax products have been a huge source of knowledge and inspiration and I will keep using them as time goes on for whatever non pc project im doing or maybe in a pc project as supporting items. Building a mini pocket computer does not give you knowlege about true computer architecture.

    The reason I want to build an SBC is to learn computer architecture in way most people havent since the 1970s when building your computer was the norm. I feel this level of knowlege would tend to make one a much better programmer and it would be an ideal way to have a platform to learn assembly language on from the ground up, none of those OS provided interrupts to lean on!

    My issue with this is I feel the x86 and arm architectures are here to stay so if your going to take on a project this deep build around a platform in which the knowlege you gain will be applicable today. This is the problem I have with all the 6502/mc68000 builds, granted you learn so much but the skills arent directly applicable to your desktop PC, you will still have to learn a newer architecture. The problem is as a hobbyist its impossible to use any modern x86/ARM CPUS to build a home brew around, in the x86 world this is do to complication and chip package, no hobbyist is gonna work with a 5000 pin bga chip lol. With ARM i think the problem is partially packaging, im pretty sure that you can get an ARM9/11 core CPU in SMT still but the issue here is IP and licensing if your not qualcomm your not getting any arm11 chip and full documentation in a small quantity! So if you want a hobby friendly package you would have to go waayyy back to get it :).

    So if you really want to design a computer as a hobbyist it seems the only choice you have for cpus are old 40 pin dip packages. Also im sure these are the only CPUs that arent so advanced only a team of engineers could figure out how to design for them! I have always been curious how hard it would be to break out an old 386/486 chip and build around, this would be my #1 option but im sure it would be very complex! So now what chips meat these requirements

    There in package that is accessible to some one with a set of common tools at home
    The knowledge gained from building and bootstrapping the system can directly translate to modern computers/gadgets
    They CPU itself is understandable to a single meer mortal just getting started with home brew

    In my mind this left the 8080 or the z80 running intel compatible instructions only.. Im saddend to learn that the z80 was a huge clean up over the 8080 and it is probably earier for the home hacker to ditch the 8080 for a zilog chip :/

    From what you guys are saying, and what ive read it seems like i need to design a power supply capable of -12 +12 volts, get my hands on old perpherial chips and the chip to multiplex the 8080, and probably make some crazy altair s100 design :/.... this sounds to rediclous and brings to much to the table that has nothing to do with learning about computer architecture, in fact it seems as though you would be so busy catering to the 8080 that a good design may take back seat.

    I have no problem using a propeller like the Apple Clone, but could a propeller be used to replace these arcane chips the 8080 required without alot of hard work? This is distracting from the acuall computer.

    Im not sure if theres newer z80s like the 20mhz 6502s, but if there were this would probably be the best bet? Especially if you intend to try to mix more modern features and chips into the design then what was available back then? Im not after retro.... Im after doing everything that needs to be done using the best modern technology a hobbyist can buy, but still sticking to the traditional way of doing things for the most part. I mean using a prop for HID is kind of cheating but im mostly ok with that, using a prop to creatively replace some chips with a much better system im all for. I guess what im saying is as modern as possible is definately a plus and any new technology is good as long as it doesnt take away from any of the educational value that goes into desiging a computer.
  • Martin HodgeMartin Hodge Posts: 1,246
    edited 2012-09-26 19:43
  • LawsonLawson Posts: 870
    edited 2012-09-26 21:13
    For a +- 12v supply I'd just use a pair of CUI V7812-500 integrated switching supplies. The last two pages of the data-sheet has ratings and example circuits for generating negative voltages. +-12v output is also pretty common for isolated board mount supplies. Though the inexpensive isolated DC-DC supplies can be rather noisy.

    A two phase clock shouldn't be too hard to make. Just need a 2x faster clock source, an inverter, and two T-flip-flops. (or some code in the support Propeller) For me, weather it's worth coding the support chips in a Prop would hinge on how well documented the support chips are, and how much they have to do.

    Lawson
  • kwinnkwinn Posts: 8,697
    edited 2012-09-26 21:23
    Based on what you say in post 13 I would suggest looking at/using one of the chips described below. The Z80 would be the easiest to understand, build a system, and learn with. I have a Z80, an 8088, and may have a V20 (8088 equivalent) and the data sheets. I can probably dig up a schematic of a basic system for any one of them as well to get you started. Any one you choose is yours at no cost.

    I would urge you to start with the Z80 and consider using the propeller as the terminal interface and I/O chip. The Z80, 2 32KB ram chips or 1 128KB ram chip and a Propeller with the eeprom and crystal would be all you need for an excellent learning system. My second computer was a Z80 with 64K of ram and 2 5.25” floppy drives. I did all my quotes, contracts, invoices, and accounting for my business on that system.

    Z80:

    16 bit non multiplexed address bus (for 64K bytes of memory), 8 bit data bus, 256 I/O addresses.
    A very simple system could be built with as few as 3 chips, although 4-5 is more usable.

    8088

    20 bit multiplexed address/8 bit data bus (for 1MB ram), 64K I/O adresses. A very simple system could be built with 4 chips, but 5-6 would be more usable.

    V20

    An enhanced version of the 8088 from NEC. All of the 8088 instructions plus some additional ones and a very similar pinout to the 8088 (may be pin equivalent but I am not sure). Same number of chips as 8088 for minimal/usable system.
  • rwgast_logicdesignrwgast_logicdesign Posts: 1,464
    edited 2012-09-26 21:36
    Ya I think a z80 seems like the optimal chip to do this with, as there is plenty of resources online for the z80 to read through. I had no idea the 8080 was such a pain I assumed it would have been just like an 8088
  • frank freedmanfrank freedman Posts: 1,983
    edited 2012-09-26 22:23
    Now if you really wanted a design adventure, go and find yourself a copy of Mick and Brick's "Bit Slice Microprocessor Design". Couple that with a good handful of AMD2900 series bit slice parts a good glob of glue logic and see what you can come up with. Basically you can design a CPU on 4*n bits using these devices somewhat cookie cutter mode. So 8 sets could give you a 32 bit CPU etc. By changing the microcode behind each of the macro instructions you could then emulate whatever instruction set you required. The back of the book has all the information needed to build two processors, the Hex-29 and the Super 16.

    This was a concept I was introduced to in 1982 at a conference on using this device family for a micro-coded processor emulator. I was invited to tag along with two of the Data Systems instructors I knew from Mare Island Naval Station in Valejo, Ca. They were assigned to teach the third phase of the training which was built around the AN/UYK-20, a microcoded emulation of an older Sperry computer used in various shipboard computer systems. Of course the part of the course relating to the processor emulator part of the unit was affectionately known as the personnel eliminator. Fun times,

    Frank
  • rod1963rod1963 Posts: 752
    edited 2012-09-26 23:12
    Either do a Z-80 or 68K board and use the Prop as a video and keyboard controller. Also CPM is available for porting.

    Here's ALE's 68k board with a Prop, he also uses a couple CPLDs, which are something most electronic hobbyists should acquaint themselves with.
    Link:
    http://propeller.wikispaces.com/pPropQL

    Here's a Z-80 based board:
    http://www.cosam.org/projects/z80/

    And here's one that uses a 20Mhz Z80 and a FPGA
    http://www.retroleum.co.uk/v6z80p/
  • TorTor Posts: 2,010
    edited 2012-09-27 01:06
    I you really want to build something with an "old" CPU I would go for the 65C02 or the 65C816. Both are being produced today, and they're not difficult to interface (particularly when compared to an 8080), and, best of all, the 6502.org site - there's nothing around which comes close to that for e.g. the Z80, 8080, MC68K etc.
    Start with taking a look at this blog btw: http://quinndunki.com/blondihacks/?p=680 It doesn't take much to get a 65C02 going! :)

    -Tor
  • kwinnkwinn Posts: 8,697
    edited 2012-09-27 18:01
    @frank freedman

    I was thinking of suggesting something along that line using the '181 ALU chips. I decided that was not a good idea. Quite a bit of work involved using the '181 or the AM2900 chips.

    @rod1963

    Nice projects. Thanks for posting the links.

    @Tor

    Building a computer with the 6502, 680x, Z80, or any of the second generation 8 bit chips with simplified interfaces and single voltage supplies is not that difficult. A working system could be built with very few chips if you don't need a lot of I/O.

    There is even a completed project by Dennis Ferron that uses a 6502 and propeller to build a laptop computer. I don't have a link to the thread but perhaps someone will know of it.
  • rwgast_logicdesignrwgast_logicdesign Posts: 1,464
    edited 2012-09-28 17:42
    I think some people may have been missing the point a bit about the idea not being to build a retro computer but more to learn about computer architecture in a way that can translate into pc still used today! I looked around a bit and realized there are updated z80s just like the updated 6502, and the can run at 20mhz. So im pretty sure z80 is really the way to go on this. Basically all the effort put into the software side while directly translate into improve my x86 assembly codes skills and ill have a much deeper understanding of whats required of a machine with no OS or BIOS interrupts to do things for me.

    I would really like to design it as modern as possible though maybe something like 8 to 16mb of dram on 20mhz z80. Will getting that much ram to work with a z80 pose any problems at all?

    For anyone like kwinn whose done this kind of a project around a z80 maybe you have some recommendations of basic chips I should use for the project since youve already done this and know what works well and what doesnt,
  • kwinnkwinn Posts: 8,697
    edited 2012-09-28 18:27
    .........

    So im pretty sure z80 is really the way to go on this. Basically all the effort put into the software side while directly translate into improve my x86 assembly codes skills and ill have a much deeper understanding of whats required of a machine with no OS or BIOS interrupts to do things for me.

    I would really like to design it as modern as possible though maybe something like 8 to 16mb of dram on 20mhz z80. Will getting that much ram to work with a z80 pose any problems at all?

    For anyone like kwinn whose done this kind of a project around a z80 maybe you have some recommendations of basic chips I should use for the project since youve already done this and know what works well and what doesnt,

    You're giving me more credit than I have earned here. The largest Z80 system I have built was 256KB, and that was static ram and eprom. As rusty as I am with Z80 assembler and hardware I would not want to tackle the software for refreshing DRAM. Also, the Z80 will only directly address 64KB so you would need paging hardware and software to make use of any more than that.

    Unless you go to a Z80 derivative that can address more memory and refresh DRAM I would recommend you stick with a Z80, 32-128K SRAM, use a propeller to boot the Z80, act as the serial terminal, and interface to an SD card for mass storage. You will learn just as much from that system as you will from a much larger one, and you will have source code for the OS and other programs to study. In addition to that you will have this forum for when you need help. Lots of Z80/CPM knowledge available here. I might even have source code for a small monitor program somewhere.
  • kwinnkwinn Posts: 8,697
    edited 2012-09-28 18:34
    BTW, another option would be to use the propeller, some latches, buffers, and external ram to emulate an 8, 16, or 32 bit computer. You could emulate many architectures if you wanted to, albeit very slowly. For learning purposes slow emulation can be a benefit.
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-09-28 18:46
    Raspberry Pi - $35
    Program in assembler withou OS - free
    Flexibility offered - Priceless.

    Cambridge University is building an OS course (available online) around it.
  • rwgast_logicdesignrwgast_logicdesign Posts: 1,464
    edited 2012-09-28 19:40
    The problem with the PI is its already built and designed for you, and its alot more complicated of a platform than an 8088 or z80. I think writing a PI based OS would be a very cool learning experince but i dont think its a good first step
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-09-28 19:50
    Check this out if you haven't already -> http://www.cl.cam.ac.uk/freshers/raspberrypi/tutorials/os/

    It's on my list of projects.
  • rod1963rod1963 Posts: 752
    edited 2012-09-28 21:40
    As Kwinn points a Z-80 based SBC would be the easiest to build plus there are lots of people here that have experience with it should you have any questions.

    I think it would be fun.

    If you wanted to do graphics old school style you can buy off Ebay one of the older graphics controller chips.
  • kwinnkwinn Posts: 8,697
    edited 2012-09-28 21:52
    The problem with the PI is its already built and designed for you, and its alot more complicated of a platform than an 8088 or z80. I think writing a PI based OS would be a very cool learning experince but i dont think its a good first step

    I agree, that would not be a good first step. The 8088 is a possibility and it does address more memory (1MB), but it is more complicated to work with from both a hardware and software perspective. I really would suggest using the Z80 in as simple a setup as possible to start with. The basics you learn from that will prepare you to tackle something like the PI.
  • localrogerlocalroger Posts: 3,452
    edited 2012-09-29 07:18
    I have a very soft spot in my heart for the 8080 because my first computer was 8080 based. It was an off brand attempt to shoot the gap between the TRS-80 and Atari 2600, and it failed in the market, and the stock was surplused through a little ad in the back of Popular Electronics. It was a very odd beast, 16K RAM but no Basic in ROM so with Basic it was quite hobbled and there was good reason to learn assembly language in order to get it to do anything useful. There was a period in my youth when I had most of the 8080 opcodes memorized.

    That said, the actual hardware of the 1970's was a pain to work with. I'd much rather do an 8080 Prop cog than work with an actual 8080 chip, just as I'd much rather work with 80's and later SRAM than the fickle 4116 DRAM, which required multiple power supplies and all kinds of weird timing. Fun story -- the 4116's used in my 8080 computer had 4 power supplies, and the spec sheets said it was ABSOUTELY NECESSARY that the +5V come up last. The fellows who designed my computer accomplished this by leaving the other supplies on all the time and just switching the +5 with the power switch.

    So, some of them members of our little user group decided they liked the convenience of turning on their whole system with a power strip, and this kind of foiled the intentions of the power supply designers. It still usually worked, but every once in awhile the +5V would win the power supply startup race. And what, you might be wondering, would happen then? All eight DRAM chips would EXPLODE like little DIP firecrackers. In the day replacements cost ove $100, and of course they were soldered in.

    The 8080 itself also required multiple power supplies, support chips to generate the polyphase clock and multiplex the address bus, and several other functions I only vaguely remember. There were several Intel support chips which had no useful function at all except making 8080 design less nightmarish. It might be an interesting exercise in retro mad skillz to try to make an 8080 do anything at all, but it would be pretty hardcore and unlikely to be useful for much more than bragging rights.
  • kwinnkwinn Posts: 8,697
    edited 2012-09-29 11:17
    @localroger

    Yes, I have a soft spot for the 8080 as well, but not soft enough to consider using it to build a computer. My first computer was an 8080 based S100 system that I assembled from bare boards I purchased at a computer show in Atlantic City. I learned an awful lot about computers, electronics, and 8080 assembly language programming from that.
Sign In or Register to comment.