Programming my 8-bit breadboard computer

Поделиться
HTML-код
  • Опубликовано: 29 янв 2025

Комментарии • 678

  • @garydunken7934
    @garydunken7934 8 лет назад +420

    Wow, just wow. So cool to see an 8bit computer built using bread board.
    You are a good teacher. Good way to teach how CPUs works, something majority of us take it for granted.

    • @Trident_Euclid
      @Trident_Euclid 7 лет назад +1

      G Yogaraja True

    • @mexunit92
      @mexunit92 7 лет назад +7

      I would liked to have him as a teacher while taking my Bsc. I never enjoyed programming a cpu, he made it seem so cool after only 17 minutes (both videos)...

    • @reach3796
      @reach3796 7 лет назад +8

      the ibm pc was designed using a breadboard

  • @mrrealpx3189
    @mrrealpx3189 7 лет назад +518

    there is nothing more impressive than wild blinking LEDs

    • @kevinliu8924
      @kevinliu8924 4 года назад +3

      how tf do you have no comments

    • @guys_animations
      @guys_animations 4 года назад +5

      it not blinking leds, ITS VALUES THAT WE HAVE NO IDEA WHAT THEY MEAN

    • @whatwhat9589
      @whatwhat9589 3 года назад +2

      Lol, good vid thought

    • @comptech2802
      @comptech2802 Год назад

      😂 lol this is not just LED blinking. This is basic information

  • @Shevaron
    @Shevaron 7 лет назад +35

    I finally understand how the 1's and 0's work to make a computer function. Thank you so much for making this.

  • @Stanwpeterson
    @Stanwpeterson 7 лет назад +39

    watching that thing run may be the most satisfying thing I've ever watched. great videos

  • @Zabankaunah
    @Zabankaunah 7 лет назад +21

    These videos are like ASMR for me. I sit back in my chair and relax. Everything perfect!

  • @TheXuism
    @TheXuism 4 года назад +7

    I graduated as an electronic engineer from the university for 10 years. This is my first time really witness how a computer works. You are awesome, thank you!

  • @Josematube
    @Josematube 7 лет назад +25

    Amazing example. Really useful explanations how instructions are loaded into "stack trace". Congratulations.

  • @saravanashanmukham6108
    @saravanashanmukham6108 28 дней назад

    I love this hands-on way to learn code by building! Even the instructions are loaded with DIP switches without use of any software. You are an amazing teacher. How did I NOT see this video before?? The best learning materials are like this rare, free and hard to find! Great job! Thank you!

  • @stephk42
    @stephk42 9 лет назад +117

    This is the coolest 8 bit computer I've ever seen

    • @Reth_Hard
      @Reth_Hard 7 лет назад +4

      Never seen a Nintendo before now? lol

    • @nixietubes
      @nixietubes 7 лет назад

      Fuck Nintendo, C64!

    • @igormarcos687
      @igormarcos687 7 лет назад +1

      Stephen Knotts FUCK NINTENDO

    • @nixietubes
      @nixietubes 7 лет назад

      You mean Frank einstein? Stephen didn't saying anything about Nintendo.

    • @igormarcos687
      @igormarcos687 7 лет назад

      Tntmod54321 miss clicked on youtube app clicked his name lol

  • @dansclassics
    @dansclassics 6 лет назад +4

    I can't believe how well you taught that; so much better to see it than just have someone talk about it; thanks for the effort.

  • @jasonthomas6684
    @jasonthomas6684 3 года назад +2

    THANK YOU for sharing your knowledge with us! I have a background in electronic repair but was only shown very basic info on how computers work. The reasoning behind it was that we maintained a switching system interface which tied remote radios to operators in ATC environment. Absolutely fascinating…I would love to build something like this.

  • @Atomicpower131
    @Atomicpower131 9 лет назад +5

    I absolutely love your videos and the first principle approach you're taking that helps a ton in building the real understanding of the computers.

  • @norcal6181
    @norcal6181 5 лет назад +3

    I'm taking a computer organization course at a university right now. This video offers a great tangible method for seeing how some of these fundamental components work

  • @peteandalie
    @peteandalie 7 лет назад +174

    Still faster than my corporate laptop.

    • @kaktus6976
      @kaktus6976 4 года назад +5

      my laptop hawe Inter cerelon n2830 (。ŏ﹏ŏ)

  • @n00blord111
    @n00blord111 8 лет назад +7

    this is so beautiful, can't wait till i have more time to study your work

  • @markwiygul6356
    @markwiygul6356 5 лет назад +2

    Brilliant Computer!!! it came up with "42", and as everyone who's familiar with the "Hitchhikers Guide to the Galaxy" by Douglas Adams knows, "42" is the, "Answer to the Ultimate Question of Life, the Universe, and Everything", calculated by an enormous supercomputer named Deep Thought over a period of 7.5 million years. Wonderful Achievement Lol :-D

  • @jonwinder1861
    @jonwinder1861 5 лет назад +1

    This guy is amazing at explaining complex things we take for granted in a simple way with the 8 bit computer. Unbelieveable I love this guy

  • @60pluscrazy
    @60pluscrazy 2 года назад +1

    Cherish these videos, so relaxing and nostalgic to watch after working with computers for over 44 years

  • @MattBrownbill
    @MattBrownbill 2 года назад

    This has to be one of the best explanations of how a computer works I've seen. Thank you.

  • @renanfabs316
    @renanfabs316 3 года назад

    Man, you're a eletronic god. Thank you so much for this videos. My love for eletronics and computers just gets bigger watching it!

  • @SuheybBecerek
    @SuheybBecerek 5 лет назад +1

    This whole channel is Gold!

  • @kleinenboese395
    @kleinenboese395 7 лет назад

    As an ASM dev, I congratulate you and share this video with a lot for friends, who have difficuties to really understand what is a computer. GREAT!!!

  • @devdylan6152
    @devdylan6152 3 года назад +1

    I love your videos and I always recommend you to my friends, was linking them to this video and the opening hit me again and I can't help but laugh at "very simple program", you do an amazing job at explaining it in a way that is simple to understand but the amount of setup and work it takes to program something like this compared to a lot of other things just comparatively makes me laugh XD. But honestly as always your work has been and I see no sign of it not being in the future amazingly great.

  • @grostire
    @grostire 6 лет назад

    Dude, your videos, especially this one, are amazing. This demonstration of a basic computer is so nice.

  • @AdamGaskins
    @AdamGaskins 7 лет назад

    in less than 90 seconds I've learned more than I've ever learned in a college class. Thank you so much, I owe my life to you

  • @joshrochon6243
    @joshrochon6243 7 лет назад

    I wish we had this plus another hour of in depth explanation on the electrical part of it, etc. This was pretty in depth as is, but it leaves me with so many questions

  • @kokas466
    @kokas466 5 лет назад +4

    Sorry for the bad language, but that is FUC**NG amazing. I've been coding for years, but programming like that is something else, epic.

  • @sndarkable
    @sndarkable 7 лет назад

    Finally I really understood how 1s and 0s work. It was so much fun to watch this. Keep up the good work!

  • @gicohdawer5487
    @gicohdawer5487 4 года назад

    I am really impressed by the demonstration you have given. Hats Off to you.

  • @TheMiddlest
    @TheMiddlest 4 года назад +3

    Can’t believe I watched this entire thing and loved every second lmao

  • @premktiw4984
    @premktiw4984 7 лет назад

    I am an undergrad CSE student from India and I don't know how much should I thank you and that super great randomness that brought me here to your this video. I have learnt these concepts during my classes, but today I have got such an amazing, awesome, super super contempt feeling of computers that I don't have words to say :) :) Thank You So MUCH !!

  • @LeZebra
    @LeZebra 3 года назад

    I'm deeply impressed by your teaching qualities.

  • @jlinkels
    @jlinkels 7 лет назад +1

    Great! Reminds me of the days I used a 6800 in an embedded controller. And the PDP11 where we had to enter the boot loader in RAM with exactly these switches and LOAD button. I wonder how many people nowadays realize that the Address and Data LEDs on your board are actually the Blinkenlights on computers in (older) movies. And I see you still use Gefingerpoken to get the program into RAM!

  • @nandagopalpattanayak5823
    @nandagopalpattanayak5823 5 лет назад

    This is so satisfying to watch mainly the blinking leds. It's definitely on my to do list..

  • @extol_entry
    @extol_entry 6 лет назад +1

    This is a great tutorial for any CS student having trouble visualizing address space!

  • @charley7085
    @charley7085 8 лет назад

    Searched a lot and finally, I reached here. Ben, you did a great work!. Keep going.

  • @SKF358
    @SKF358 9 лет назад

    I have been looking for this level of education on how computers really work. Thank you! I would like to see even more background on how this computer was made and works. Ultimately I would like to see this level of detail show how more complicated things work, like the visual of a football being "thrown" across the computer screen.

  • @MasthaX
    @MasthaX 7 лет назад

    Great stuff! I love the way you built in a simple controller for the clock speed so you can make it look all fancy with blinking lights.

  • @brucewilliams6292
    @brucewilliams6292 7 лет назад

    Thank you so much! I've been programming for years (even in assembly language) and never got down to this level of detail! This is so cool!

  • @microwaveman7847
    @microwaveman7847 6 лет назад

    This is insane. I've seen adding calculators, but this is a whole new level.

  • @bobfish7699
    @bobfish7699 7 лет назад

    Awesome - this project together with the visual 6502, and the various 6502 deconstruction projects have given me so much more appreciation for what happens on the bare metal of a processor. Guess what everyone, it ain't magic - it just takes some very clever engineering to get all of the components working together in the right sequence.

  • @pjakobs
    @pjakobs 7 лет назад

    Excellent, this is exactly how I wrote my first assembly language programs for the cbm 4032 back in school. In the breaks, we would rush down to the computer room with large sheets of hex groups to type them in and see if the program would work.

  • @Tusk-ruk
    @Tusk-ruk 3 года назад

    I took a semester of assembler programming at university years ago, I just wish the course would have started with such a brilliant, informative and entertaining demonstration.

  • @alexbeardmore3588
    @alexbeardmore3588 7 лет назад

    I am absolutely in awe. You are so good at making this understandable. You've given me a strong desire to make this myself ... that's a bad thing because I already don't have enough time! lol.

  • @MrPolos64
    @MrPolos64 8 лет назад

    Very nice work. Well done Ben.

  • @_computerra
    @_computerra 2 года назад +1

    I am a CS grad student and always wanted to, but never built it. Recently got my hand on some hardware and I'll go wild with this playlist! Thanks Ben!

  • @AlphaFoxDelta
    @AlphaFoxDelta 6 лет назад

    It's useful to break it into smaller pieces, to look at the microarchitecture in two categories, data flow and control flow. Once you understand that the bit pattern for the instruction corresponds to control lines, it becomes much clearer.
    Also don't forget the stored program concept, the instructions for a program and its data are stored together in memory as numbers which can be easily manipulated.
    If you learn this you'll be a very useful person to know and more importantly, to hire

  • @richardlitwin4046
    @richardlitwin4046 7 лет назад

    Wow, impressive. Watching it run blew my mind. Thank you sir. Prof Richard Hillier-Hillson

  • @lucasscoppio4195
    @lucasscoppio4195 7 лет назад

    I remember my first attempt to build a ULA, I did a simple 4bits processor with RAM project... seeing this "in shape" is amasing!

  • @elkrutarth
    @elkrutarth 8 лет назад +3

    just watched your interview with khan academy, I didn't know about you.
    you are awesome
    thanks

  • @michaelwilson18
    @michaelwilson18 9 лет назад +1

    Another great video.. Your explanation of how this works is very clear.

  • @aziz9488
    @aziz9488 8 лет назад +125

    42 the answer to everything :)

  • @gumarro72
    @gumarro72 8 лет назад +1

    Great job. Obviously your computer runs in real mode (program and memory address locations could override each other)
    It would be interesting to see what happens if you try to read a program instruction address as data or vice versa.
    Keep the videos coming!

  • @DimaDesu
    @DimaDesu 8 лет назад

    This is awesome! Just what I needed to understand how it all works.

  • @MalcolmCooks
    @MalcolmCooks 6 лет назад +76

    pc gamer: yeah so i built my own custom gaming pc, its way cheaper
    this guy: *you are like a little baby. watch this.*

    • @cubixthree3495
      @cubixthree3495 4 года назад +1

      The dichotomy of computer.

    • @Cardgames4children
      @Cardgames4children 4 года назад +1

      And in nand2tetris, you not only build a 16-bit alu/cpu and 32k ram, you also build the assembler, vm translator, compiler, AND an os to make a game you code up in the computers own high level language run! It's as "from scratch" as it gets.

    • @ScienceDiscoverer
      @ScienceDiscoverer 3 года назад +1

      @@Cardgames4children Yes, I wonder if this channel author knows about nand2tetris. I made everything and got to making an assembler but failed at that because I couldn't debug my low level C assembler :D

    • @jussivalter
      @jussivalter 3 года назад

      @@Cardgames4children i made this kind of project about 20 years ago and all was my own design, not a kit. Lower lever would be making all components and wires by yoursef using raw natural materials.

  • @davidhagadorn9023
    @davidhagadorn9023 7 лет назад

    very well done -Im able to understand this because of the way it is presented -

  • @woodworkbasti
    @woodworkbasti 6 лет назад

    Thank you a lot, I enjoyed this immensely and I look forward to explore the rest of your content :).

  • @yaasirxuseen5032
    @yaasirxuseen5032 5 лет назад

    Oh my God, this is more than awesome, I like machine language,thank u very much, I hope u don't stop these lessons.

  • @rtarade1
    @rtarade1 5 лет назад

    I am currently studying for the GATE examination (Considered to be the toughest examination in India) where I have subjects based on microprocessors and its Architectural study.. Your videos really makes my concept clear and its really amusing to watch something so discrete working individually that we have to learn on the paper. Thank you !

  • @Galluxi
    @Galluxi 8 лет назад

    Wow that is cool! Can you make a video on how to build that?

  • @possamei
    @possamei 7 лет назад

    That is definetely the coolest thing I've ever seen

  • @jttech6834
    @jttech6834 7 лет назад

    Amazing cable managment.

  • @SyphistPrime
    @SyphistPrime 7 лет назад

    This is the kind of stuff my friend builds in Minecraft and Starbound. It's actually really cool, and even more impressive to see a real life version.

  • @tugaric
    @tugaric 7 лет назад

    A) amazing project so cool to see the parts working together I wish they would things like that in school. B) You explain so well and you don t have an indian accent bless the lord. Subscribed !

  • @dxw3895
    @dxw3895 9 лет назад +339

    building tutorial plz :)

    • @godfist9333
      @godfist9333 7 лет назад

      john doe building tutorial plz

    • @NoOne-ft8bq
      @NoOne-ft8bq 7 лет назад +8

      He's doing it now

    • @NoOne-ft8bq
      @NoOne-ft8bq 7 лет назад +8

      HE HAS A VIDEO SERIES ABOUT IT

    • @damisimsanii544
      @damisimsanii544 7 лет назад

      ruclips.net/video/JUVt_KYAp-I/видео.html

    • @fhefarFarNorth
      @fhefarFarNorth 6 лет назад +1

      It's easy to build it by a software: Logisim.

  • @ANTHONYSALAZARLPZ
    @ANTHONYSALAZARLPZ 8 лет назад

    Thanks for these videos Ben

  • @JesusMartinoza
    @JesusMartinoza 7 лет назад

    Great work man, I'm happy how I understood the whole video.

  • @tv-on-da-gochannel5791
    @tv-on-da-gochannel5791 4 года назад +1

    Mannnnnn 5 years later and this shit is still cool.
    As aesthetics && appearances go,, quite nice indeed.

  • @asgaines
    @asgaines 7 лет назад

    Good lord, this is amazing. Well done!

  • @piggy8435
    @piggy8435 8 лет назад +345

    computer engineering looks cool
    i'm doing computer science though

    • @loucooper2870
      @loucooper2870 8 лет назад +41

      Just take as many electronic engineering modules as you can!

    • @miko007
      @miko007 8 лет назад +54

      Barack jong-un at least here in germany, all this is significant chunk of computer science at university.
      you cant really understand code, without knowing all this.

    • @BB-dv8nu
      @BB-dv8nu 8 лет назад +4

      I did

    • @miko007
      @miko007 8 лет назад +2

      Bibabozz B. of course.

    • @BB-dv8nu
      @BB-dv8nu 8 лет назад +4

      Mein "I did" bezog sich auf die Aussage von Barack jong-un. Ich wollte sagen dass Ich "Computer electronics" im Informatik Studium gelernt habe. Dem was du geschrieben hast stimme ich zu ;)

  • @airborne501
    @airborne501 6 лет назад

    Excellent video! This is the way to really learn computers.

  •  7 лет назад +5

    42: THE ANSWER TO LIFE, THE UNIVERSE AND EVERYTHING :)

  • @Steezy_Edits
    @Steezy_Edits 6 лет назад

    Nothing like a decent man that knows his hardware and software :)

  • @GdeVseSvobodnyeNiki
    @GdeVseSvobodnyeNiki 7 лет назад

    I wish i these videos to exist when i was studiyng in college. Such explaining!

  • @NatthapolVanasrivilai
    @NatthapolVanasrivilai 7 лет назад

    very neat breadboard organizing

  • @sp277
    @sp277 7 лет назад

    Wow! Great Computer and video. Congratulations !

  • @cupofkoa
    @cupofkoa 6 лет назад

    I've learned so much from this video. Great work!

  • @jamestownsend3493
    @jamestownsend3493 7 лет назад

    Very good. Very impressive build

  • @doug7180
    @doug7180 Год назад

    This is what I call TTL madness. I love it. I've been making TTL control circuits for years. I never needed a microprocessor. LOL. A couple counters a few nand gates an occasional shift register. Walah!!!

  • @DragonMinerToons
    @DragonMinerToons 9 лет назад

    Looks awesome man!

  • @ezzatrashed9236
    @ezzatrashed9236 7 лет назад

    One of the best things i've ever watched!

  • @DanielOliveiraViolao
    @DanielOliveiraViolao Год назад

    Awesome. I never saw something like this. Thank you!

  • @amnril
    @amnril 5 лет назад

    I’d love this guys knowledge.... brilliant

  • @flyguille
    @flyguille 7 лет назад

    if it outs the result value from ALU and re-input in A register at the same time, it is like chain LOOP and sum the total as new input value and SUM again, and again, without control, unless, ALU support to lock its output result o pre-buffer its inputs, or you insert a controlled buffer in the middle.Or do sum in the rising edge, and present result in the falling edge.

  • @BlackKingdomEnterprise
    @BlackKingdomEnterprise 6 лет назад

    Awesome man...... i don't know what to say....its really very very hard to do what you have done.... i have been searching for someone (in years) to teach me how to make my own computer and programming language. But my problem is that i have the SCIENCE in my heart and Commerce in my degree paper. So i, myself self taught to learn Science and Computers. Your video have given me a lot of inspiration and to learn some very basic concepts.

  • @alejodomingueznimo8338
    @alejodomingueznimo8338 7 лет назад

    With all the LEDs, this looks like a super computer from an old movie

  • @FreedomDroid
    @FreedomDroid 7 лет назад

    Wow, this is amazing, great job!

  • @srajan9003
    @srajan9003 8 лет назад +1

    Great video series..!! It's not reinventing wheels. But I do believe that UNIQUE videos of these kind will definitely add fuel to the FIRE of young minds who wants to think differently and come up with better inventions. Great work Ben... please continue the same. Science grows leaps and bounds when some one comes back and question the very basic rules ... Many have done it in the past ...Newtons laws were not the ultimate ones... Many great minds like Einstein proved that they are subsets of the real picture.. Good job carry on please.... Thanks, Sail

  • @lanchanoinguyen2914
    @lanchanoinguyen2914 7 лет назад

    I'm going to finish my arm cpu,it's just need three transistors for a processing units including the isa executive,comparative.i use the matrix memory from 2 ic 4017 for containing the isa codes and one to count the bit.the memory will open the suitable i/o port when it scans to a code.

  • @markhesketh9467
    @markhesketh9467 7 лет назад

    NOP is also used for timing functions or delays.

  • @melkiorwiseman5234
    @melkiorwiseman5234 4 года назад

    I thought of a way of storing programs by making the computer programmable through an optical reader. You could also expand the memory and program counter without having to change too much of the structure by logically dividing the memory into 16 "pages" of 16 bytes each. A "JMP" to another "page" would always start the program at address 0 in that page, so the instruction would be "JPP" (JumP to Page) and a 4-bit page number. That way, the main bus can remain at 8 bits since each instruction is still only 8 bits.
    What I thought of was a 10-bit optical reader. 8 bits are for data. One bit is used to change the address for the data and one bit is used as an index bit, to signal that the data is ready to read. If the address bit is set, then the 8 data bits are loaded into the address counter for the reader, otherwise the data is loaded into the current memory address and the address counter incremented.
    A 1 bit would be two extended ASCII code 219 characters in the same position in successive lines. The index bit would be an extended ASCII code 220 character in the first line with code 223 directly underneath it. A 0 (zero) bit would be spaces. Using code 220 with code 223 underneath it would make the index bit smaller than the other bits, so the other bits would be sure to be set up correctly before the reader sees the index bit and reads the data. If the data is "clocked" in on the leading edge of the index bit then the second line wouldn't be needed, making the data even more compact.
    A monospaced font (not a kerned font) would be required to keep the spacing even, and there would need to be no spaces between lines.
    The code would start with an 8-bit address with the "address" bit set (and the index bit of course), followed by bytes of data with the "address" bit clear.
    If you construct the reader so that you can move the reader head across the paper to align it with different columns, you can store an entire 256-byte program on 4 sheets of ordinary printing paper. In most cases it will take less paper, since most programs will be shorter than the maximum. If you use leading-edge clocking, then 2 sheets would have enough room for a full program (printing double-sided isn't advisable in this case, for fairly obvious reasons).

  • @Nocturnes1984
    @Nocturnes1984 6 лет назад

    Alan Turing would be proud of you!

  • @TimbavatiLion
    @TimbavatiLion 7 лет назад +1

    This tickles the nerd in me just the right way ^^
    But with just 4 bit for parameters, longer programs all have to start with "0x0: JMP 0x10" so you can store your variables and stuff in memory addresses 1-15.

    • @melkiorwiseman5234
      @melkiorwiseman5234 4 года назад

      In this computer there's only 4 bits for the address, so what you have proposed is the same as 0 JMP 0

  • @gamesgamer5082
    @gamesgamer5082 8 лет назад

    Your videos are really well explicated ! I'm french, but you attrticulate well, and I can understand you. Good point 😃.

  • @ytubee111
    @ytubee111 5 лет назад

    i love this final result when computer does calculation in slow motion

  • @franciscohanna2956
    @franciscohanna2956 7 лет назад +2

    14:27 man, that's beautiful

  • @LordPhobos6502
    @LordPhobos6502 7 лет назад

    Ohh this is lovely ❤
    Always wanted to build a little 8-bit system, this is a bit inspiring! :)

  • @shaikh2020
    @shaikh2020 7 лет назад

    From long time i wanted to visualize the process how compter works .... of op codes and binaries. Thamk you so much bro

  • @Alexveliz0898
    @Alexveliz0898 7 лет назад

    Awesome! Keep posting bro!

  • @slavric
    @slavric 9 лет назад

    This is fantastic tutorial. Very valuable to me. Thanks for sharing.