Ben Eater
Ben Eater
  • 122
  • 92 593 869
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!
Переглядів: 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 n-key rollover work?
Переглядів 237 тис.2 роки тому
How does n-key rollover work?
How does USB device discovery work?
Переглядів 297 тис.2 роки тому
How does USB device discovery work?
How does a USB keyboard work?
Переглядів 3,2 млн2 роки тому
How does a USB keyboard work?
Keyboard interface software
Переглядів 197 тис.3 роки тому
Keyboard interface software
Keyboard interface hardware
Переглядів 317 тис.3 роки тому
Keyboard interface hardware
So how does a PS/2 keyboard interface work?
Переглядів 479 тис.3 роки тому
So how does a PS/2 keyboard interface work?
Breadboarding tips
Переглядів 414 тис.3 роки тому
Breadboarding tips
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
Interrupt handling
Переглядів 236 тис.3 роки тому
Interrupt handling
What is error correction? Hamming codes in hardware
Переглядів 238 тис.3 роки тому
What is error correction? Hamming codes in hardware
Hardware interrupts
Переглядів 586 тис.3 роки тому
Hardware interrupts
Binary to decimal can’t be that hard, right?
Переглядів 810 тис.3 роки тому
Binary to decimal can’t be that hard, right?
How assembly language loops work
Переглядів 728 тис.4 роки тому
How assembly language loops work
Why build an entire computer on breadboards?
Переглядів 3,1 млн4 роки тому
Why build an entire computer on breadboards?

КОМЕНТАРІ

  • @BAFitz
    @BAFitz 9 годин тому

    You've got some sick skills, dude! Great video!

  • @waynewayne9693
    @waynewayne9693 13 годин тому

    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

  • @jsgoyburu
    @jsgoyburu 15 годин тому

    Why would you write a truth table like that!

  • @mothhut8637
    @mothhut8637 21 годину тому

    Play solitaire

  • @WWFYMN
    @WWFYMN 23 години тому

    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

  • @SierraSierraFoxtrot
    @SierraSierraFoxtrot День тому

    Wuss is a dirty word?

  • @SierraSierraFoxtrot
    @SierraSierraFoxtrot День тому

    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.

  • @kristophersouza8104
    @kristophersouza8104 День тому

    Why does it flip the bytes?

  • @pwlegolas3
    @pwlegolas3 День тому

    Love the way you explain and the programming . Thanks Ben Eater !

  • @ricarda4846
    @ricarda4846 2 дні тому

    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.

  • @user-js5vr8yf5v
    @user-js5vr8yf5v 2 дні тому

    Thanks!

  • @coffeecuppepsi
    @coffeecuppepsi 2 дні тому

    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?

  • @merwinsurya
    @merwinsurya 3 дні тому

    Excellent!

  • @tech_display
    @tech_display 3 дні тому

    Why not a linux distro? or may be unix.

  • @npc2071
    @npc2071 3 дні тому

    A company in Mesa, Arizona still manufactures 6502 processors

  • @LG_ZoRooo
    @LG_ZoRooo 3 дні тому

    How many transistor you give in the memory controller, rasterizer and geometry shaders?

  • @simonkh7278
    @simonkh7278 3 дні тому

    This the piece of the puzzle I was looking for years, thank you.

  • @szirsp
    @szirsp 4 дні тому

    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.)

  • @88NA
    @88NA 4 дні тому

    This is very well explained

  • @dionatancechinato2214
    @dionatancechinato2214 4 дні тому

    create a game from this circuit, or a way to read some retro cartridge

  • @amrelshamshery9252
    @amrelshamshery9252 4 дні тому

    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?

  • @szirsp
    @szirsp 4 дні тому

    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?

  • @Many_MC
    @Many_MC 4 дні тому

    woks on Arduino UNO?

  • @OlgaLight13
    @OlgaLight13 4 дні тому

    the hardest part about this tutorial is not the programming, but actually cutting and stripping the wires to fit

  • @konradrind5580
    @konradrind5580 4 дні тому

    8:48 dont forget to put out the 5V in pin 1 or the 74ls138 gets realy hot!!!

  • @jkspro5931
    @jkspro5931 4 дні тому

    So basically, these served a similar function to an op amp?

  • @phasor50
    @phasor50 4 дні тому

    Hello, would! 🤣

  • @ZeekerDog
    @ZeekerDog 4 дні тому

    Couldnt you just use an op amp?

  • @flatroc1
    @flatroc1 4 дні тому

    WOW ! I find this stuff SO Interesting but WAY over my head ... Wouldn't George Carlan have fun with this. lol

  • @dijonstreak
    @dijonstreak 5 днів тому

    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. !!!

  • @wixler00
    @wixler00 5 днів тому

    I wanna be in the same bunker as this guy

  • @angelobazar5912
    @angelobazar5912 5 днів тому

    why did he use or gate ?

  • @DaBoomDude
    @DaBoomDude 5 днів тому

    Youre like the bob ross of breadboarding

  • @fgsdfgsd332
    @fgsdfgsd332 5 днів тому

    I am looking For a 8 Bit Ram Chip.I searched Yahoo And i got 32 BIt Rams (Witch Costs Like $1000000) Any Ideas?

  • @hernanpalacios6548
    @hernanpalacios6548 6 днів тому

    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

  • @HHasan30
    @HHasan30 6 днів тому

    Banglay bolen

  • @snarflatful
    @snarflatful 6 днів тому

    Why?

  • @jolujo5842
    @jolujo5842 6 днів тому

    😂😂😂😂😂 antique digital naughty word nanny

  • @StayCoolKeto
    @StayCoolKeto 6 днів тому

    *wow this was so awesome! Id love to see it running for reel though lol cheers* 👍💪

  • @buruno2m
    @buruno2m 6 днів тому

    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" 😆

  • @philipkopylov3058
    @philipkopylov3058 7 днів тому

    macbooks with rj-45! Sigh

  • @user-kw5qv6zl5e
    @user-kw5qv6zl5e 7 днів тому

    Amazing brain Ben

  • @lakshyabamne4303
    @lakshyabamne4303 7 днів тому

    Its my goal to make one like this before 2025 ends <3

  • @KeenlyJohnas
    @KeenlyJohnas 7 днів тому

    NASM rulz 😂😊

  • @trulybtd5396
    @trulybtd5396 7 днів тому

    Isn't this exactly what tga files are for?

  • @matiastripaldi406
    @matiastripaldi406 7 днів тому

    Would it be possible to use a shift register chain, so you only need one eeprom?

  • @Chreed96
    @Chreed96 7 днів тому

    What usb keyboard is that?

  • @PewDiePie777
    @PewDiePie777 8 днів тому

    I can't stop watching this guy...

  • @supme7558
    @supme7558 8 днів тому

    Why

  • @kilinnet
    @kilinnet 8 днів тому

    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.