Ben Eater
Ben Eater
  • 122
  • 92 387 008
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!
zhlédnutí: 150 734

Video

Running MSBASIC on my breadboard 6502 computer
zhlédnutí 188KPřed 2 měsíci
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
zhlédnutí 317KPřed 3 měsíci
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
zhlédnutí 83KPřed 5 měsíci
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
zhlédnutí 321KPřed 9 měsíci
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)
zhlédnutí 548KPřed 11 měsíci
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)
zhlédnutí 188KPřed 11 měsíci
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
zhlédnutí 194KPřed rokem
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
zhlédnutí 232KPřed rokem
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!
zhlédnutí 1,9MPřed rokem
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
zhlédnutí 2,9MPřed rokem
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: czcams.com/video/ZiXg6H_FycI/video.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
zhlédnutí 811KPřed rokem
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?
zhlédnutí 958KPřed 2 lety
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?
zhlédnutí 761KPřed 2 lety
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
zhlédnutí 658KPřed 2 lety
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?
zhlédnutí 237KPřed 2 lety
How does n-key rollover work?
How does USB device discovery work?
zhlédnutí 296KPřed 2 lety
How does USB device discovery work?
How does a USB keyboard work?
zhlédnutí 3,2MPřed 2 lety
How does a USB keyboard work?
Keyboard interface software
zhlédnutí 196KPřed 3 lety
Keyboard interface software
Keyboard interface hardware
zhlédnutí 316KPřed 3 lety
Keyboard interface hardware
So how does a PS/2 keyboard interface work?
zhlédnutí 478KPřed 3 lety
So how does a PS/2 keyboard interface work?
Breadboarding tips
zhlédnutí 413KPřed 3 lety
Breadboarding tips
World's worst video card gets better?
zhlédnutí 806KPřed 3 lety
World's worst video card gets better?
Installing the world’s worst video card
zhlédnutí 945KPřed 3 lety
Installing the world’s worst video card
Interrupt handling
zhlédnutí 235KPřed 3 lety
Interrupt handling
What is error correction? Hamming codes in hardware
zhlédnutí 238KPřed 3 lety
What is error correction? Hamming codes in hardware
Hardware interrupts
zhlédnutí 585KPřed 3 lety
Hardware interrupts
Binary to decimal can’t be that hard, right?
zhlédnutí 808KPřed 3 lety
Binary to decimal can’t be that hard, right?
How assembly language loops work
zhlédnutí 728KPřed 4 lety
How assembly language loops work
Why build an entire computer on breadboards?
zhlédnutí 3,1MPřed 4 lety
Why build an entire computer on breadboards?

