News for hackers. Stuff that matters.
Re:Show HN: A retro video game console I've been working on ... by pkiller on Thursday March 14, 2019 @07:58PM (#19395128)
Z80 rules!

Thanks :)

Re:Show HN: A retro video game console I've been working on ... by tombert on Thursday March 14, 2019 @09:44PM (#19395724)
Out of curiosity, have you thought about trying to port "real" games over to it, as in running a ROM of something commercially released? This is already really cool, but it would be nerd-cred-for-life cool if you could say "Oh, you have a gameboy? Yeah, I built my own."
Re:Show HN: A retro video game console I've been working on ... by apple4ever on Thursday March 14, 2019 @09:16PM (#19395582)
I love that there is a group of people who still love the Z80!

Such a beautifully designed chip.

Re:Show HN: A retro video game console I've been working on ... by saagarjha on Friday March 15, 2019 @04:25AM (#19397720)
I was doing a little bit of Z80 work a while back, but I didn't particularly seem to appreciate its design (compared to say MIPS). Why do you think it's beautifully designed?
Re:Show HN: A retro video game console I've been working on ... by apple4ever on Wednesday March 20, 2019 @06:58PM (#19447842)
Admittedly, I do not have a lot of experience in other CPUs, but to me its just the way its designed. A simple syntax for assembly and the way it maps to byte values is clever. It doesn't require a lot of work to make things happen, ie "hacks" for interacting with IO. I also like how there is a separate IO bus from the data bus, which means IO doesn't take up memory. The register naming convention is simple, and having "alternate" registers is cool.

Just seems simple and cool to me.

Re:Show HN: A retro video game console I've been working on ... by Marazan on Friday March 15, 2019 @04:28PM (#19403973)
You can hand clock a Z80. There is a certain magic to that.
Re:Show HN: A retro video game console I've been working on ... by saagarjha on Friday March 15, 2019 @08:01PM (#19405455)
I'm sorry, but what does "hand clocking" a Z80 mean?
Re:Show HN: A retro video game console I've been working on ... by dangerbird2 on Saturday March 16, 2019 @12:30AM (#19406359)
I think GP's use of "hand-clocking" to refer to the factthat the z80 can run on a very low clock rate, to the extent that you can have a hand switch that sends individual clock pulses to the processor. This can be useful for testing purposes as well as for low power operation in embedded applications.

http://www.thomasloven.com/blog/2013/01/Z80-Tester/

Re:Show HN: A retro video game console I've been working on ... by Marazan on Monday March 18, 2019 @11:49AM (#19422084)
As the Z80 doesn't use dynamic registers (I think basically the only "modern" CPU to make this decision) it doesn't need a minimum clock signal speed to refresh the registers as every other CPU does.

This means you can rig up a push button switch and manually advanced the clock one button press at a time.

To me that's super cool. It also makes them really easy to debug.

Re:Show HN: A retro video game console I've been working on ... by collinmanderson on Saturday March 16, 2019 @10:39AM (#19408002)
I used to do Z80 programming in the TI-82 in high school back in 2002. This seeing the code in the article brought back some good memories.