The MOnSter 6502 - how Eric Schlaepfer built a 6502 processor out of discrete transistors

  Рет қаралды 12,217

Zero To ASIC Course

Zero To ASIC Course

Күн бұрын

Website: monster6502.com/ & visual 6502 www.visual6502.org/JSSim/index...
Eric's socials: / tubetimeus & mastodon.social/@tubetime
Other interviews: theamphour.com/609-open-circu... & unnamedre.com/episode/58
00:00 Intro
01:39 Visual 6502
02:15 Javascript list of transistors
03:16 Spreadsheet of each transistor
05:48 Compared to a gate level netlist for an ASIC
07:08 Altium Schematic
07:54 Different to modern layout
10:43 NMOS logic
12:40 Fanout
14:38 How buses work in the 6502
16:48 Transmission gates
19:55 Design gives us a snapshot of what chip design was like at the time
21:08 Rotate Right wasn't implemented
22:05 27C3 Reverse Engineering the MOS 6502
22:36 Manual verification of each transistor
23:22 Eric wrote his own LVS tool
25:19 Discrete 4004
25:27 MOnSter 6502 FAQ
25:45 Getting ready for PCB layout
26:32 Eric tried to prove it wasn't going to be possible
27:46 A challenge is that 6502 uses dynamic logic
28:14 Dynamic latches
28:43 Matt's flip flop video
30:52 Designed for a specific process
31:49 Custom process designed by MOS allowed depletion mode transistors
33:07 Big differences between PCB and Chip level
34:05 PCB layout
35:28 6502 layout all done by hand
37:58 Visual 6502 was very helpful for debugging
38:25 PCB validation
39:21 Powerup strategy
39:59 Scotch tape for finding hot transistors
40:35 Power expectations
41:50 First test was a NOP
43:38 Woz single step circuit
44:22 First program
45:12 Testing every transistor
47:25 80% coverage
48:29 Production status