Komentáře

  • @gregvisioninfosoft
    @gregvisioninfosoft Před 19 hodinami

    So what is providing the ascii input to this? Does this only analyze 'text seen in closed captions'?

  • @damienndzanga2406
    @damienndzanga2406 Před 20 hodinami

    Do yo have videos where you instead use c++ programming instead of python programming?? I know the Aduro you use in the vido is in C++ but we need the entire video to be using c++ programming too, because only the c++ can be used for firmware design which is very useful for engineers not only programmers or developers.

  • @Mulakulu
    @Mulakulu Před 20 hodinami

    Thank you. Needed this for a compact way to make a phantom power generator.

  • @FoxGhost7
    @FoxGhost7 Před 23 hodinami

    Sees easily removed label over screw. Just stabs through it. Madman!!

  • @aayushbarnwal2948
    @aayushbarnwal2948 Před dnem

    What books, sources would you like to suggest to know all the stuffs you work with? You can think I don't know anything regarding this field

  • @coffeecuppepsi
    @coffeecuppepsi Před dnem

    10:19 - having trouble understanding the test program. LDA 0, TAX, then JSR FFFE. FFFE has 00 in it, which is a BRK, it pushes the PC to the stack and the STATUS, then loads (FFFE FFFF) as the address to start executing from... that's 0.... which repeats the sequence above indefinitely and indeed that is exactly what happens on my emulator... what am i missing here? :(

  • @smashinbedrock4903

    12:31

  • @OndrejJelinek-xt2kc

    bruh

  • @GungaLaGunga
    @GungaLaGunga Před dnem

    great video. how fun.

  • @francisbacon-moneygrabber9996

    Where are you??? Missing new videos!!! 😘

  • @raccoons_stole_my_account

    What are those probes you have attached to the chip's legs in the video thumbnail?

  • @egosuit
    @egosuit Před dnem

    What previous videos are the CHRIN and CHROUT routines from?

  • @user-xo2vo6yr2t
    @user-xo2vo6yr2t Před 2 dny

    This is tazer in short hahaha

  • @PewDiePie777
    @PewDiePie777 Před 2 dny

    I can't stop watching this.

  • @danielnorman8595
    @danielnorman8595 Před 2 dny

    I have a question. I have A DRO that has RS232 connections to its readers. Those readers don't fit my machine. But I have other readers that go to a much simpler DRO system and they have mini USB's. I was wondering if there is some sort of A adapter I can buy because they both have standard protocols or do I have to get pin out data and Build one on my own?

  • @cartoonhead4506
    @cartoonhead4506 Před 2 dny

    CZcams use the same system FUCK CZcams

  • @albertobottopoala7691

    Aaannd here it goes the next year of my life

  • @jordanweimer788
    @jordanweimer788 Před 3 dny

    Omg this could be an epic prank. You gotta change commonly used words to something else. 😂

  • @jordanweimer788
    @jordanweimer788 Před 3 dny

    Hilarious😂

  • @LostInLeiden
    @LostInLeiden Před 3 dny

    absolutely best video on this topic available online, thanks so much, you've made it so clear

  • @NoOneisHereAnyway
    @NoOneisHereAnyway Před 3 dny

    @19:57 they did mess up, yea they allowed "dick van" but his name is always said together as in "dick van dyke" and since this device only allowed for "dick van" they forgot the "dyke" portion...so it should say "dick van gay" when it does its thing...or that's what i am seeing anyway since they left off "dyke" in the allowed part...🤷‍♂️ have you hooked this up and tried it out @Ben Eater?

  • @lameckarika1949
    @lameckarika1949 Před 3 dny

    😂😂. I have no idea what was happening here but reading the results was worth my minutes of feeling utterly dump. I have always wanted to learn coding and it amazes me to see it in action . Thank you

  • @user-wo6qn3vf9n
    @user-wo6qn3vf9n Před 4 dny

    I built one out of LEGO worked fantastically.

  • @user-wo6qn3vf9n
    @user-wo6qn3vf9n Před 4 dny

    It works by pressing the buttons.

  • @bubach85
    @bubach85 Před 4 dny

    What if I used an old COM port, RS323 and on a computer and hooked that up to a VGA display? Could I basically emulate a graphics card in software? I mean, I should have fairly good control over the individual pins and what they send, right? 😅

  • @charliekim2939
    @charliekim2939 Před 4 dny

    "Understanding USB" for people who are too busy (or too intimidated?) to read the USB spec. Although I *used* many USB devices in the past (when I was still making living doing electronics) I never understood USB beyond (or below?) its applications level. Thank you for the enlightening tutorial.

  • @hectoralejandrotorrespopoc9232

    i would love to have automatic subtitles in this video, it helps me a lot by reading and hearing at the same time as i get distracted very easy

  • @janudalelwala7891
    @janudalelwala7891 Před 5 dny

    Well I like to add something to your explanation the reason that electrons flow from reverse biased part of the transistor is because of minority charge carriers and because the base is thin some of the electrons does fall in to lower conduction band from the higher conduction band therefore they pass right through the PN junction.

  • @user-gf2vz7tu1d
    @user-gf2vz7tu1d Před 5 dny

    Best video so far about the 1s and 2s compliment .I hope my tomorrows exam goes well thanks bud !!

  • @user-jf9lf1zr9w
    @user-jf9lf1zr9w Před 5 dny

    I always had a bad understanding of how the circuit works or what the main theory behind it. But the way you tech us bit by bit solving one problem after another is just very intuitive and awesome.

  • @christophermccutcheon2143

    If you made that from scratch then no it's not the world's worst. Well done in taking a step in understanding. Something not many engineers care to do today cos engineers if the past were so good that they left us good tools to cut out a lot of the bullshit

  • @sgmeta
    @sgmeta Před 5 dny

    Eres muy chingón bro. Me quedé sin palabras viendo todo lo que sabes de código y electrónica. Excelente video

  • @paulhetherington3854

    /v(x'')R(tcr'') fp''(x) < ziX'' int= 50s wn eml ~ ggle + lim cg(frch td) avn chnl/ /P'mc(zi)= xX''p'' int abv~tmp mB''(x) || mcb'(x'') <<< gml 50s VIN# idz/ /USC fchbal ~ stat f(x) + indstry ~ tmp idz 50s frch chnl avn < v(x''ctn)+ V(cx''TrRn)/

  • @mashtater996
    @mashtater996 Před 6 dny

    Excellent explanation of the 555.

  • @c128stuff
    @c128stuff Před 6 dny

    Thanks, very nice video. It so happens I'm busy writing an OS for the C128, and also want to support the 6551 (for turbo232, swiftlink), and this info is very helpfull for that. I wonder if this means the transmit interupt is not working either? Do you happen to know? I only have access to an original (1980s era) 6551, so can't test this. Looks like it is not difficult to detect if a specific 6551 has this bug or not by sending a byte and seeing if the transmit buffer empty bit changes to 0 inmediately after having written the byte to the data register.

  • @zkreso
    @zkreso Před 6 dny

    Amazing video

  • @giow1546
    @giow1546 Před 6 dny

    My man is doing bitwise operations on Excel 😂

  • @SuprSBG
    @SuprSBG Před 6 dny

    I feel like row 26 shouldn’t be under allow…

  • @ericnail1
    @ericnail1 Před 6 dny

    lol I love how you just whip out these perfectly sized and shaped wires and place them in. Meanwhile, mine looks like somebody had an LGBT themed wet noodle party and dropped their noodles on my new computer 😭

  • @casualcaptor7826
    @casualcaptor7826 Před 7 dny

    it's interesting that gay is both a censored word as well as a substitution word

  • @TheMisterNebo
    @TheMisterNebo Před 7 dny

    And that, my friends, is what 20 years of pure dedication and skill looks like when it's condensed into 20 minutes.

  • @vancap9725
    @vancap9725 Před 7 dny

    "Hello, WINTERRUPTorld!"🤣rofl lol hahaha

  • @paulhetherington3854

    Ben = Them two - in there! Jap koms! 15 -- odd num right? Illegal clan only! 1= joined clan 2. 5 -- mandatory gay life + dopamine! I.e. Ca; -- in 2nd Amend

  • @paulhetherington3854

    W' = you in -- MOHYK'! + OR' - received this - order of - the day! You lied, on our, SEC net! SEC -- Oriental Tribed only!

  • @nikaX2000
    @nikaX2000 Před 7 dny

    couldn't we just use the stop and start bit for intercepts and latch clock?

  • @nikaX2000
    @nikaX2000 Před 7 dny

    Other things apart, how did you get the same colored jumpers together like that? I really want an answer

  • @StoneyGribble
    @StoneyGribble Před 7 dny

    Ive never seen a video that made me feel more incompetent before😂

  • @sethgallegos5843
    @sethgallegos5843 Před 8 dny

    This was perfect! Thank you

  • @slim_cana
    @slim_cana Před 8 dny

    This is such an amazing video Ben, I keep coming back to it when I have lapses in understanding of the protocol. Thank you SO MUCH for sharing!

  • @burstfireno1617
    @burstfireno1617 Před 8 dny

    Ben are you Electronic engineer? Whats your background? Very informative content you are uploding. Love it 😊