11 ms·
FAP80, a retro computer without the retro baggage
- sehugg 10y agoInteresting. I was poking around the MAME database and found that the Z80 was used as recently as 2010 by a company called Igrosoft to make video slot machines, along with some modern PLDs and support chips. They also use a YM2149-compatible sound chip for that authentic bleepy sound. More details: https://github.com/mamedev/mame/blob/master/src/mame/drivers/multfish.cpp https://github.com/mamedev/mame/blob/master/src/mame/drivers...
- hydrogen18 10y agoThis chip makes me laugh: http://www.keil.com/dd/docs/datashts/nuvoton/w78e054d_w78e052d_w78e051d.pdf http://www.keil.com/dd/docs/datashts/nuvoton/w78e054d_w78e05... It's a clone of an intel chip from the 80s. It's still used to make new stuff. Here's a video of it https://youtu.be/i3B_KKyntQE?t=15m52s https://youtu.be/i3B_KKyntQE?t=15m52s
- Sanddancer 10y agoThe 8051 family also has a huge amount of support tooling for it -- compilers, validation tooling, etc. For a lot of jobs where the 8051 lives, a new architecture would just mean an expensive set of validation tests for no real benefit.
- HeyLaughingBoy 10y agoYup. The serial relay boards I resell are controlled by an 8051 variant. Those things are everywhere
- hydrogen18 10y agoWow, you're right. I figured an 8051 was popular, but its derivatives make up >50% of the embedded market it seems. I am guessing most clones offer more than 128 bytes of memory.
- userbinator 10y agoThese extremely popular media players around a decade ago were all Z80-based: https://en.wikipedia.org/wiki/S1_MP3_player https://en.wikipedia.org/wiki/S1_MP3_player Old 8-bit architectures like Z80, 6502, and 8051 are everywhere, because they're cheap (royalty-free, unlike e.g. ARM) and there's plenty of software and tools for them.
- elpantalla 10y agoSuper cool. I'm impressed.
- jdcarter 10y agoThe blog posts have a ton more detail and make for fascinating reading (or browsing the pictures): https://dekunukem.wordpress.com/ https://dekunukem.wordpress.com/ It's an interesting take on retro; gives the user the feel of a retro computer without all the gnarly period-accurate hardware. Also amusing that the STM32 supporting CPU has far more power than the main Z80 CPU.
- throwawayish 10y ago> Also amusing that the STM32 supporting CPU has far more power than the main Z80 CPU. I believe some Commodore drive already had two processors identical to the main processor of the computer -- effectively giving the drive more processing power than the actual computer :)
- ChuckMcM 10y agoOne of the fun things on my Z80 CP/M machine was a 20MB Seagate SCSI hard drive with a 680000 controlling the drive electronics. Which is why I've never really understood people who focus on one chip to "define" a system, it really is about all the parts playing in harmony.
- vidarh 10y agoThat's funny - My 68000 based Amiga 2000 had a SCSI card in it with a Z80 on it. That machine was a real monster - I had a bridge-board in it: the A2000 had both ISA and Zorro-II (Amiga proprietary) buses, with one ISA and one Zorro-II slot in line so that you could buy a bridge-board that held an 8086 etc. on it to basically give you a "PC in a window" on your Amiga. I'd then bolted a 286 accelerator board onto it, and a 68020 accelerator board onto the Amiga-side (I think both were of the type that slotted into the CPU socket andwhere you re-seated the CPU in the accelerator in case you wanted to switch to the slower CPU for compatibility reasons) On top of that the Amiga 2000 and Amiga 500's used an 6502-compatible SOC with onboard RAM and PROM as their keyboard controllers. So that one machine had a 68000 (though not usually running), 68020, 8086 (not usually running), 80286, Z80 and a 6502-compatible. I found it quite pleasing to have one machine with representatives of four of the most common CPU families at the time in it. > Which is why I've never really understood people who focus on one chip to "define" a system, it really is about all the parts playing in harmony. It was about identity in a sense when so much was done in assembler on the main CPU, and most people are never aware of those auxiliary CPU's.
- gravypod 10y agoI really would love someone to build something like this on one of those FRAM chips so there is no volitile memory on the system. I'd love to write an opterating system for such an enviroment (like those non-volatile time sharing systems from the 80s that made use of stateless microkernels and really pushed the limits of disk).
- rzzzt 10y agoThe peak transfer rate of NVMe SSDs is getting close to theoretical DDR1 SDRAM speeds; not sure how well random access works in comparison, and if there's an easy way of interfacing them, but it should be able to keep an alternate history-retro machine with a ~100 MHz system clock occupied. Another possibility would be to use an obscene amount of SRAM (by retro standards) and a battery to keep it powered at all times.
- shakna 10y ago> Another possibility would be to use an obscene amount of SRAM (by retro standards) and a battery to keep it powered at all times. Like the DUO Mega [0]? 16 Atmega328P's in concert, with 32kb of SRAM. [0] http://www.ostracodfiles.com/mega/menu.html http://www.ostracodfiles.com/mega/menu.html
- vidarh 10y agoSSDs (and NAND flash in general) tend to have block oriented interfaces, so you'd need at least a cache. You'd end up at best with a hardware implementation of paging... You could us NOR flash, which tends to support execute-in-place as well. I've booted Linux from a system with the bootloader running from the flash. The problem is still erase-units. Doing read-only is easy. The moment you want writes, you'll need a RAM as cache and complex controller logic to do wear-levelling unless you want to wear out your flash in no-time. SRAM is probably the most viable alternative.
- mnw21cam 10y agoOr you could just use an OS like EROS, that continuously spools its RAM out to permanent storage, and provides instant resume on power on.
- jasonkostempski 10y agoI assume awkward name is intentional.
- alkonaut 10y agoI just read Trump appointed one "Woody Johnson" as ambassador to the UK and thought just that...
- TheGrumpyBrit 10y agoI mean, Trump is UK slang for fart anyway. Between this and his first wife, I'm pretty sure he's doing it on purpose at this point.
- thowfaraway 10y agoIt is juvenile, and hurts the project. Too bad because it is pretty cool.
- Girlang 10y agoExactly! It's because of names like this that no women are making hardware.
- zwerdlds 10y agoIf you go looking for issues, you'll find them, alright... From the repo: "FAP stands for FPGA Assisted Processor, inspired by Steve Ciarcia's 1981 book Build Your Own Z80 Computer, in which he called his computer ZAP, short for Z80 Application Processor."
- ferbivore 10y agoGo looking? It's literally the project's name. Or do you think people see "FAP" and go "oh, jeez, that's such an unfamiliar word, I guess it's an acronym? wonder what it stands for"?
- 10y ago
- ENTP 10y agoWhen i was a kid, i had a Mattel Aquarius. Those early days were great. Whilst this project does rekindle some of that nostalgia, I'm not sure I'll be FAPping anytime soon.
- hoodoof 10y agoIs there a youtube video of it in action?
- noonespecial 10y agoSo instead of trying to recreate the “good old days”, I made the decision to liberally use modern parts to simplify the design process... Then uses a thru-hole Z80. If that's not a perfect illustration of nostalgia, I don't know what is. Remembering the good parts without all of the fuss of the not so good. Very nice project. I'd probably buy that as a hobby kit.
- XtalJ 10y agoMaybe the Z80 should be retro but not the rest? :-) A small surface mounted Z80 would modernize the FAP80 a bit more.
- XtalJ 10y agoReally nice to see a Z80-project :) I'm actually finishing my own Z80 microcomputer this weekend. But mine will utilize a symphony of exotic 7400 series chips and hard-to-get Z80 peripheral chips. All ceramic ones. So if anyone wants to build their own, it will cost several hundreds of dollars :-/. But the idea with the project was to learn how computers where built in the early 80s, not to do a modern approach, like you :-) Fun name, by the way. Mine will be named Calculon80 or Calculon64 :-D
- Florin_Andrei 10y agoIs your room gonna smell like soldering rosin while you're making the device? Cause there's no "real retro" without that smell of rosin. :)
- XtalJ 10y agoYes, and it is a lot of soldering :-) The real retro feeling is given by the old UV EPROM with gold pins (DDR copy of 2732) and the shiny big 2W resistors :-D
- stan_rogers 10y agoOh, come now! Surely an impenetrable tangle of fragile little wires wrapped around a forest of little square pegs is retro enough?
- XtalJ 10y agoI first built my computer using low quality breadboards and a lot of wires, which I tried to keep as tidy as possible, without success ;-) I designed a PCB in KiCAD and got 5 of them delivered a week ago. Sooo much better :-) I wonder how the FAP80 was prototyped?
- jamesfmilne 10y agoFor teenage me, during electronics projects the room always smelt of solder fumes, burnt skin, and melted wire insulation. :-)
- lisper 10y agoThis is cool, but there's an argument to be made that the baggage is the whole point of doing retro computing. You can emulate a Z80 on an STM32 and it will run faster than the real thing. Much faster. So why bother with a real Z80? Because there is something ineffably cool about the "real thing". It's kind of like vinyl records. Digital audio is vastly superior by any objective measure, and yet people still want vinyl. The don't want it despite the clicks and pops and the annoyance of having to clean it and futz with the needle and the turntable speed, they want it because of all of these things.
- DanBC 10y agoI suspect the vast majority of people find programming a computer with toggle switches fun for only the first 8 instructions. https://www.youtube.com/watch?v=0GmY_UrbXnA https://www.youtube.com/watch?v=0GmY_UrbXnA Hex pads and push buttons isn't much better. https://youtu.be/e8u_lY7RnTI?t=4m03s https://youtu.be/e8u_lY7RnTI?t=4m03s These projects are very cool, but I think too much futzing for most people.
- rvense 10y ago> These projects are very cool, but I think too much futzing for most people. Why learn an instrument when you can just torrent some music
- marincounty 10y agoSome of the most interesting people, I recall, have been Futzers. So many of them really clever people. I don't even know if Futzers us a word, but I hope the world produces more Futzers. When I was a kid--it was kinda frowned upon. "Don't waste your time fooling around?". I think times have changed though? I hope? The other day I made a watch band using the leather from my old boots, and dental floss. I didn't tell anyone because I knew it would be considered excentric. It looks good to me. That's all I wanted.
- varjag 10y ago
- amyjess 10y agoCool... the idea reminds me of TempleOS, which was meant to evoke the spirit of the C64 but run on and take advantage of modern hardware.
- hvs 10y agoI would also recommend looking at the RC2014 project. Kits are available for order on Tindie. The mailing list is very active and new developments happen regularly. http://rc2014.co.uk/ http://rc2014.co.uk/
- CodeWriter23 10y agoI think your project is awesome. Wish I had something like this 30 years ago. Having the Z80 clock controlled by a microcontroller is pure genius. We used an in-circuit emulator, and always wished we could write code for the ICE.
- chadcmulligan 10y agoThought the retro people might like this - the first computer I built - https://en.wikipedia.org/wiki/Dick_Smith_Super-80_Computer https://en.wikipedia.org/wiki/Dick_Smith_Super-80_Computer. Z80 based 16K ram, yes thats a K. 2MHz processor. Plugged it into a cassette player for storage. Loading programs was hit and miss. I later splurged and bought a Basic ROM, initially you had to program it in Hex. I used it for most of my uni days, running linear regressions for lab. It cost me $300 AUD then, all my school kid savings :-). This was the book I learned assembler on https://www.amazon.com/Programming-Z80-Rodnay-Zaks/dp/0895880695/ref=pd_sim_14_1?_encoding=UTF8&pd_rd_i=0895880695&pd_rd_r=JGJVMVFNRKPHMKR3R4Y8&pd_rd_w=EdHN0&pd_rd_wg=3HMjb&psc=1&refRID=JGJVMVFNRKPHMKR3R4Y8 https://www.amazon.com/Programming-Z80-Rodnay-Zaks/dp/089588... a classic. Edit: It initially had just upper case characters - these were bitmaps stored in a ROM. I later bought an add on board that added lower case characters and graphic characters (like the old PC-DOS characters) contained in another ROM. I think from memory you could also add a RAM chip and load your own programmable characters, though that could have been my imagination. I have vague recollections of trying to figure out ways to make it have graphics that you could move around using the RAM, so I could make my own space invaders game :-)
- endgame 10y agoThe fall of Dick Smith Electronics makes me rather sad.
- chadcmulligan 10y agoyes, it had stopped being an electronics place a long time ago though. Jaycar is still around
- ganley 10y agoZaks is one of the best programming books ever.
- stevekemp 10y agoI have that same book on my shelf, survived 20+ years and more moves than I can count. My first computer was the Sinclair Spectrum and I've always been pleased that the z80 assembly was close to Intel's syntax. The competitors at the time, such as the 6502, always looked so dense and hard to read.
- notpc 10y agoI'm gonna say what everyone is thinking: 'Fap' is ubiquitous internet slang for masturbating. Intentional or not, that's what everyone is going to think when they first look at this project. The author would be wise to change it if he wants to be taken more seriously.
- rl3 10y ago>The author would be wise to change it if he wants to be taken more seriously. Based on the discussion so far it doesn't seem there's a problem on that front. If anything, the connotation will probably help it gain popularity, and that's a good thing.
- red-indian 10y agoThis is a nice project and I have no objection to it. It's interesting that he includes an STM32, an FPGA, and other such devices, as support and peripheral emulation chips, in his effort to get his 6502 running as he would like. Part of the education of my students here on the reservation we don't have a lot of resources. But we were able to score some nice FPGAs so they've designed and built from the gate level their own CPUs from scratch, then built compilers and interpreters on top of that. The youngest to do so was 9. It's been really convenient as well to be able to order inexpensive boards rather than having to deal with all the copper etching with chemicals as we did a few years ago.
- tn13 10y agoFAP? Really ?
- arcticbull 10y agoI love it when people make stuff like this.
- jonathanstrange 10y agoAwesome project. Kind of off-topic: I wish I could buy such a machine or something similar as fully assembled mini laptop device with a large character LCD display. I've been looking for fully programmable, full keyboard devices with extremely long battery life (weeks not days) for years, and all I can find are old pocket calculators and vintage machines from the 80s. I've had high hopes for the PocketChip, but there you go: 5 hours battery life only. :(