This is the coolest thing I've seen posted on HN in years, very cool work.
I've been playing with Atari 2600 programming on and off for the past few years and it is so fun programming directly against the specific hardware. I can't help but occasionally wonder if I could piece together a similar system, but I have 0 experience with electronics. I can only imagine how satisfying it must be to actually pull it off.
It really is super satisfying to get this far, I still turn it on sometimes just to check if it really works. And I also had zero experience with electronics (and I still don't know as much as I should...), so yeah I think you could piece together something like this. :)
The only multi-input game I have right now is Tetris for 2 players.
My girlfriend doesn't complaint while playing it (except when I win :P), so I'd say it's pretty responsive, even with the somewhat convoluted way the CPU communicates with the PPU and the double-buffering. I think it will work for other types of games as well.
With all the hardware, firmware for the 3 microcontrollers, bootloader software, compiler toolchain and tools, I still haven't gotten around to actually make a lot of games for it.
You should check out Adafruit and Sparkfun as well. They have a lot of solid tutorials to get you started, and a bunch of inexpensive microcontrollers that are easy to get going with, as well as all sorts of lights and sensers and switches to connect to them.
> I still turn it on sometimes just to check if it really works.
I feel this on a personal level, albeit on my much smaller, less complicated projects. Thanks for the amazing write-up, you are an inspiration to us all.
There is something weirdly satisfying about doing something purely for the sake of doing it. So many people start projects hoping they can turn it into a business or gain stars in Github - you see less and less people hacking stuff together just for personal enjoyment.
I think we need more of that too. Everyone seems to be on a quest for perfection: perfect code, 3D printed casing, everything intellectualised to the nth degree. There's a lot to be said for the "rough and ready" approach of experimentation. However to do that you really need to be on a pursuit for personal gratification because the internet is a harsh bitch for pointing out ones mistakes.
As much as I enjoy quickly building circuits on a breadboard like in many of the photos, they’re hell to debug, because there’s so much that can go subtly wrong. It’s much easier with digital than analog circuits, of course, but it still can be crazy hard to logic-probe every connection to get it all to work. I have spent far too much time fixing little bugs in breadboarded circuits. The toughest issue I encountered was when someone melted through part of a big, expensive breadboard with a soldering iron and it caused shorts on the other side of the board. I couldn’t even trust that the holes that were supposed to be connected were in that case, and I sure wasn’t going to copy over the project onto a new breadboard.
However, I’m not sure if there is an easier way to get quickly prototype electronics. Opting for more ICs and a lower BoM count helps, because there’s less wiring to do in the first place.
I totally agree.
The reason I stuck to DIP ICs was because I could fit them into breadboards and I thought that was easier than any alternative.
I was incredibly lucky on how all the breadboards were functional.
And there were a few times where I would accidentally disconnect a wire and spend the next 2 hours trying to figure out what was wrong.
All this without having a logic analyser and not even an oscilloscope until much later in the build (they are not that cheap).
And yes the project sure is complex, too complex, but I guess I was lucky, and I'm glad it's working :).
I had a few interesting experiences breadboarding for a project of my own, for a 6502-based project. Most notable were:
- Being able to detect noise from the system clock crystal oscillator all cross the breadboard (using my oscilloscope) - Seeing certain I/O pins float to a bit too high of a voltage, when they were supposed to be "low", probably due to breadboard capacitance - Accidentally making an AM radio when I forgot to connect a wire on an LM386 I was testing as an audio amplifier Things got a lot cleaner when I went to a PCB, but I did make it all work on breadboards first.
FYI: saelae makes an affordable logic probe. chinese clones are available for ~$10 and usually work with saelae's official software or with sigrok. a logic analyzer is really a game-changing tool.
For those interested in working with wire wrap: ebay/aliexpress/whatnot all sell old-new-stock wire wrap wire and the manual wrapping tools. Wire wrap works perfectly on standard headers, but the extra-long headers you sometimes see on arduino shields and such give you a couple more connections per pin: 5 vs 3 if I recall correctly.
It's a really nice way to work, you solder your components onto one of those pcbs with a lot of holes, solder the pins next to em, and from that point on you can wire, unwire, and rewire to your hearts content. Its great to easily be able to undo a connection when you make a mistake.
I would argue that with the extremely low cost of PCB manufacturing (and... if you have access to it... assembly) it's easier now to just lay out a PCB and get it made. The trick is to build up a library of circuit "modules" (like... power supply section, battery charging, video output, etc) that get copy-pasted together.
Of course there's the delay in waiting for the PCBs, which could be frustrating for a hobby project (I was lucky enough to live in SZ for a while where getting PCBs back 2 days after ordering is standard). But parallelising projects can be an effective way of dealing with that, and the variety on working on different things (and the joy of getting a PCB in the mail) can help to mitigate that.
Cardboard is a fantastic material. You can draw the schematic on, and then run copper tape along the schematic. It's easy to annotate, since you just need to use a pen. It's able to handle much more current than a breadboard, since the copper tape has a lot more metal than thin wires. You can solder directly to it, and with tape (or some other insulating material) you can cross wires without having them short. You can also work with SMT ICs. Using a pair of scissors, you can make your own pads and solder to them. I connected an SO8 to read off the SPI data using copper tape. I built an amplifier using a spare Novena amplifier IC on cardboard with copper tape. And I have a level shifter done on cardboard with copper tape. Bunnie has a good article on it here, including an example power regulator that's handling 2A on cardboard: https://www.bunniestudios.com/blog/?p=5259
Yeah, absolutely. Especially coming from a modern software developers POV. I always think it would be fun to get into electronics, but it just seems so much to take in.
I've kept this project to myself and would only describe it occasionally to some coworkers and friends. I never thought that many people would find it cool. And always thought that people with more knowledge than me would find a lot of flaws.
So it's really awesome to read yours and all the other comments. :) I don't think I could write a book, but I have though in writing other posts, giving more detail in certain aspects of the console.
There's really a lot I could say about it and I only realised how much there was to say when I started writing this.
Just adding to the chorus saying they’d buy a kit and/or book. For branding, play on your introduction for PGG: Portuguese Guy Gaming. Either way though, you definitely should write more posts if it’s something you’d be interested in, you definitely have an excited and willing audience.
A kit for this console would be crazy though, too many components, too much complexity. But for a smaller version, it could be done. Branding...yeah, I could never get a name for it, til this day I don't know what to call it, I'm terrible with names.
Maybe I'll take your suggestion :).
This is amazing. I'd also love to read a book on this. Electronics is always something i've thought was cool and played around with a little bit, but never really thought something like this was possible with a bunch of slapped together parts. I feel I learned a bunch just reading the bit od your process described in your article and it really made it feel like something accessible for the average person with a bit of technical knowledge and patience. Thanks for sharing that.
You won't know until you start. It's not about writing book, it's just about putting your hardwork in words. You mentioned in your writeup that you used to think same way about building a console.
I have zero knowledge about electronics, consoles, or any of this and I am fascinated by what you did with your free time. Please write a book and publish it here. I'm sure lot and lots of people would love to read it.
Start writing a book and keep writing posts on some of the details and use them to collect emails of people interested in buying the book once it comes out. Also, get on twitter for the same reason.
Well, I'm glad the response has been so positive! And I'm always afraid of that too, but getting something done and out there is better than not doing anything. Plus, I think most people are supportive, and if there is any constructive feedback, hopefully it's coming from a place of just wanting to help rather than tear down.
I think most people are just amazed at what you accomplished :) I am! Please consider writing a book or blog posts or at least something! But if you don't I totally understand, don't feel bad about not doing something requested, or anything else either. It's your life and your project :D We are here just to support you and say thanks for inspiring us!
Oh to built 20Mhz systems again! ... no picosecond timing skews to stress over, no ground plane worries, no trace-related design rule violations, no harmonic noise issues, no dynamic bus inversions to prevent victim/attacker degradation, no thermal issues... I spend so much time debugging GHz multi-layer circuit boards that I forget how "easy" 20MHz digital circuits can be. This guy's project is truly inspiring!
Comments (210) 92 threads
I've been playing with Atari 2600 programming on and off for the past few years and it is so fun programming directly against the specific hardware. I can't help but occasionally wonder if I could piece together a similar system, but I have 0 experience with electronics. I can only imagine how satisfying it must be to actually pull it off.
It really is super satisfying to get this far, I still turn it on sometimes just to check if it really works.
And I also had zero experience with electronics (and I still don't know as much as I should...), so yeah I think you could piece together something like this. :)
Is it fast enough for multi-input / multi-player?
The only multi-input game I have right now is Tetris for 2 players. My girlfriend doesn't complaint while playing it (except when I win :P), so I'd say it's pretty responsive, even with the somewhat convoluted way the CPU communicates with the PPU and the double-buffering.
I think it will work for other types of games as well. With all the hardware, firmware for the 3 microcontrollers, bootloader software, compiler toolchain and tools, I still haven't gotten around to actually make a lot of games for it.
Continue this thread — 2 replies
Thanks :)
Continue this thread — 9 replies
I know that feeling ;)
I feel this on a personal level, albeit on my much smaller, less complicated projects. Thanks for the amazing write-up, you are an inspiration to us all.
I think we need more of that too. Everyone seems to be on a quest for perfection: perfect code, 3D printed casing, everything intellectualised to the nth degree. There's a lot to be said for the "rough and ready" approach of experimentation. However to do that you really need to be on a pursuit for personal gratification because the internet is a harsh bitch for pointing out ones mistakes.
However, I’m not sure if there is an easier way to get quickly prototype electronics. Opting for more ICs and a lower BoM count helps, because there’s less wiring to do in the first place.
And thanks :)
- Being able to detect noise from the system clock crystal oscillator all cross the breadboard (using my oscilloscope)
- Seeing certain I/O pins float to a bit too high of a voltage, when they were supposed to be "low", probably due to breadboard capacitance
- Accidentally making an AM radio when I forgot to connect a wire on an LM386 I was testing as an audio amplifier
Things got a lot cleaner when I went to a PCB, but I did make it all work on breadboards first.
(It seems like it's still a thing in fact http://www.nutsvolts.com/magazine/article/wire_wrap_is_alive...)
It's a really nice way to work, you solder your components onto one of those pcbs with a lot of holes, solder the pins next to em, and from that point on you can wire, unwire, and rewire to your hearts content. Its great to easily be able to undo a connection when you make a mistake.
Cardboard is a fantastic material. You can draw the schematic on, and then run copper tape along the schematic. It's easy to annotate, since you just need to use a pen. It's able to handle much more current than a breadboard, since the copper tape has a lot more metal than thin wires. You can solder directly to it, and with tape (or some other insulating material) you can cross wires without having them short.
You can also work with SMT ICs. Using a pair of scissors, you can make your own pads and solder to them. I connected an SO8 to read off the SPI data using copper tape. I built an amplifier using a spare Novena amplifier IC on cardboard with copper tape. And I have a level shifter done on cardboard with copper tape.
Bunnie has a good article on it here, including an example power regulator that's handling 2A on cardboard: https://www.bunniestudios.com/blog/?p=5259
Great job
I've kept this project to myself and would only describe it occasionally to some coworkers and friends. I never thought that many people would find it cool. And always thought that people with more knowledge than me would find a lot of flaws. So it's really awesome to read yours and all the other comments. :)
I don't think I could write a book, but I have though in writing other posts, giving more detail in certain aspects of the console. There's really a lot I could say about it and I only realised how much there was to say when I started writing this.
A kit for this console would be crazy though, too many components, too much complexity. But for a smaller version, it could be done.
Branding...yeah, I could never get a name for it, til this day I don't know what to call it, I'm terrible with names. Maybe I'll take your suggestion :).
That's what you thought about building a video game console from scratch, and look how that turned out :) Awesome work!
Great work!
I have zero knowledge about electronics, consoles, or any of this and I am fascinated by what you did with your free time. Please write a book and publish it here. I'm sure lot and lots of people would love to read it.
Start writing a book and keep writing posts on some of the details and use them to collect emails of people interested in buying the book once it comes out. Also, get on twitter for the same reason.
I think most people are just amazed at what you accomplished :) I am!
Please consider writing a book or blog posts or at least something! But if you don't I totally understand, don't feel bad about not doing something requested, or anything else either. It's your life and your project :D
We are here just to support you and say thanks for inspiring us!
Continue this thread — 1 more reply
Continue this thread — 4 more replies
Continue this thread — 4 replies
All comments shown.
Couldn't load more comments. Check your connection and try again.