- 122
- 92 593 869
Ben Eater
Приєднався 14 жов 2011
Subscribe to see tutorial-style videos about electronics, computer architecture, networking, and various other technical subjects. If you want to see more on a particular subject, leave a comment and I'll try my best to add more.
If you'd like to support my work, please do!
www.patreon.com/beneater
paypal.me/beneater
cash.me/$eater
bitcoin:1EaterJkmmuJWfm8hvULrMJGm7R8JgXTL8
bitcoincash:1JUjEErUjkgBVJP28GH6LKihvEUJ1RGZhx
If you'd like to support my work, please do!
www.patreon.com/beneater
paypal.me/beneater
cash.me/$eater
bitcoin:1EaterJkmmuJWfm8hvULrMJGm7R8JgXTL8
bitcoincash:1JUjEErUjkgBVJP28GH6LKihvEUJ1RGZhx
How input buffering works
Code from this video is at: github.com/beneater/msbasic
More 6502 stuff: eater.net/6502
Support these videos on Patreon: www.patreon.com/beneater or eater.net/support for other ways to support.
------------------
Social media:
Website: www.eater.net
Twitter: ben_eater
Patreon: patreon.com/beneater
Reddit: www.reddit.com/r/beneater
Special thanks to these supporters for making this video possible:
19day, Adrien Friggeri, Aleksey Smolenchuk, Anthony Weems, anula, Ben, Ben Cochran, Benjamin D. Williams, Benjamin Elder, Benjamin Keil, Benji Bromberg, Bill Cooksey, Binh Tran, Богдан Федоров, Bradley Stach, Brian Haug, Burt Humburg, Carl Fooks, Carsten Schwender, Chad Fertig, Chai, Chris Anders, Chris Lajoie, criis, Cristi Cobzarenco, Daniel Tang, Dave Walter, Dave Westwood, David Clark, David Cox, David Dawkins, David House, David Klassen, David Sastre Medina, David Turner, Dean Winger, Deep Kalra, DemoniacDeath, Dennis Henderson, Dilip Gowda, Dirk Sperling, Dmitry Guyvoronsky, Dustin Campbell, Dzevad Trumic, Emilio Mendoza, Eric Dynowski, Erik Broeders, Erik Chancy, Erik Granlund, Ethan Sifferman, Eugene Bulkin, Evan Serrano, Evan Thayer, Eveli László, Florian Bürgi, George Harris, George Miroshnykov, ghostdunk, Glen Jarvis, Gregory Burns, GusGold, Hailey, Hovis Biddle, Ingo Eble, Ingram Leedy, Isaac Parker, Jack McKinney, Jacob Ford, James Capuder, James Chacon, James Will, Jason DeStefano, Jason Grim, Jason Thorpe, JavaXP, Jaxon Ketterman, jemmons, Jeremy Cole, Jesse Miller, Jim Kelly, Jim Kelly, Jim Knowler, Joe Beda, Joe Pregracke, Joe Rork, Joel, John Henning, Jon Dugan, Jonn Miller, Josh Smith, Justin Graziani, Justin Williams, Kai Wells, Kefen, Ken Paul, Kennard Smith, Kenneth Christensen, Kevin McQuown, Kristian Høy Horsberg, Kyle Kellogg, Lambda GPU Workstations, Larry Scherr, László Bácsi, Lithou, Marcos Fujisawa, Marcus Classon, Mariano Uvalle, Mark Day, Martin Noble, Matthew Clifford, melvin2001, Michael Cartwright, MICHAEL SLASS, Michael Tedder, Michael Timbrook, Michael Weitman, Miguel Ríos, mikebad, Miles Macchiaroli, Muqeet Mujahid, Nate Welch, Nicholas Counts, Nicholas Moresco, Nick Chapman, Olivier HUBER, Örn Arnarson, Owen Arnett, Paul Heller, Paul Pluzhnikov, Pete Dietl, Phil Dennis, Philip Hofstetter, Ponytail Bob, ProgrammerDor, Ralph Irons, Randal Masutani, Randy True, raoulvp, real_huitz, Ric King, Richard Wagoner, Rick Hennigan, Rob Bruno, Robert Brown, Robert Diaz, Robey Pointer, Roland Munsil, Ryan Morrison, Sagnik Bhattacharya, Sam Sturgis, Scott Gorlick, Scott Holmes, Sean Patrick O’Brien, Sergey Kruk, snc, SonOfSofaman, sorek.uk, Spencer Ruport, spookybassoon, Stefan Nesinger, Stephen Kovalcik, Stephen Riley, Steve Jones, Thomas Eriksen, Tim Oriol, Tim Sanders, Tim Walkowski, Tom, Tom Smith, Trevor Johnston, Trey Webb, tryonlinux, Tyler Latham, Vaida N, Vitali Filinkou, Warren Miller, Wraithan McCarroll
0:00 - Unbuffered input
1:04 - Interrupts
3:20 - Circular buffer
5:01 - Setting up variables
7:25 - Buffer subroutines
10:45 - Interrupt handler
14:03 - New input routines
16:44 - Testing it out
17:50 - Fixing a bug
19:05 - Success!
More 6502 stuff: eater.net/6502
Support these videos on Patreon: www.patreon.com/beneater or eater.net/support for other ways to support.
------------------
Social media:
Website: www.eater.net
Twitter: ben_eater
Patreon: patreon.com/beneater
Reddit: www.reddit.com/r/beneater
Special thanks to these supporters for making this video possible:
19day, Adrien Friggeri, Aleksey Smolenchuk, Anthony Weems, anula, Ben, Ben Cochran, Benjamin D. Williams, Benjamin Elder, Benjamin Keil, Benji Bromberg, Bill Cooksey, Binh Tran, Богдан Федоров, Bradley Stach, Brian Haug, Burt Humburg, Carl Fooks, Carsten Schwender, Chad Fertig, Chai, Chris Anders, Chris Lajoie, criis, Cristi Cobzarenco, Daniel Tang, Dave Walter, Dave Westwood, David Clark, David Cox, David Dawkins, David House, David Klassen, David Sastre Medina, David Turner, Dean Winger, Deep Kalra, DemoniacDeath, Dennis Henderson, Dilip Gowda, Dirk Sperling, Dmitry Guyvoronsky, Dustin Campbell, Dzevad Trumic, Emilio Mendoza, Eric Dynowski, Erik Broeders, Erik Chancy, Erik Granlund, Ethan Sifferman, Eugene Bulkin, Evan Serrano, Evan Thayer, Eveli László, Florian Bürgi, George Harris, George Miroshnykov, ghostdunk, Glen Jarvis, Gregory Burns, GusGold, Hailey, Hovis Biddle, Ingo Eble, Ingram Leedy, Isaac Parker, Jack McKinney, Jacob Ford, James Capuder, James Chacon, James Will, Jason DeStefano, Jason Grim, Jason Thorpe, JavaXP, Jaxon Ketterman, jemmons, Jeremy Cole, Jesse Miller, Jim Kelly, Jim Kelly, Jim Knowler, Joe Beda, Joe Pregracke, Joe Rork, Joel, John Henning, Jon Dugan, Jonn Miller, Josh Smith, Justin Graziani, Justin Williams, Kai Wells, Kefen, Ken Paul, Kennard Smith, Kenneth Christensen, Kevin McQuown, Kristian Høy Horsberg, Kyle Kellogg, Lambda GPU Workstations, Larry Scherr, László Bácsi, Lithou, Marcos Fujisawa, Marcus Classon, Mariano Uvalle, Mark Day, Martin Noble, Matthew Clifford, melvin2001, Michael Cartwright, MICHAEL SLASS, Michael Tedder, Michael Timbrook, Michael Weitman, Miguel Ríos, mikebad, Miles Macchiaroli, Muqeet Mujahid, Nate Welch, Nicholas Counts, Nicholas Moresco, Nick Chapman, Olivier HUBER, Örn Arnarson, Owen Arnett, Paul Heller, Paul Pluzhnikov, Pete Dietl, Phil Dennis, Philip Hofstetter, Ponytail Bob, ProgrammerDor, Ralph Irons, Randal Masutani, Randy True, raoulvp, real_huitz, Ric King, Richard Wagoner, Rick Hennigan, Rob Bruno, Robert Brown, Robert Diaz, Robey Pointer, Roland Munsil, Ryan Morrison, Sagnik Bhattacharya, Sam Sturgis, Scott Gorlick, Scott Holmes, Sean Patrick O’Brien, Sergey Kruk, snc, SonOfSofaman, sorek.uk, Spencer Ruport, spookybassoon, Stefan Nesinger, Stephen Kovalcik, Stephen Riley, Steve Jones, Thomas Eriksen, Tim Oriol, Tim Sanders, Tim Walkowski, Tom, Tom Smith, Trevor Johnston, Trey Webb, tryonlinux, Tyler Latham, Vaida N, Vitali Filinkou, Warren Miller, Wraithan McCarroll
0:00 - Unbuffered input
1:04 - Interrupts
3:20 - Circular buffer
5:01 - Setting up variables
7:25 - Buffer subroutines
10:45 - Interrupt handler
14:03 - New input routines
16:44 - Testing it out
17:50 - Fixing a bug
19:05 - Success!
Переглядів: 153 920
Відео
Running MSBASIC on my breadboard 6502 computer
Переглядів 191 тис.3 місяці тому
More 6502: eater.net/6502 Code from this video: github.com/beneater/msbasic Support these videos on Patreon: www.patreon.com/beneater or eater.net/support for other ways to support. Social media: Website: www.eater.net Twitter: ben_eater Patreon: patreon.com/beneater Reddit: www.reddit.com/r/beneater Special thanks to these supporters for making this video possible: 19day, Adrien Fr...
A simple BIOS for my breadboard computer
Переглядів 320 тис.4 місяці тому
More 6502: eater.net/6502 Support these videos on Patreon: www.patreon.com/beneater or eater.net/support for other ways to support. Social media: Website: www.eater.net Twitter: ben_eater Patreon: patreon.com/beneater Reddit: www.reddit.com/r/beneater Special thanks to these supporters for making this video possible: Adrien Friggeri, Aleksey Smolenchuk, Anthony Weems, anula, Ben, Be...
Adapting WozMon for the breadboard 6502
Переглядів 83 тис.5 місяців тому
Support these videos on Patreon: www.patreon.com/beneater or eater.net/support for other ways to support. Social media: Website: www.eater.net Twitter: ben_eater Patreon: patreon.com/beneater Reddit: www.reddit.com/r/beneater Special thanks to these supporters for making this video possible: Adrien Friggeri, Aleksey Smolenchuk, An Dương, Anthony Weems, anula, Ben, Ben Cochran, Ben W...
How Wozniak’s code for the Apple 1 works
Переглядів 322 тис.10 місяців тому
More 6502 stuff: eater.net/6502 Support these videos on Patreon: www.patreon.com/beneater or eater.net/support for other ways to support. 0:00 Variables 2:16 Hardware initialization 2:54 Reading input from the keyboard 10:18 Parsing the command 13:45 Parsing a hex value 21:29 Examine mode 28:28 Block examine mode 31:16 Store mode 34:28 Print routines Social media: Website: www.eater.net Twitter...
Running Apple 1 software on a breadboard computer (Wozmon)
Переглядів 550 тис.11 місяців тому
More 6502: eater.net/6502 Support these videos on Patreon: www.patreon.com/beneater or eater.net/support for other ways to support. 0:00 Apple 1 2:06 Changes to make it work 3:13 What does Wozmon do? 6:35 Doing I/O 8:36 Running programs 10:44 Writing assembly programs Social media: Website: www.eater.net Twitter: ben_eater Patreon: patreon.com/beneater Reddit: www.reddit.com/r/benea...
Fixing a hardware bug in software (65C51 UART)
Переглядів 188 тис.Рік тому
More 6502: eater.net/6502 Support these videos on Patreon: www.patreon.com/beneater or eater.net/support for other ways to support. Social media: Website: www.eater.net Twitter: ben_eater Patreon: patreon.com/beneater Reddit: www.reddit.com/r/beneater Special thanks to these supporters for making this video possible: Adrien Friggeri, Aleksey Smolenchuk, Alex, Amit Bueno, An Dương, A...
RS232 interface with the 6551 UART
Переглядів 195 тис.Рік тому
Support these videos on Patreon: www.patreon.com/beneater or eater.net/support for other ways to support. Social media: Website: www.eater.net Twitter: ben_eater Patreon: patreon.com/beneater Reddit: www.reddit.com/r/beneater Special thanks to these supporters for making this video possible: Adrien Friggeri, Aleksey Smolenchuk, Alex, An Dương, Anthony Weems, anula, Ben, Ben Cochran,...
6502 serial interface
Переглядів 233 тис.Рік тому
Support these videos on Patreon: www.patreon.com/beneater or eater.net/support for other ways to support. Social media: Website: www.eater.net Twitter: ben_eater Patreon: patreon.com/beneater Reddit: www.reddit.com/r/beneater Special thanks to these supporters for making this video possible: Adrien Friggeri, Aleksey Smolenchuk, Alex, Alex Black, An Dương, Anthony Weems, anula, Ben, ...
Let's build a voltage multiplier!
Переглядів 1,9 млнРік тому
In this video, I explain the how a Dickson charge pump operates and how to build a basic example. Support these videos on Patreon: www.patreon.com/beneater or eater.net/support for other ways to support. Social media: Website: www.eater.net Twitter: ben_eater Patreon: patreon.com/beneater Reddit: www.reddit.com/r/beneater Special thanks to these supporters for making this video poss...
Hacking a weird TV censoring device
Переглядів 2,9 млнРік тому
Here is the complete list of words I extracted: docs.google.com/spreadsheets/d/16D8GInFz3gchiAccVIclhMDHxzTxNQVli1lYfrW-m4s/edit#gid=0 And the original video from @TechnologyConnections: ua-cam.com/video/ZiXg6H_FycI/v-deo.html Support these videos on Patreon: www.patreon.com/beneater or eater.net/support for other ways to support. Timestamps: 0:00 - What is the TV Guardian 0:50 - Circuit board ...
The RS-232 protocol
Переглядів 814 тис.Рік тому
This video explores the electrical and timing characteristics of the RS-232 protocol. Support these videos on Patreon: www.patreon.com/beneater or eater.net/support for other ways to support. Social media: Website: www.eater.net Twitter: ben_eater Patreon: patreon.com/beneater Reddit: www.reddit.com/r/beneater Special thanks to these supporters for making this video possible: Adrien...
How do hardware timers work?
Переглядів 959 тис.2 роки тому
In this video, learn how a CPU uses hardware timers to control execution timing. More 6502 stuff: eater.net/6502 Support these videos on Patreon: www.patreon.com/beneater or eater.net/support for other ways to support. Social media: Website: www.eater.net Twitter: ben_eater Patreon: patreon.com/beneater Reddit: www.reddit.com/r/beneater Special thanks to these supporters for making ...
Why was Facebook down for five hours?
Переглядів 762 тис.2 роки тому
Facebook was down for five hours last week. What happened and what do DNS and BGP have to do with it? Facebook's explanation: engineering. 2021/10/05/networking-traffic/outage-details/ Support these videos on Patreon: www.patreon.com/beneater or eater.net/support for other ways to support. 0:00 DNS 7:13 Caching DNS 10:34 Hop-by-hop routing 14:07 Default-free routing 18:28 Peering 19:50 BG...
SPI: The serial peripheral interface
Переглядів 660 тис.2 роки тому
More 6502 computer info: eater.net/6502 Here's the temperature sensor module used in this video: www.amazon.com/gp/product/B07P4CWGGK More info on the sensor: tiny.cc/bme280 Support these videos on Patreon: www.patreon.com/beneater or eater.net/support for other ways to support. Social media: Website: www.eater.net Twitter: ben_eater Patreon: patreon.com/beneater Reddit: www.reddit....
How does USB device discovery work?
Переглядів 297 тис.2 роки тому
How does USB device discovery work?
So how does a PS/2 keyboard interface work?
Переглядів 479 тис.3 роки тому
So how does a PS/2 keyboard interface work?
World's worst video card gets better?
Переглядів 808 тис.3 роки тому
World's worst video card gets better?
Installing the world’s worst video card
Переглядів 947 тис.3 роки тому
Installing the world’s worst video card
What is error correction? Hamming codes in hardware
Переглядів 238 тис.3 роки тому
What is error correction? Hamming codes in hardware
Binary to decimal can’t be that hard, right?
Переглядів 810 тис.3 роки тому
Binary to decimal can’t be that hard, right?
Why build an entire computer on breadboards?
Переглядів 3,1 млн4 роки тому
Why build an entire computer on breadboards?
You've got some sick skills, dude! Great video!
lol I dated a girl whose mother had this and literally was at church whenever the doors were open and would donate 25 percent of her check no matter if they were starving and didn’t have morgage money. lol her daughter was on plenty of film and known to the whole community if you read between the lines. Lmao
Why would you write a truth table like that!
Play solitaire
You can charge a bigger capacitor slowly which with a few more stages can be charged to 300 volts which is enough for a little zap
Wuss is a dirty word?
I'd loved to see someone attack this device from the outside... feed it a stream of phoney closed captions and test every dirty word.
Why does it flip the bytes?
Love the way you explain and the programming . Thanks Ben Eater !
Hands down you are the first teacher of electronics where I actually understand / can start to understand what electronics are about. You have a great way of explaining and demonstrating (!) how concepts work. Thank you very much! Very much appreciate it.
Thanks!
this is a brilliant project - i've replicated it and got basic working on my system. now i would like to use pointers in basic, so that i can map and address to some specific hardware. apparently the function VARPTR() should at least return the address of a variable... i'll worry about setting the address later.... but anyway my VARPTR() always returns 0 if not an error. does this function work in your implementation?
Excellent!
Why not a linux distro? or may be unix.
A company in Mesa, Arizona still manufactures 6502 processors
How many transistor you give in the memory controller, rasterizer and geometry shaders?
This the piece of the puzzle I was looking for years, thank you.
28:42 Endpoint packet size is also different. (Sending the keyboard state as bitmap takes more space. But just a little more. With just 14 bytes you can transmit 112 key state compared to using 8 bytes to send 8+6 keys.)
This is very well explained
create a game from this circuit, or a way to read some retro cartridge
At the moment I don't see any reason for having a release key except for capitalizing the letters, that's, if I send 'A' continuously then I can't send shift continuously simultaneously so shift is only sent once at the beginning and then released at the end so we can indicate what between them is capital, this implies that the only key that needs a release scan code is the shift key other than that it's nonsense to have for each key a release scan code subsequent to the key release. Does anyone have a reason for why there is release scan code for each key, is it utilized in other keyboard drivers in some way that is helpful?
21:13 The 2nd get config desc response has 3B 00 instead of 22 00 (on the 3rd line), but the description still says Total length 0x22. Why? "The first 9 bytes are the same" ... but they are not. Or is 3B a misprint?
woks on Arduino UNO?
the hardest part about this tutorial is not the programming, but actually cutting and stripping the wires to fit
8:48 dont forget to put out the 5V in pin 1 or the 74ls138 gets realy hot!!!
So basically, these served a similar function to an op amp?
Hello, would! 🤣
Couldnt you just use an op amp?
WOW ! I find this stuff SO Interesting but WAY over my head ... Wouldn't George Carlan have fun with this. lol
i have learned more from your awesome videos thna reading a computer book...HANDS ON. is obviously the WAY to GO. !!..huge clarification on things i just couldn't get from abook..here thanks to. YOU i got a BIG insight on computer Science GREAT JOB buddy !!! VERY Helpful tying it all in. !!!
I wanna be in the same bunker as this guy
why did he use or gate ?
Youre like the bob ross of breadboarding
I am looking For a 8 Bit Ram Chip.I searched Yahoo And i got 32 BIt Rams (Witch Costs Like $1000000) Any Ideas?
IF i travel to the past, and I told them that in the future we have this things called computers....and they tell me, oh really, how do they work...I would just lay down and cry
Banglay bolen
Why?
😂😂😂😂😂 antique digital naughty word nanny
*wow this was so awesome! Id love to see it running for reel though lol cheers* 👍💪
Learning little by little. This is a great explanation! Note: Everytime I see your name, I can't help myself but remember the song "Maneater" by Hall & Oates. It would be a perfect fit if you change the chorus to "He is Ben Eater" 😆
macbooks with rj-45! Sigh
Amazing brain Ben
Its my goal to make one like this before 2025 ends <3
NASM rulz 😂😊
Isn't this exactly what tga files are for?
Would it be possible to use a shift register chain, so you only need one eeprom?
What usb keyboard is that?
I can't stop watching this guy...
Why
In the good old times we had to erase the EPROM using the sun rays or using the UV eraser, before programming the EPROM with new data.