8 ms·
Build a 6502 Computer
- HappyJoy 7y agoHoly crow I'm excited. These are high quality and very accessible.
- LIV2 7y agoNice! 6502's are fun to play with and relatively easy to put together a system with one. There's still quite a community of us building new systems with the 6502 on the 6502.org forums if anyone is looking for more info re: programming/hardware, hints and tips etc
- stevekemp 7y agoIt is nice to see this kind of thing still going on. I've been doing something similar with a Z80 recently; currently I have a Z80 hooked up to an arduino-mega, which is faking port-based I/O and RAM read/writes. When I started my goal was to write some simple code, hosted on the arduino, then put together a "real" system with EPROM for ROM and proper RAM chips. Instead I got distracted porting BASIC, FORTH, and similar things to the working processor. I should get back to it! I think the Z80 is simpler to get started with than the 6502, when it comes to physical circuits, as it needs fewer components. (Having RAM refresh built-in, for example.)
- LIV2 7y agoWhen I started with the 6502 it took a while to get a working, stable system due to a couple of weird circuit issues (like forgetting to qualify R/W by PHI2) which wouldn't have been the case if I was using a Z80 Do you know if there is a forum for Z80 homebrew systems?
- stevekemp 7y agohttp://www.z80.info/ http://www.z80.info/ has a lot of information, but it's not a forum as such. I've found a couple of groups on reddit, for retro building and z80 systems, but nothing really large. FWIW this is the high-level overview I've put together: https://steve.fi/Hardware/Z80/ https://steve.fi/Hardware/Z80/
- linker3000 7y agohttps://www.retrobrewcomputers.org/forum/index.php https://www.retrobrewcomputers.org/forum/index.php https://groups.google.com/forum/#!categories/retro-comp https://groups.google.com/forum/#!categories/retro-comp https://groups.google.com/forum/#!forum/rc2014-z80 https://groups.google.com/forum/#!forum/rc2014-z80
- djmips 7y agoThe Eater 6502 design is using Static RAM so the RAM refresh is a non issue. Look at the schematic. Its just CPU, ROM, RAM, VIA, LCD. Doesn't get much simpler than that.
- sxcurry 7y agoI’m currently building Ben’s earlier 8 bit computer. His videos and kits are great. Can’t wait to get started on the 6502.
- bogomipz 7y agoOh this is fantastic! I'm excited to order this. Does anyone know if this kit will be a new Ben Eater video series or does this kit go along with an existing set of videos?
- iguessthislldo 7y agoThis is kinda different from the 8 bit computer series and there's a new video up now, so I'm thinking it will be a new series.
- rdc12 7y agoNew series [1][2] which will be awesome to watch even without buying the kit. [1] "This series is in progress and more videos are on the way soon!" [2] "I expect all of the videos will be released by the end of 2019 or sooner."
- CorpOverreach 7y agoIf you haven't already, I highly suggest checking out the rest of Ben Eater's videos. He's an absolutely excellent teacher, and his series on building an 8-bit computer from basic logic gates is a super interesting watch that has me on the verge of buying a ton of breadboards and attempting it myself.
- minraws 7y agoChecking out all his videos is worth it. The earliest videos are a bit rough but still very informative.
- contingencies 7y agoHoly crap the linked kits are expensive. Seems to be because certain components are unavailable for less than ~4x the price of fully integrated modules containing modern MCUs.
- ddingus 7y agoSeriously? A good kit, with video content and community for under $100 is a steal! I want one like yesterday. 6502 programming is fun. Ben is an excellent teacher.
- snvzz 7y agoFun, but not as much as with a 68000. The 68008 and the HC models make doing this particularly easy.
- kwoff 7y agoWhen I took an electronics class a couple decades ago, we built a 68k computer based on https://en.wikipedia.org/wiki/The_Art_of_Electronics https://en.wikipedia.org/wiki/The_Art_of_Electronics
- raphlinus 7y agoDavid Murray (aka the 8-bit guy) has a plan to build the "Commander X16", a new 6502 based computer that is philosophically similar to a VIC-20 but has more RAM (2MB), a higher clock (probably 8 MHz) and an FPGA to do VGA video. It might not be on the radar of people here because of some odd choices, like using a Facebook group as the primary discussion forum.
- kgwxd 7y agoI really can't wait for that to happen. I'm going to be throwing money at that project like crazy. There's already an emulator for the OS [1]. I had never done any C64 programming, but I was able to do some BASIC tutorials using it with the exception of any video stuff, since that will be different on the X16. He did some videos about the project [2] [3]. I absolutely hate that he formed the group on Facebook. I'll be missing so much. [1] https://github.com/commanderx16/x16-emulator https://github.com/commanderx16/x16-emulator [2] https://www.youtube.com/watch?v=ayh0qebfD2g https://www.youtube.com/watch?v=ayh0qebfD2g [3] https://www.youtube.com/watch?v=sg-6Cjzzg8s https://www.youtube.com/watch?v=sg-6Cjzzg8s
- ddingus 7y agoI think he's gonna hit the sweet spot. Great project. Fan here for sure. Watching him grow his retro channel has been a lot of fun. Seems like a great guy, and he's got a sense of where retro hits home.
- bremensaki 7y agoHe and his brother have independent forums as well, and there's a sub dedicated to the X16. https://murray2.com/forums/commander-x16.9/ https://murray2.com/forums/commander-x16.9/ It's still primarily on Facebook, unfortunately, but the forum is starting to finally gain some momentum as well. Lots of information on the project in there. Some good discussions on other retro topics too. Worth a visit.
- deleted 7y ago[deleted]
- 7y ago
- forgotmypw 7y ago>You need to enable JavaScript to view this site. Build a 6502 computer Learn how computers work by building and programming a computer with the classic 6502 microprocessor. This was the first truly low-cost microprocessor that started the personal-computing revolution. Versions of 6502 found their way into the Atari 2600, Apple II, Nintendo Entertainment System, Commodore 64, Atari Lynx, BBC Micro and many other computers and game consoles of the era. In this video series, I'll build a basic 6502 computer with an LCD display and a few buttons, explain how to program it in assembly, and write a game or two. Videos This series is in progress and more videos are on the way soon! 27:24 “Hello, world” from scratch on a 6502 Kits If you’re interested in following along with the videos and building your own 6502 computer, I provide a kit that includes all of the components. Please note: In addition to the base kit, you will need: A 5-volt power supply An EEPROM programmer Also, if you want to follow all of the experiments and debugging in the videos, I recommend the clock module kit and an Arduino Mega. The clock module kit also happens to include a 5-volt power supply. Note: This kit is designed to go with the video series above which is not yet complete. The videos are the only instructions for the kit. So if you buy the kit now, you will need to wait for me to finish producing the rest of the videos. I expect all of the videos will be released by the end of 2019 or sooner. Please see the fine print below, particularly for non-US customers. Schematics Here's the schematic for the final computer—or at least as far as I plan to go with the initial series of videos. The kit above includes all the parts to build this (plus a few extra buttons and LEDs to give you some options for I/O.) Schematic of the 6502 computer Data sheets W65C02 W65C22 HD44780 74HC00 Quad 2-input NAND gate 28C256 256K Parallel EEPROM 62256 256K SRAM Parts list Here are all the parts for the 6502 computer. This list is roughly the same as what's included in the kit above, in case you only need individual parts or want to source them from elsewhere. Qty. Description Sources 3 Breadboard Jameco, Amazon 1 22 AWG Solid Tinned-Copper Hook-Up Wire Jameco, Amazon 1 W65C02 CPU Jameco 1 W65C22S6TPG-14 Versatile Interface Adapter Jameco 1 AT28C256 EEPROM Jameco 1 AS6C62256 32k SRAM Jameco 1 16x2 Character LCD Display - White on Blue Jameco 1 74HC00 (Quad 2-input NAND gate) Jameco 1 1Mhz Crystal Oscillator Can Jameco 8 Tact pushbutton switch Jameco 10 Red LED Jameco 1 10kΩ potentiometer (for LCD panel contrast) Jameco 10 220Ω resistor Jameco 10 1kΩ resistor Jameco 10 0.1µF capacitor Jameco You’ll also want to have some way to program the EEPROM. In the videos I use a TL866II Plus programmer. The fine print Unless otherwise noted, most orders will ship within a week, often much sooner. If you have questions about an order, payment, or shipping, please contact support@eater.net and include your order number. For technical help assembling or troubleshooting the kits, please post a question at reddit.com/r/beneater since it’s difficult for me to answer these individually. I do try to stay active there. Non-US customers: Note that all kits ship from California. I’m willing to ship a box anywhere you want, but the buyer—that’s you—is responsible for any applicable import duties and local taxes. Please verify with your customs and taxing authorities before making a purchase to understand what else you may be required to pay. Finally, the power supply in kit 1 has a North American style plug. It will work worldwide because it supports 100-240 volts, but if your country uses a different type of electrical outlet, you will need to provide a plug adapter (e.g., something like this).
- mcnichol 7y agoBen Eater is simply the best! One of the best teachers I have come across. If you are interested in hardware internals, I would highly recommend him. I am ecstatic this is a thing and hope it is a massive hit.
- orinezt 7y agoThe 65816 is nearly as easy to use as the 6502 or 6809. The same cannot be said for modern 32- and 64-bit processors.
- ngcc_hk 7y agoE progmmer no available though. That double the shipping costs or adding 25+% to the overall cost. Would he have that later?
- mdpye 7y agoI built my own using an ardino clone and a couple of shift registers to provide enough i/o pins. It probably cost less than £5 in parts, offset by 5 or more hours designing and fabricating the thing. But if you're looking to build a 6502 single board computer, it's actually a great preparatory project! I should share the schematics and code, but I'd have to spend some time polishing them for publication - I built it on a breadboard, so I'm not even sure if the schematic is accurate.
- omgtehlion 7y agoIt is quite popular chinese TL866II, you can search for it anywhere, it just got mine for $37 from aliexpress
- mmjaa 7y agoAnother great way to learn 6502 computing: get a retro-computer back up and running. I have a suite of Oric-1/Atmos machines that are in use for precisely this purpose. Its wonderful to return to a simpler era of tooling and methodology, and the feeling once you get it all up and running and building new apps .. for 30 year old computers .. is quite rewarding. Feels good to have done something productive with what would otherwise have become landfill ..
- raverbashing 7y agoOne thing I "worry"/question about these "vintage" projects is the choice of processor. The 6502 wasn't great. The Z80 wasn't great neither but I'be heard it might be slightly better in some ways I wonder what would be the best 8bit processor available (or even ditch the 8 bit stuff and go 16bit). Maybe the 8031 series? Maybe a modern one?
- jonsen 7y agohttps://en.m.wikipedia.org/wiki/Motorola_6809 https://en.m.wikipedia.org/wiki/Motorola_6809
- forinti 7y agoI've never seen one in person, but from the specs, the Fujitsu 8 bit micros were the best and they used the 6809. My beloved beeb could only really compete in expandability.
- cmrdporcupine 7y agoThe Hitachi 6309 is even better. But the problem with the 6809/6309 is that they max out at a clock rate of 3-4mhz and there's no new chips being made. Whereas WDC & Zilog still manufacture brand new 6502 and Z80 chips, and they clock way higher. A brand new 6502 can do 20mhz. So probably for retro projects that want a little more oomph, you're better off picking a 65816 clocked at 15mhz or so, than a 6809 at 4mhz. The 816 has relocatable direct page and stack like the 6809, too.
- ddingus 7y agoStrongly seconded, along with the Hitachi 6309. But the latter is hard to source. 6809 would be just fine. I keep a Color Computer 3, which has the 6809 stock, just because it's so much fun to program. Best of the 8 bit chips, if you ask me. You know, when David gets done with this system, it's not a big stretch to make one with a 6809. Maybe someone will. The 6502 was used because the Commodore kernel can be reused, or something like it can. It's not a total rewrite and that gets the project somewhere useful and familiar quickly. I don't blame 'em, and the 6502 is fun too. I also suspect a rewrite of those components, BASIC, etc... in 6809 would end up smaller, faster and more feature rich too. Big project though.