Пікірлер: 36
@GerbenWijnja
@GerbenWijnja 3 ай бұрын
Eric, if you're looking for a high resolution thermal camera, look for a Seek Thermal Reveal Pro. It has a thermal resolution of 320x240. Don't buy a FLIR, they are too expansive for what you're getting. Most FLIR camera's in the low price ranges have a thermal resolution of only 80x60, and cheat by adding contrast lines from an optical camera. Seek Thermal doesn't do that, they have actual thermal resolution at a fraction of the price you pay for a 'real' FLIR. As a C64 fan, I find your 6502 project very fascinating. Great work!
@user-vq5rx5ym6b
@user-vq5rx5ym6b 17 күн бұрын
🖤6502🖤
@edgeeffect
@edgeeffect 10 ай бұрын
Let's not forget Eric's regular guest appearances on Curious Marc
@henryD9363
@henryD9363 8 ай бұрын
Oh yes! He is so amazing in his diagnosis and analysis of not quite working Apollo equipment , for example. The room always gets more than a little bit smarter when he shows up.
@videolabguy
@videolabguy 6 ай бұрын
I had the pleasure of working at the same company with Eric for a while. He is the smartest person I know. this project is simply mind boggling to a mere mortal such as myself.
@Wishbone1977
@Wishbone1977 7 ай бұрын
As someone who is currently trying to write a 6502 emulator I can sympathize with the difficulty in coming up with sufficient test scenarios to have adequate coverage. That is one thing I have stolen a lot of, other people's test scenarios. Particularly for the decimal mode functionality of the ALU.
@pentachronic
@pentachronic 11 ай бұрын
This is very cool. This was the first microprocessor I learned to use and hand wrote and assembled my own code on. Literally I wrote the program and ops on paper and then translated them into hex/bytes by looking up in the tables in the Rodney Zaks 6502 book. Branch calculations were always a bit tricky. Then I poke’d them in to memory and ran them. On a commodore Pet 2001! Fun days when you were a kid! I have very fond memories of the 6502.
@smudgerdave1141
@smudgerdave1141 7 ай бұрын
Me too. I recall you had to be careful about croosing page boundaries. My school computer was a PET 3032. I used to write on green lines printer paper my dad brought from work.
@MrZnarffy
@MrZnarffy 6 ай бұрын
Me too, I used to spend time at math classes to hand assemble code to run on the schools Apple II+'s on my lunch break.. I still know RTS is 60 hex, 40 years later.. LOL
@pentachronic
@pentachronic 6 ай бұрын
@@smudgerdave1141 Dot matrix fanfold printer paper (or teletype fanfold printer paper - basically the same stuff). Know it VERY well!!
@smudgerdave1141
@smudgerdave1141 6 ай бұрын
@@pentachronic This was fanfold line printer paper around 18" wide. 😊
@NotMarkKnopfler
@NotMarkKnopfler 12 күн бұрын
Ha! Yep - did the same but with the Z80. Wrote the op-codes into the back of my school maths book!
@SatelliteGalaxy
@SatelliteGalaxy 4 ай бұрын
I'd like to see a discreet transistor version of Apples M2 processor with its 20 Billion transistors.
@peterschmidt-nielsen3577
@peterschmidt-nielsen3577 11 ай бұрын
Wow, what a great conversation! Eric is a very clear speaker.
@brandonsamuelcruzsilva7626
@brandonsamuelcruzsilva7626 11 ай бұрын
Excellent video Matt! I like that he connects technology very well, from the science at the device level to putting everything together to visualize a computer's operation, inspires me to learn more.
@LongnoseRob
@LongnoseRob 11 ай бұрын
Thanks for the great interview giving great deail about how this project was done.!😍
@csolumaz
@csolumaz 3 ай бұрын
Fantastic
@JohnnieMartynov
@JohnnieMartynov 4 ай бұрын
WOW! This is great! Amazing work! 🤩👍
@ChrisJackson-js8rd
@ChrisJackson-js8rd 11 ай бұрын
great stuff!
@eitantal726
@eitantal726 9 ай бұрын
I'm interested in making a functional simulation of the SID chip, much like what was done on visual6502
@ArneChristianRosenfeldt
@ArneChristianRosenfeldt 7 ай бұрын
Then use LT spice ? SID is analog. IMHO that was a big mistake. With that much chip area and mono output ( only one DAC) I could have made real wavetable sound. Why even a 12bit DAC? PcEngine got away with 5 bits. Isn’t there noise in the SID at a level above the lsb? Could MOS even guarantee the correct order of analog values ( precision resistors )? I suggest two or four pulses per scanline and modulate their width. Delta sigma for the fraction. Bonus points if we could use the 15 MHz crystal signal instead of the pixel clock for a bit more. And balanced DDR to use two phases.
@noreagatube
@noreagatube 7 ай бұрын
crazy
@markohara5146
@markohara5146 10 ай бұрын
Want one.
@WaldoHazeleger
@WaldoHazeleger 4 күн бұрын
Can the schematic be changed (and build) in simple logic gates/registers in stead of transistors ?
@ZeroToASICcourse
@ZeroToASICcourse Күн бұрын
Yes I'm sure it could be.
@WaldoHazeleger
@WaldoHazeleger Күн бұрын
@@ZeroToASICcourse Do you have any example?
@newtitojff
@newtitojff 7 ай бұрын
Why not Kicad?
@drdengineering819
@drdengineering819 6 ай бұрын
Question is, did you own a Qume terminal.
@GFScreech
@GFScreech 11 ай бұрын
Want to make on
@francoisleger287
@francoisleger287 11 ай бұрын
How slow can it run?
@TheKetsa
@TheKetsa 11 ай бұрын
14:40
@ZeroToASICcourse
@ZeroToASICcourse 11 ай бұрын
You can single step it, so as slow as you want
@francoisleger287
@francoisleger287 11 ай бұрын
@@ZeroToASICcourse I was not thinking of the delay between clock cycle, but about the maximun delay between the two edges of a clock cycle.
@ArneChristianRosenfeldt
@ArneChristianRosenfeldt 7 ай бұрын
@@ZeroToASICcoursebut the IC cannot!?
@user-fq6qy8tk2z
@user-fq6qy8tk2z 7 ай бұрын
牛逼,
@hernancoronel
@hernancoronel 10 ай бұрын
Can it run DOOM? LOL!
27c3: Reverse Engineering the MOS 6502 CPU (en)
51:57
Christiaan008
Рет қаралды 428 М.
Rest in peace Z80, long live the open source Z80!
37:39
Zero To ASIC Course
Рет қаралды 10 М.
маленький брат прыгает в бассейн
00:15
GL Show Russian
Рет қаралды 1,1 МЛН
Não pode Comprar Tudo 5
00:29
DUDU e CAROL
Рет қаралды 83 МЛН
Қайрат Нұртас & ИРИНА КАЙРАТОВНА - Түн
03:41
RAKHMONOV ENTERTAINMENT
Рет қаралды 994 М.
АВДА КЕДАВРАААААА😂
00:11
Romanov BY
Рет қаралды 10 МЛН
The first LowSpec Processor
28:11
LowSpecGamer
Рет қаралды 589 М.
8-Bit Adder built from 152 Transistors
12:25
Hyperspace Pirate
Рет қаралды 578 М.
Analog Chip Design is an Art. Can AI Help?
15:48
Asianometry
Рет қаралды 179 М.
How Wozniak’s code for the Apple 1 works
37:18
Ben Eater
Рет қаралды 321 М.
I used a particle accelerator to look inside my own microchips!
11:22
Zero To ASIC Course
Рет қаралды 79 М.
Emulating a 6502 system in JavaScript • Matt Godbolt • GOTO 2016
45:23
Breaking the x86 Instruction Set
44:29
Black Hat
Рет қаралды 355 М.
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Рет қаралды 161 М.
#1099 How I learned electronics
19:55
IMSAI Guy
Рет қаралды 1,1 МЛН
Simpler than Ben Eater's SAP-1?
32:32
DrMattRegan
Рет қаралды 14 М.
ПАСХАЛЬНОЕ ЯЙЦО (смешное видео, юмор, приколы, поржать)
0:59
Натурал Альбертович
Рет қаралды 2,8 МЛН
ТИПЫ ЛЮДЕЙ на Пасху✨Тг: Это Джульетта
0:27
ЙУЛЯ ПУЛЯ
Рет қаралды 1,4 МЛН
СЛАДКИЕ БУСЫ
0:20
Клаунхаус Kids
Рет қаралды 1,2 МЛН
одни дома // EVA mash @TweetvilleCartoon
1:00
EVA mash
Рет қаралды 5 МЛН
What kind of person are you? 1,2 or 3?
0:33
Den Done It
Рет қаралды 21 МЛН
Самый СЛАБЫЙ папа! inst: psawkin
1:00
Petr Savkin
Рет қаралды 1,7 МЛН