I finished the “ultimate” homemade CPU and 8bit computer with discrete logic
I finished the "ultimate" homemade CPU and 8bit computer with discrete logic from electronics
View Reddit by PH4Nz – View Source
I finished the “ultimate” homemade CPU and 8bit computer with discrete logic
I finished the "ultimate" homemade CPU and 8bit computer with discrete logic from electronics
View Reddit by PH4Nz – View Source
EDIT: Added schematics and code! Check last link
I finally finished my “ultimate” homebrew 8bit computer and CPU with discrete logic!
I started working in april on a breadboard version(Ben Eater’s version with some improvements) and then I really wanted to add some I/O, so I ended up starting my own design from scratch.
It is made only from discrete logic(74XX series), except from the ROM and RAM chips. I honestly lost the chip count, but way too many!
Some features:
-Up to 2MHz clockrate
-32kB RAM +32kB ROM
-Built-in VGA controller: 64 colors (6bit RGB) 160×120@60Hz
-PS/2 keyboard interface
-SPI interface, with some changes to work with PS2 controllers(definitely doing PONG soon)
-More than 200 LEDs to see program flow and debugging when running on stepped mode or low clockrates
Now that I have finished, I would lie if I said I wouldn’t change some things, like making external CPU registers actually external(see architecture diagram below) but hey, I’ve learned a ton from it.
It is currently running a little console I’ve been working on on the last few weeks. It is able to write strings on screen as well as reading the keyboard inputs through interrupts. Everything is done in my assembly language(so you can imagine the pain). For the moment it only has a few commands like “print”, “peek” or “poke” and a “math” one is under work.
If you were curious of why I did this, I’m just a passionate EE student with the need of understanding everything without taking anything for granted.
I’ll leave you a few links if you want to see/know more about the project:
-Drive folder with some more quick photos/videos
https://drive.google.com/folderview?id=1q32g3dwwyNP5XzN6Vsej-OTlF6jWyRdp
-Small documentation(with architecture overview)
https://docs.google.com/document/d/1PaDhY0az9NNwjLCoNeEh90wcKQV8vp-2mBz0qBVYGaY/edit?usp=drivesdk
-How I made the VGA controller and full schematics(for the sandalone version)
https://www.reddit.com/r/electronics/comments/bz2xak/i_just_made_a_vga_signal_out_of_basic_logic_ics/?utm_medium=android_app&utm_source=share
-Breadboard PS2 controller interface
https://www.reddit.com/r/electronics/comments/c7bp5l/ps2_controller_interface_with_logic_ics/?utm_medium=android_app&utm_source=share
-Full schematics and code!
https://github.com/PHANzgz/PHANAND_ONE
If you have any questions, let me know!
And of course is a low level discrete GAMER HARDWARE. WITH RGBs. Hahaha just kidding this is beyond amazing. Congrats man. All the success to you!!
This may be the most amazing thing I’ve ever seen.
Why did you build it?
What can it do?
What’s next?
How long did it took to make it?
I am so impressed with this. Well done!
After Ben’s video with outputting a VGA display using only TTL logic I was determined to come up with a text mode interface design on my own and nearly tore my hair out. How did you create the text mode and display?
Again, be very proud you succeeded! With gamer RGB no less!
Great. Now I will spend even less time working and instead browsing your links. BTW, does your computer have the 8bitguy’s approval?
When I saw you enter the command poke… it reminds me of my first Apple II plus. Which has the poke and peek command
[deleted]
Can it play Doom?
Amazing work!
How much did it cost?
Great job. I wonder, what is the advantage of using discrete logic components instead of fpga, from an educational standpoint.
How much did it cost to manufacture that PCB? I’m only asking because that looks incredible.
Damn that’s cool! OK, you win! We can close the subreddit now.
This is awesome!! Thank you very much.
/r/nextfuckinglevel
mind blown. respect!!!
time to install jarvis 1.0
There was a kit circa ~1971, made by a company TAB, that was a TTL discrete processor. Also based on 7400 series. With the [74181](https://en.wikipedia.org/wiki/74181) ALU as part of the central part. I can’t find any web search data on it, but I remember seeing boards for it around that time.
Good work, especially the VGA, what did you think was the hardest/most time consuming part of it?
Rgb
That computer actually looks cool, I wish i had the knowledge to build 8 bit marvels like this or learning how to build my own CPU
People like you keep inspiring us.
This thing looks incredible. Keep up the excellent work!!
wow!
Absolutely amazing dude. I am working on a similar project. Right now the biggest struggle is making the logic chips of my vga video card fit onto the pcb format I want. This has given me loads of motivation. I’ll go work on it right now!
Nice
So many leds!
*fapping furiously* All joking aside, color me impressed. That’s some neat stuff.
Really impressive. Can it run crysis?
Can you give the schematics or some kind of list of all the components used?
Holy F*ck.
Awesome work man! Thank you for sharing!
Just amazing!
I bet when it finally worked you were like ” ITS ALIVEEEEE”
Now that is cool.
Well it kind of seems like a complete pc to me, IO, Ram, Rom, Cpu, Gpu.
also you might have one of the first modern RBG CPU’s.