News for hackers. Stuff that matters.
Re:On choosing the Z80 over the 6502 (2014) by ChuckMcM on Saturday December 19, 2015 @10:10PM (#10765903)
The Z80 was always considered the more "commercial" processor, and businesses ran CP/M and various business applications like dBase on it. CP/M as an OS was more "OS like" than anything available for the 6502 at the time, I believe that RT-11 inspired CP/M which was a DEC operating system (a "real" computer company) and commands like PIP were ported over with almost identical syntax.

In contrast there was a number of "proprietary" vendors with 6502 systems, Apple and its OS, SWTP and its OS, Sphere and its OS, Commodore and its OS, all different all with minimal amounts of market share in business. Contrast that to CP/M which ran on Altair machines, IMSAI, Morrow, Polywell, Sol20's, Heathkits, Etc. Even the Cromemco once my BIOS had gotten reasonable distribution.

The I/O address space provided another feature on Z80 (and 8080) machines, which was "shadow rom". Basically you booted with some "massive 8K" ROM and then you could write out a byte which would swap it in memory space for a 1/2K very simple jump table/switcher. That let you use most of the address space for user programs. Later when MP/M came out it let you do wild things with "swapping" processes.

Perhaps the saddest part of the Z80 was that the Z800 (which only made it to market in a more limited Z280 form) was still born. It had a sorts of great ideas that folks wanted to use but the momentum of the 8086/8088 was unbeatable by that time. Given chip geometries it would be interesting to build a Z800 today but for the same reasons that it is interesting to build the difference engine, to prove that it would have worked and had some nice features that were ahead of its time.

Re:On choosing the Z80 over the 6502 (2014) by thwarted on Saturday December 19, 2015 @10:35PM (#10765955)
The I/O address space provided another feature on Z80 (and 8080) machines, which was "shadow rom". Basically you booted with some "massive 8K" ROM and then you could write out a byte which would swap it in memory space for a 1/2K very simple jump table/switcher.

The 6502 had a similar feature, that let you turn off the ROM mapping into the 64k of address space so you could access the RAM "underneath" for storage of your own programs. Especially useful for programs that didn't need the BASIC interpreter.

https://www.youtube.com/watch?v=fe1-VVXIEh4#t=26m41s

Re:On choosing the Z80 over the 6502 (2014) by pvg on Saturday December 19, 2015 @10:45PM (#10765975)
That's really a feature of the 6502-based computers, not of the CPU itself, though.
Re:On choosing the Z80 over the 6502 (2014) by pvg on Sunday December 20, 2015 @12:49AM (#10766195)
Sure, but these early CP/M systems ended up being a blip - Z80 CP/M cards for the Apple ][ outsold them all, most likely combined and then with some factor of N. ZX Spectrums, Trash 80s, various arcade and home game machines probably moved way more Z80s as well.
Re:On choosing the Z80 over the 6502 (2014) by cmrdporcupine on Saturday December 19, 2015 @10:13PM (#10765910)
Take a look at the eZ80 from Zilog. 50mhz (equiv of a 200mhz 80s-era Z80 apparently) with 256KB onboard flash, and can address 16MB (24-bits) of RAM, as well as full of onboard peripherals and GPIO.

Too bad only available in surface mount, not really hobbyist friendly.

Re:On choosing the Z80 over the 6502 (2014) by Sanddancer on Saturday December 19, 2015 @10:23PM (#10765927)
I've found that surface mount is more bark than bite, to be honest. Boards that'll make it a pth device aren't terribly much, and I've done tons of surface mount chips using the toaster oven technique. Even there, you can get a low end smd oven off ebay for not a terrible amount of money if/when you want to do any sort of volume work. Hell, with my crappy fine motor skills, I've nuked more stuff with the soldering iron than I have with smd, so things definitely have changed on that front.
Re:On choosing the Z80 over the 6502 (2014) by tonyarkles on Sunday December 20, 2015 @01:13AM (#10766231)
There's two techniques that I find work very well for SMD ICs for hand assembled boards:

- hot air rework wand. I got mine from China for $100. It works awesome both for removing parts and for melting paste.

- flood & wick. You start by tacking down two corners of the chip, and then drag the tip with some solder along the full edge. You'll probably get some bridging between pins. Sometimes, when the moon is aligned just right, you just get a perfect solder. For the times when you don't, the next step is to take a bit of fresh wick and clean it up.

Between these two tools (cheap Chinese reflow wand $100, and a nice Hakko iron $100), I've probably hand-assembled 75-100 prototypes and I don't recall ever destroying one. My next trick is going to be trying to do some BGA parts... new experiences!

Re:On choosing the Z80 over the 6502 (2014) by userbinator on Sunday December 20, 2015 @12:01PM (#10767520)
Hot air is definitely the right way to do it for SMD/BGA, and I find it much easier than through-hole because you don't have to solder each pin separately -- just aim the gun at the part and wait for the solder to melt. The surface tension means the part will actually self-align into place over the pads if you get it close enough.

BGA is not that much more difficult; look online for videos of the phone repair shops in China which can swap BGA chips in literally minutes.

Re:On choosing the Z80 over the 6502 (2014) by cmrdporcupine on Sunday December 20, 2015 @06:17PM (#10768729)
Well maybe I should give it a try. We have the toaster oven set up in our 'maker space' at work, but I haven't tried it yet. There's a few people there well versed in it.

There's a lot of things I would probably play with if I could do SMD.

Re:On choosing the Z80 over the 6502 (2014) by jjoonathan on Saturday December 19, 2015 @10:28PM (#10765937)
Looks like a QFP not a BGA so you could get away with a home-etched board.
Re:On choosing the Z80 over the 6502 (2014) by nibnib on Monday December 21, 2015 @07:34AM (#10770777)
Or any of the cheap panel-sharing services that will do small-run PCBs for a few bux.