I built my own 16-Bit CPU in Excel

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ธ.ค. 2024

ความคิดเห็น • 2.4K

  • @InkboxSoftware
    @InkboxSoftware  10 หลายเดือนก่อน +401

    To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/Inkbox. The first 200 of you will get 20% off Brilliant’s annual premium subscription.

    • @commanderofthewind
      @commanderofthewind 10 หลายเดือนก่อน +5

      Okeydokey

    • @CuriosityDynamics
      @CuriosityDynamics 10 หลายเดือนก่อน +1

      Next do “installing Windows 98 in Excel”

    • @R.B.
      @R.B. 10 หลายเดือนก่อน

      The are some channels that have been running this offer for years. How do you know if you're going to be one of the lucky "first 200?"

    • @barrycaplin1394
      @barrycaplin1394 10 หลายเดือนก่อน +6

      NO! SHOVE YOUR SPONSOR RIGHT WHERE IT FITS!!

    • @misterhat5823
      @misterhat5823 10 หลายเดือนก่อน +6

      Automatic thumbs down for putting the sponsor in the middle.

  • @NigelMelanisticSmith
    @NigelMelanisticSmith 10 หลายเดือนก่อน +2645

    I love the restraint of not using VBA. I'm always more impressed when people make things in Excel and PowerPoint and don't just transform everything using Macros.

    • @le9038
      @le9038 10 หลายเดือนก่อน +80

      Like that one guy that made PowerPoint Turing complete...

    • @gdutfulkbhh7537
      @gdutfulkbhh7537 10 หลายเดือนก่อน +7

      Excel on non-Windoze platforms is crippled, but this would work.

    • @s0lly
      @s0lly 10 หลายเดือนก่อน +11

      Yea I did a raytracer only using Excel formulae. Much more fun having to work out solutions that don’t use VBA.

    • @philmcgroin
      @philmcgroin 10 หลายเดือนก่อน +22

      I'd have been tempted to add some VBA right at the end to generate the clock, but I can see that would open the door to more stuff. So yes impressive restraint indeed and a great video!

    • @cjsmith411yt
      @cjsmith411yt 10 หลายเดือนก่อน +2

      It might also make it more cross-platform compatible. Open Office sometimes has issues with Macro import, but cell formulas should be easier to import.

  • @randomnik70
    @randomnik70 10 หลายเดือนก่อน +2543

    Interviewer: How good are you with Excel?
    Inkbox:

    • @Samethok
      @Samethok 10 หลายเดือนก่อน +122

      Dude's resume is just a link to this video

    • @prateekpanwar646
      @prateekpanwar646 6 หลายเดือนก่อน +26

      ​@@SamethokThe resume is also made in excel.

    • @AestheticalMinimalism
      @AestheticalMinimalism 6 หลายเดือนก่อน +11

      @@prateekpanwar646 The entire video is made in Excel.

    • @slimeslayer5195
      @slimeslayer5195 4 หลายเดือนก่อน +5

      @@AestheticalMinimalism we are made in Excel

    • @AestheticalMinimalism
      @AestheticalMinimalism 4 หลายเดือนก่อน +4

      @@slimeslayer5195 Planet Earth is made in Excel.

  • @baddreamreset
    @baddreamreset 10 หลายเดือนก่อน +5408

    Next episode: Excel running on Excel

    • @KatTheCaz
      @KatTheCaz 10 หลายเดือนก่อน +218

      *at 0.00000000000148 FPS

    • @absolutetruth9975
      @absolutetruth9975 10 หลายเดือนก่อน +171

      Minecraft on excel. Doom on excel.. mario! Emulation! The possibilities!

    • @rock4459
      @rock4459 10 หลายเดือนก่อน +37

      ​@@absolutetruth9975Yes if you give it enough time and memory 😏

    • @pizzainc.1465
      @pizzainc.1465 10 หลายเดือนก่อน +21

      This is so cliche and annoying. However, its better than the comments that are like “oH My gOodNeSS hE iS lIkE a gEnIus hE sHoUlD gEt a nObEL PEacE pRize”

    • @LKComputes
      @LKComputes 10 หลายเดือนก่อน +8

      If one were able to implement an 8086 and simple VGA, it’d be the best kind of possible.

  • @royalcities
    @royalcities 8 หลายเดือนก่อน +112

    Dude I lost it when you said "I designed my own assembly language." Because of course you did lol. You're a genius.

  • @BikeArea
    @BikeArea 7 หลายเดือนก่อน +84

    That CPU design is awesome - for sure. But can we talk about the documentation, i. e. this video? So fabulously made and with the huge fonts and graphics an absolute joy to watch. Thanks for taking the time to create such a gem!

  • @yds6268
    @yds6268 10 หลายเดือนก่อน +1800

    "The best kind of possible - theoretically possible" - I'm stealing that

    • @NotHumanPerson
      @NotHumanPerson 10 หลายเดือนก่อน +48

      i love how that looks as if the source of the quote is "I'm stealing that"

    • @dylankrejci9965
      @dylankrejci9965 10 หลายเดือนก่อน +28

      @@NotHumanPerson””The best kind of possible - theoretically possible”
      - I’m Stealing That”
      - Michael Scott

    • @LucaCiani-b7y
      @LucaCiani-b7y 10 หลายเดือนก่อน +1

      yeah this is one of the best jokes i've ever heard

    • @Ce0ammer
      @Ce0ammer 10 หลายเดือนก่อน +6

      Slight adjustment to the Futurama meme innit?

    • @FastidiousFalchion
      @FastidiousFalchion 7 หลายเดือนก่อน

      🤓

  • @shaywaterstheone9477
    @shaywaterstheone9477 10 หลายเดือนก่อน +1576

    this man basically made a VM in excel. This is a level of genius i cant even understand

    • @WatercraftGames
      @WatercraftGames 10 หลายเดือนก่อน +46

      Turing completeness is so beautiful

    • @Breakfast_of_Champions
      @Breakfast_of_Champions 9 หลายเดือนก่อน +12

      Finally a Zoomer worth his salt

    • @tyttuut
      @tyttuut 8 หลายเดือนก่อน +46

      ​@@Breakfast_of_Champions ok boomer

    • @MoldCollecter
      @MoldCollecter 8 หลายเดือนก่อน +3

      can it run doom

    • @thechicken2634
      @thechicken2634 8 หลายเดือนก่อน +9

      Technically it's an emulator

  • @Silvahhhhhhhhhh
    @Silvahhhhhhhhhh 10 หลายเดือนก่อน +788

    It's the year 2100, super computing became the consumer norm. Humans managed to emulate the performance of a 4090ti on Space-Excel and managed to run old games such as Starfield and GTA 6 with native Windows 11 support in a Windows 48 machine

    • @SheeshMiester
      @SheeshMiester 10 หลายเดือนก่อน +8

      Lol

    • @Arnauero3.0
      @Arnauero3.0 10 หลายเดือนก่อน +5

      jajajaj

    • @zrayx7214
      @zrayx7214 10 หลายเดือนก่อน +46

      They are waiting for Gta 7

    • @galacticviper4453
      @galacticviper4453 10 หลายเดือนก่อน +18

      @@zrayx7214 and Portal 3🤣

    • @AnonymousApexio
      @AnonymousApexio 10 หลายเดือนก่อน +16

      @@galacticviper4453 and half life 3 😭😭

  • @sgsax
    @sgsax 10 หลายเดือนก่อน +100

    I took a microcomputer architecture class in college 30 years ago. I clearly have forgotten a lot about that class. Outstanding execution here. Thanks for sharing!

  • @deliveryboy
    @deliveryboy 5 หลายเดือนก่อน +5

    its insane just by showing how complex it was to create the cpu- it made sense of how cpus work in the first place. essentially cylinders firing from an initial blast. awesome.

  • @BrianBuonomo
    @BrianBuonomo 10 หลายเดือนก่อน +786

    This is incredible. I’ve been teaching “computer repair” for 25 years. Over the years there have been a few students that actually asked “but how does the cpu move data? How does it process the instructions?” I always gave a simplified explanation, as it doe snot fall into the scope of building and troubleshooting desktop PCs. Now I can show them this video to get an idea on the logic. :-) Thankfully there are also videos out there on “building your own CPU.” Thank you for sharing this! Incredible work!

    • @Peacfull
      @Peacfull 10 หลายเดือนก่อน +15

      you ruined many student's life

    • @MAGNETO-i1i
      @MAGNETO-i1i 10 หลายเดือนก่อน +15

      There is a great book that really explain the principles and logic of a cpu. Its called "But how do it know"
      I strongly recommend it

    • @StayBassd
      @StayBassd 10 หลายเดือนก่อน +4

      Code by Charles Petzold is also rly good

    • @radiokaos612
      @radiokaos612 10 หลายเดือนก่อน +1

      Flip flops

    • @AnonymousApexio
      @AnonymousApexio 10 หลายเดือนก่อน

      @@PeacfullReal

  • @jimlahey4995
    @jimlahey4995 10 หลายเดือนก่อน +434

    7:09 “most of the operations are simple” that is the most complex excel formula I’ve seen lol

    • @feixin_duke
      @feixin_duke 9 หลายเดือนก่อน +23

      It’s pretty much just some simple code for doing math but in a really really unreadable way. Pretty much it’s like “okay is the clock tickin? Yeah? Ok then so like do I add, subtract, multiply, divide, etc…? Ok so you want me to add? Ok I’ll add these two numbers together.” In other words, “b30 is the clock tick and this cell is equal to a value dependent on the clocks tick as well as d30 which controls which operand is being done.”

    • @jeremiahevans4175
      @jeremiahevans4175 หลายเดือนก่อน +1

      ​@@feixin_duke The Excel equipment of writing an entire Java program in one line

  • @ITPMMentor
    @ITPMMentor 10 หลายเดือนก่อน +277

    As a computer science graduate specializing in databases, I appreciate the brilliance here. This project would be a great introduction to CPU design in a comp sci course. Amazing.

    • @oneito947
      @oneito947 10 หลายเดือนก่อน +3

      You arr so right, that was my thinking

    • @CallumsArmy
      @CallumsArmy 10 หลายเดือนก่อน +11

      I learnt more in this than my actual computer science course

    • @miguelelgueta5830
      @miguelelgueta5830 10 หลายเดือนก่อน +8

      this dude literally made a full course in cpu design in a 15 minutes video

    • @antonf.9278
      @antonf.9278 10 หลายเดือนก่อน +6

      ​@@miguelelgueta5830Pipelining is an important part of CPU design and rightfully made up the last third of my university's basic course on the matter. The alu was also cut short in the videos explanation and is way easier to implement in Excel.
      Overall it's a nice video but by no means a course.

    • @TheGTX1650
      @TheGTX1650 9 หลายเดือนก่อน +1

      Excuse me, this would be the INTRODUCTION??
      damn

  • @portalwalker_
    @portalwalker_ 9 หลายเดือนก่อน +19

    4:21 "Writing high level assembly code" is by far the best line

  • @robertnowak9473
    @robertnowak9473 9 หลายเดือนก่อน +14

    I work in IT and I've seen some cool things done in Excel. But this is unbelievable. You have a remarkable skill set. Wish you the best of luck in succeeding and achieving your dreams.

  • @Caeleste-42bit
    @Caeleste-42bit 10 หลายเดือนก่อน +486

    The moment your CPU notices you have been cheating on it with Excel

    • @gooseloose682
      @gooseloose682 10 หลายเดือนก่อน +55

      it is more like a poly relationship really. Your cpu is totally in on it

    • @rav6324
      @rav6324 8 หลายเดือนก่อน +1

      @@gooseloose682 reddit cuck cpu

    • @casultaser
      @casultaser 8 หลายเดือนก่อน +6

      Emulators and VMs be like:

    • @poka26ev2
      @poka26ev2 6 หลายเดือนก่อน

      @@gooseloose682
      Imagine getting your gf pregnant and dating the fetus

    • @EmeraldCraft0
      @EmeraldCraft0 หลายเดือนก่อน

      ​@@poka26ev2sooo, just like what dad did with me?

  • @HeadsetHistorian
    @HeadsetHistorian 10 หลายเดือนก่อน +1049

    'High level assembly code'
    **Bursts into tears as someone that has never gone lower than C++**

    • @jordixboy
      @jordixboy 10 หลายเดือนก่อน +62

      assembly is not that hard, its pretty simple language, a lot simpler than c++

    • @mikafoxx2717
      @mikafoxx2717 10 หลายเดือนก่อน +57

      ​@@jordixboyI used to think assembly was complicated, but really it's just a simple functional language, in a way. You can get really creative with your solutions for problems instead of doing bulk things, like maybe leaving Y register untouched in this function specifically so the calling function can forgo saving it.
      Most assembly languages are just the same basic principles but with some different commands or limitations, some need more instructions to do the same function as an x86 one, for instance. That's why macro assemblers exist.
      Sure, it's probably not a good idea to do anything substantial in it, but at least knowing what decent assembly looks like, so your most used functions can be assessed for optimization. Could also have fun with a 6502 or z80 retro computer as a learning experience.

    • @ireallydontknowifiamhonest
      @ireallydontknowifiamhonest 10 หลายเดือนก่อน +38

      @@jordixboy assembly isn't hard in itself but the trickiness starts arising when you start doing everything in it, at that point you pretty much have to manage everything yourself, which is pretty fun actually

    • @BibleClinger
      @BibleClinger 10 หลายเดือนก่อน +16

      I found 6502 assembly was really fun. It was designed to be used by humans. Even with as difficult as it is, there is something really enjoyable and simplistic about it.

    • @mikafoxx2717
      @mikafoxx2717 10 หลายเดือนก่อน +2

      @@ireallydontknowifiamhonest yeah, bookkeeping in a way gets hard, or if your code block gets so big that directly indexed jumps aren't far enough.. and then you have to push and pop registers awkwardly and whatnot.

  • @HomeofLawboy
    @HomeofLawboy 10 หลายเดือนก่อน +680

    now we wait for the Doom ports, and the Bad Apple animations

    • @Ikxi
      @Ikxi 10 หลายเดือนก่อน +1

      www

    • @jimlahey4995
      @jimlahey4995 10 หลายเดือนก่อน +3

      This

    • @pabloalonso9083
      @pabloalonso9083 10 หลายเดือนก่อน

      Hahahaha

    • @afnankabir2190
      @afnankabir2190 10 หลายเดือนก่อน +2

      I was here ☕

    • @Mistyre
      @Mistyre 10 หลายเดือนก่อน +4

      And the rickroll music

  • @dimension3dyt
    @dimension3dyt 10 หลายเดือนก่อน +6

    This would be crazy to put on a resume.

  • @mariogonzalezramirez9486
    @mariogonzalezramirez9486 10 หลายเดือนก่อน +19

    This is maybe the greatest video i have seen in the last few years. This video and your project would have helped me a lot to explain to my students of computer architecture. I will download all the files and analize them carefully.

  • @FireFox2313-di6bk
    @FireFox2313-di6bk 10 หลายเดือนก่อน +3759

    If this doesn’t go viral, I’m actually gonna be mad

    • @killpidone
      @killpidone 10 หลายเดือนก่อน +173

      That requires running doom on it

    • @FireFox2313-di6bk
      @FireFox2313-di6bk 10 หลายเดือนก่อน +54

      @@killpidone my god, a genius!

    • @Wasabialt
      @Wasabialt 10 หลายเดือนก่อน +8

      Same.

    • @FireFox2313-di6bk
      @FireFox2313-di6bk 10 หลายเดือนก่อน

      @@Механизм-ж9я ik

    • @redrush-hp9li
      @redrush-hp9li 10 หลายเดือนก่อน +1

      fr

  • @ZipplyZane
    @ZipplyZane 10 หลายเดือนก่อน +478

    The one bit of VBA that I think might be justified is a completely optional script that can "click" the clock cycle button for you, seeing how fast you can get it to run.

    • @R.B.
      @R.B. 10 หลายเดือนก่อน +45

      100%. I think you can evaluate if a worksheet is calculating, so just monitoring that would be enough. Then you could have it clock the system. I think if someone is writing a compiler in Python, then using VBA for this sort of operation is an acceptable application. I think it would also be justifiable to apply the cell coloring for the screen pixels in the same way, allowing 16.7 M true color output... This is just because Excel has a restriction for modifying the color of cells programmatically, but it unlocks a lot of potential that conditional formatting can't. For the sane reason, VBA could be used for loading the ROM. This wouldn't be all that different than using an EPROM burner, which still doesn't diminish or detract from the Excel CPU.

    • @pacomatic9833
      @pacomatic9833 10 หลายเดือนก่อน +4

      Yeah, that would be a whole lot better than doing ALL of it manually.

    • @ragnarok7976
      @ragnarok7976 10 หลายเดือนก่อน +3

      I'll have to play with it next time I'm at my computer but I think you might be able to get some sort of iterative calculation going (there is a setting in excel to allow it). Might just end up in an infinite loop that will crash Excel but it would be so neat to have a fast clock powered by formulas to keep the whole thing as pure as possible. Not even sure my version of Excel supports them but I've heard there is a lambda formula that can call other formulas so there may be a solution to be had there as well.
      I guess you could also implement a function (not a sub) in VBA that toggles a cell in a loop and then use that function in the formula bar (excel treats VBA functions as custom formulas since they both take some parameter(s) and return a result). Still cheating to me (especially since you'd likely wouldn't be using the return value but rather the loop and a direct reference to a cell) but I guess slightly less than just banging out VBA and running it as a macro.

    • @Eji1700
      @Eji1700 10 หลายเดือนก่อน +8

      Pretty sure the limitation is not how fast you push the button but how long it takes excel to process the formulas. That’s what he demonstrated at the end where each press of the button takes a couple of seconds to process the clock cycle, so any automation there just means you can leave the program running while you run some errands and it finishes in an hour

    • @ZipplyZane
      @ZipplyZane 10 หลายเดือนก่อน +2

      @@Eji1700 He said it runs at a few hertz, which is about how fast you can click. But, yeah, it's possible it can't run any faster.

  • @dempsej
    @dempsej 10 หลายเดือนก่อน +109

    That’s cool and all, but when you realize that all of that is happening right now on the device that you’re watching it (and on servers, routers, switches etc) is MIND BLOWING.
    And we take it for granted.

    • @maxarothdev7374
      @maxarothdev7374 10 หลายเดือนก่อน +7

      At billions of times a second

  • @curiousbat5368
    @curiousbat5368 10 หลายเดือนก่อน +52

    After all of the insane job, I still felt so anxious about the "MANAGEMNET" thing at 14:34 Lol

  • @Ahmad-pd7fq
    @Ahmad-pd7fq 10 หลายเดือนก่อน +13

    "But can it run doom?"

    • @brin0019
      @brin0019 8 หลายเดือนก่อน +1

      I would also like to see this

    • @luckstats7912
      @luckstats7912 8 หลายเดือนก่อน

      Doom has already been run on excel and on lower capacity programs. I'm sure it'd 100% run doom

    • @maskedredstonerproz
      @maskedredstonerproz 5 หลายเดือนก่อน

      but has it been run on a cpu written in excell?

  • @bigbigx2250
    @bigbigx2250 10 หลายเดือนก่อน +272

    Emulating physical circuitry with excel is really cool. Great video!

    • @teemoammo
      @teemoammo 10 หลายเดือนก่อน +1

      Excel is already powerful so this wasv rudimentary at best...

    • @oneito947
      @oneito947 10 หลายเดือนก่อน +1

      Should be taught on cs

  • @lorenzopliskin1384
    @lorenzopliskin1384 10 หลายเดือนก่อน +71

    if my college teachers used this shit to teach computers architecture I would have been hooked instantly back than
    great job

  • @brandonechols
    @brandonechols 10 หลายเดือนก่อน +236

    This is literally the best thing I've ever watched. It's really great to see others appreciate the power of excel WITHOUT using Visual Basic! The use of iterative calculation is genius, and the way you route everything together is truly splendid. Wonderful video, I'd love to see more videos elaborating on all these cool ways to utilize the functions!

    • @InkboxSoftware
      @InkboxSoftware  10 หลายเดือนก่อน +64

      I was so disappointed seeing other Excel videos just write Basic programs, I had to undo an injustice.

    • @brandonechols
      @brandonechols 10 หลายเดือนก่อน +4

      @@InkboxSoftware EXACTLY! 😄

    • @oneito947
      @oneito947 10 หลายเดือนก่อน

      Wow

    • @flameofthephoenix8395
      @flameofthephoenix8395 10 หลายเดือนก่อน

      @@InkboxSoftware I personally would have just wrote nothing but VBA except for rendering the screen which is benefitted by =MAKEARRAY since VBA is not nearly quick enough to handle all those cells. Though, I do understand the challenge aspect, but when I did challenge myself to use almost exclusively formulas except for the one function making sure the player didn't have to manually hold F9, it was pretty boring even after I had completed it, it just wasn't very fun for me, but to each their own!

  • @SorensonCOD
    @SorensonCOD หลายเดือนก่อน +8

    Hey look it’s the first video on TH-cam. 0:30

  • @Fabrizio1206
    @Fabrizio1206 10 หลายเดือนก่อน +90

    Well... Now run DOOM

    • @chasinggamer
      @chasinggamer หลายเดือนก่อน +2

      Lol true (it can if it was running an os)

  • @youtubegoogle4163
    @youtubegoogle4163 10 หลายเดือนก่อน +92

    This is absolutely beautiful. I am an Electronics Engineer, and am good with excel also.
    I still can't imagine how much of time and patience it takes to do this...
    Keep up the great work brother ❤
    You deserve my subscription ❤

  • @strokkur24
    @strokkur24 10 หลายเดือนก่อน +38

    Ah yes, an average task in university: Build your own CPU, RAM, Display and make your own Assembly Language for it in Excel. What a classic!
    All jokes aside, this actually taught me a lot about how CPUs work and I am even more grateful now for being able to run something as insane as Doom Eternal on my pretty old pc

  • @xhec
    @xhec 10 หลายเดือนก่อน +64

    there are so many people that have crazy titles like this and then just use shortcuts and produce a simplified result then. but you, you stayed true, used no shit, made an interesting video and even explained well what you're doing. keep on doing this, you earned my sub

  • @SimpleCarGuy
    @SimpleCarGuy 10 หลายเดือนก่อน +4

    Been Sys Engineer for 8 years and it was a struggle to follow and understand everything, very complex but cool. Awesome video!

  • @stuartgibson9902
    @stuartgibson9902 2 หลายเดือนก่อน +2

    Absolute nuts, genius. Didn't understand 99% of it! But quality.

  • @VmMW96
    @VmMW96 10 หลายเดือนก่อน +3349

    But can it run Doom?

    • @murialvoid85
      @murialvoid85 8 หลายเดือนก่อน +1

      Yes, google “excel doom game”

    • @realryder2626
      @realryder2626 8 หลายเดือนก่อน +148

      Port it from graphics calculator?

    • @axelkidd9850
      @axelkidd9850 8 หลายเดือนก่อน +75

      Or Wolfenstein 3Diagram 📈 ?

    • @theguywiththewhiteblanket
      @theguywiththewhiteblanket 8 หลายเดือนก่อน +29

      ​@@axelkidd9850no, doom

    • @ben33045
      @ben33045 8 หลายเดือนก่อน +15

      Yes

  • @crysiank
    @crysiank 10 หลายเดือนก่อน +109

    Dude. That was pretty cool.
    But the most important question:
    CAN. IT. RUN. DOOM?

    • @absolutetruth9975
      @absolutetruth9975 10 หลายเดือนก่อน +16

      Theres a guy on youtube who sees if every device can run doom. Somebody needs to tell him about this.

    • @Anzeljaeg
      @Anzeljaeg 10 หลายเดือนก่อน +9

      Sad ... Kinda cant in this condition, they need to finish the CMD, but as he say ... In theory, yes we can ... Just couple of more steps

    • @jamieevans5979
      @jamieevans5979 10 หลายเดือนก่อน +8

      Not without rewriting Doom itself. It was designed for 32-bit systems, and in this video, a very limited instruction set is used. It would not be possible to capture and react to keyboard input from an Excel spreadsheet simply with formula either. Would be cool though.

    • @Akira-Aerins
      @Akira-Aerins 10 หลายเดือนก่อน +3

      ​@@jamieevans5979but can it ***fake*** running DOOM?

    • @jamieevans5979
      @jamieevans5979 10 หลายเดือนก่อน +2

      @@Akira-Aerins Sure. Just use a screen recorder and embed the video on the spreadsheet 😆

  • @martinkunev9911
    @martinkunev9911 10 หลายเดือนก่อน +24

    That seems like a very good project if you're learning about computer architectures.
    You didn't write a compiler, you wrote an assembler :)

  • @ChuckLennon
    @ChuckLennon 9 หลายเดือนก่อน +4

    That was one hell of a ride !
    My gosh ! I am fond of PCs inner working, but wow ! The complex parts are so well-made ! And the concept is just mind-blowing !
    Very good video :D

  • @jasonfails237
    @jasonfails237 10 หลายเดือนก่อน +4

    This is one of the craziest projects I've ever seen, and explained so well at that. Great video! Earned my sub.

  • @modlich_303
    @modlich_303 10 หลายเดือนก่อน +86

    It's funny how as a programmer, my family assumes i know that kind of stuff.
    Like, no, you don't need to know the inner workings of something to use it, most people don't know how the keyboard works, yet they can use it to write

    • @MagicThanos7
      @MagicThanos7 10 หลายเดือนก่อน +6

      would be better for you if you did though

    • @mmmmmmmmmmmmmmmmmmmmmmmmmmmm56
      @mmmmmmmmmmmmmmmmmmmmmmmmmmmm56 10 หลายเดือนก่อน +10

      Front-end dev spotted

    • @modlich_303
      @modlich_303 10 หลายเดือนก่อน +6

      @@mmmmmmmmmmmmmmmmmmmmmmmmmmmm56 I make games and other programs, i don't make computers 🙃

    • @ragnarok7976
      @ragnarok7976 10 หลายเดือนก่อน +3

      If black boxes always worked exactly as you intend them too then I'd agree... But they don't and while I wouldn't recommend just opening everyone you find for the sake of it, it really does help to have some experience cracking a few cases because you will need to at some point.
      I'd hazard to guess this attitude is one reason why most modern software is horribly optimized and tends to be a nasty soup of cobbled together packages. Sure that might be a simple and blissful way to do things but ignorance will never produce something of higher quality than true understanding. Not to mention it doesn't pass the "what if everybody did it" test because at some point somebody needs to be able to create and service black boxes or the consumers will have nothing to stitch together.

    • @ammo2222
      @ammo2222 10 หลายเดือนก่อน +1

      Im just a PLC Technician not a Programmer, but how a CPU Works was literally the first Thing i learned.
      The First Code we wrote Was i Assembly, if you Understand how the Basics work, you can build on that

  • @TracyNorrell
    @TracyNorrell 10 หลายเดือนก่อน +32

    I'm going to rewrite Excel to run on your new CPU!

  • @MrPeloseco
    @MrPeloseco 10 หลายเดือนก่อน +28

    Brilliant!!
    I'm sure you're going to inspire many old fellas like me. Computer architecture was by far my favorite. We designed 16bit CPU's using the proper software. Ended up taking design VLSI... Of course this was early 90's.
    Now I really want to load Excel and start designing the flip-flops, counters, multiplexors, etc!!
    Thank you!! Very inspiring!!

    • @ALG397
      @ALG397 2 หลายเดือนก่อน

      Have you done some projects on Excel? Is it possible to show them?

  • @ganjasage420
    @ganjasage420 10 หลายเดือนก่อน

    Honestly insane. The fact you made a program that was essentially only made for documentation and somehow got it to be a 16-bit pc is impressive as hell. How you managed to figure this out is crazy impressive as well.
    Very well done.

  • @JerryDodge
    @JerryDodge 4 หลายเดือนก่อน +1

    Bro, I've been writing my own unrelated concept to convert/encode any arbitrary binary data to an image format - just a bitmap of, not necessarily pixels, but small "boxes", which I call "cells". I watched this video a while back, which is part of my inspiration for this new project of mine. But now I'm watching it again, more carefully, because I think I can marry these two concepts together. Taking our concepts to the next level - an image-based computer. arrays of Image frames can contain anything - a binary program, a video, a text file... And not even just files either. This concept can hold memory in and of itself, in the form of an image.
    So far, I've managed to stuff 16KB of data within a single image, using arrays of 4-bit colors in these cells. And I haven't even gotten around to a decoder yet, because the encoding part of it keeps changing :P

    • @InkboxSoftware
      @InkboxSoftware  4 หลายเดือนก่อน

      What are you going to do with the data in an image?

  • @secretsundersiege
    @secretsundersiege 10 หลายเดือนก่อน +16

    Thank you for providing actual human-written captions. Not many people do that anymore but it really helps.

  • @harmoen
    @harmoen 10 หลายเดือนก่อน +38

    As an Excel nerd this is insane and I want to see more

  • @tomcat.c
    @tomcat.c 10 หลายเดือนก่อน +96

    I’m actively working on a full 3d cube renderer in excel and this has inspired me

    • @xdasdaasdasd4787
      @xdasdaasdasd4787 10 หลายเดือนก่อน +11

      Video when

    • @tomcat.c
      @tomcat.c 10 หลายเดือนก่อน +1

      @@xdasdaasdasd4787 im not all that good at making videos but i will maybe upload one once i finish

    • @sol_pregnantguy
      @sol_pregnantguy 10 หลายเดือนก่อน +3

      Show us when it's done

    • @terrytibbs951
      @terrytibbs951 10 หลายเดือนก่อน

      Already been done use google

  • @IshanGThe1andOnly
    @IshanGThe1andOnly 10 หลายเดือนก่อน +2

    This is so cool we started to implement our own ISA by scratch with RISC-V in my computer org class. Thanks for a great video!

  • @TheParamotorGuy
    @TheParamotorGuy 25 วันที่ผ่านมา

    This is the most amazing thing I've ever seen in excel. I use microcontrollers for the majority of my career and I understand the internal operations of them. Excel is my goto program when I need solutions. I have really complex algorithms written in excel. I avoid macros at every possible calculation. So I understand this whole amazing process. This is truly impressive.

  • @fromixty
    @fromixty 10 หลายเดือนก่อน +34

    Hyper underrated, I've already said it, but more people need to see this.

  • @randomguy555
    @randomguy555 10 หลายเดือนก่อน +18

    Well, technically, the moment you showed both a NOT and an AND bitwise operation being supported by excel it was all possible, though actually getting it to work would be another matter :P Great video!

  • @karmatical5837
    @karmatical5837 10 หลายเดือนก่อน +16

    Excel: *no, don't make me Turing complete NOOOOOooooo*

    • @randomland-e5x
      @randomland-e5x 10 หลายเดือนก่อน

      You know what that means, don't you?
      m.th-cam.com/video/uNjxe8ShM-8/w-d-xo.html

    • @randomland-e5x
      @randomland-e5x 10 หลายเดือนก่อน

      You know what that means, don't you?
      m.th-cam.com/video/uNjxe8ShM-8/w-d-xo.html

    • @randomland-e5x
      @randomland-e5x 10 หลายเดือนก่อน

      You know what that means, don't you?
      m.th-cam.com/video/uNjxe8ShM-8/w-d-xo.html

    • @randomland-e5x
      @randomland-e5x 10 หลายเดือนก่อน

      You know what that means, don't you?
      m.th-cam.com/video/uNjxe8ShM-8/w-d-xo.html

    • @randomland-e5x
      @randomland-e5x 10 หลายเดือนก่อน

      You know what that means, don't you?
      m.th-cam.com/video/uNjxe8ShM-8/w-d-xo.html

  • @cygil1
    @cygil1 7 หลายเดือนก่อน

    This is highly educational, it's not just writing an emulator for the functionality, it's implementing excel analogues for the actual digital logic level constructs.

  • @joahchewbhaka5679
    @joahchewbhaka5679 2 หลายเดือนก่อน +2

    I don't think AI is going to take you job bro! hahaha, great stuff, keep it up!

  • @NICK....
    @NICK.... 10 หลายเดือนก่อน +32

    all thats left now is coding DOS in excel with this CPU and then running excel in that DOS

    • @killpidone
      @killpidone 10 หลายเดือนก่อน +11

      For irony, it would have to be lotus 1-2-3

    • @NICK....
      @NICK.... 10 หลายเดือนก่อน +3

      @@killpidone that would be incredible

    • @alihms
      @alihms 10 หลายเดือนก่อน +2

      For pure "Microsoft-verse", it should be DOS and Excel. But just to annoy Microsoft, the operating system should be IBM OS/2 and the spreadsheet Lotus 123.

    • @PeterJnicol
      @PeterJnicol 10 หลายเดือนก่อน

      ​@@killpidone DOS is not done til Lotus won't run.

  • @darqed
    @darqed 10 หลายเดือนก่อน +34

    Bro this is actually insane. Using pure excel to make an actual working 16-bit cpu

  • @Kwpolska
    @Kwpolska 10 หลายเดือนก่อน +125

    Here’s an unsolicited Excel tip: you can give names to cells in the top-left corner so that you don’t need to remember what $D$3 means.

    • @MichaelStubbs
      @MichaelStubbs 10 หลายเดือนก่อน +14

      And this comes in handy even for medium sized projects! I use this all the time, it makes everything so much more maintainable!

    • @ragnarok7976
      @ragnarok7976 10 หลายเดือนก่อน +12

      You can also use the name manager to do the same thing. It's even more powerful because you can create a named value that doesn't exist on any sheet.

    • @Sekir80
      @Sekir80 10 หลายเดือนก่อน

      @@MichaelStubbs What do you call medium sized?

    • @MrKalerender
      @MrKalerender 10 หลายเดือนก่อน +2

      Oh wow, that is insanely useful for writing things that will be easier for my teammates to read. Thanks!!

    • @PeterJnicol
      @PeterJnicol 10 หลายเดือนก่อน

      This is the way.

  • @ihavenoaura
    @ihavenoaura 5 หลายเดือนก่อน +1

    bro took "i excel in it" to a whole new level

  • @joaoarmandogallas1373
    @joaoarmandogallas1373 10 หลายเดือนก่อน +1

    I had a degree in electronics like 14 years ago and it's amazing to see this. you put a lot of work. nice job

  • @FireFox2313-di6bk
    @FireFox2313-di6bk 10 หลายเดือนก่อน +64

    0:30 the “me at the zoo” video was a nice touch

    • @vasiovasio
      @vasiovasio 10 หลายเดือนก่อน +1

      The Begining! :)

  • @LukeWilliams91
    @LukeWilliams91 10 หลายเดือนก่อน +46

    Between you and Ben Eater I think we have the best set of ‘how computers work’ resources ever made. Thank you so much for making this and giving it all away 🎉❤

    • @Nimantu
      @Nimantu 10 หลายเดือนก่อน

      Don't forget James Sharman

  • @Zach010ROBLOX
    @Zach010ROBLOX 10 หลายเดือนก่อน +14

    This was hard enough with an HDL and a bunch of TAs to help us in class. Even though excel has a few tiny convenience features, this is awesome and I can't wait to see what else you have in store.

  • @Cozmiccat101
    @Cozmiccat101 8 วันที่ผ่านมา

    This is awesome man! I love watching this kind of suff and have no clue what any of this means. I only had the attention span to make it half way through the video. 11/10 will watch again when I am smarter

  • @MsTiagoPotencia
    @MsTiagoPotencia 10 หลายเดือนก่อน +22

    This is a masterpiece! Thank you so much!

  • @R.B.
    @R.B. 10 หลายเดือนก่อน +10

    I think it might have been valuable to use some of the LOOKUP functions. You could have had a microcode sheet where the instructions are defined which would have probably made things easier to fix. The cell formula you then paste to all the cells would just have this LOOKUP indirection.

  • @nicholasmascioni3333
    @nicholasmascioni3333 10 หลายเดือนก่อน +5

    This was the coolest thing I watched in a while, taking a computer architecture class right now and seeing some of the stuff we talk about made in excel is sick

  • @_-KR-_
    @_-KR-_ 10 หลายเดือนก่อน

    There is an unfinished project of mine where I set about building a complex calculator system for a game mod with the goal of public release. The basis of it was to take simple arbitrary inputs (within a limited range) and the calculator would perform a series of operations and iterations to deliver a comprehensive breakdown of the results as the input relates to it's utilization in the game mod. Anytime I would talk to anyone about it they would act like Im performing alchemy and ask why I dont just use scripting or an actual programming language on an actual compiler or whatever...
    All this is to say I appreciate what youve done here. 10:30 especially here. the power of iteration!

  • @baawaa1949
    @baawaa1949 7 หลายเดือนก่อน

    Blown away! Coded in 360 assembler back in the 70's and have great respect with what you accomplished. You have a great future ahead.

  • @DefaultFlame
    @DefaultFlame 10 หลายเดือนก่อน +6

    This is beyond amazing.
    Edit: The only reason I understand all of this is because of Ben Eater's 8-bit computer build video series.

  • @HaniiPuppy
    @HaniiPuppy 10 หลายเดือนก่อน +16

    4:29 - Literally this exact sort-of use case is why RISC exists, you've re-invented the wheel a wee bit there.

    • @WillKew
      @WillKew 3 หลายเดือนก่อน

      Critiquing something for 'reinventing the wheel' in a video about building a CPU in excel is wild

    • @HaniiPuppy
      @HaniiPuppy 3 หลายเดือนก่อน +1

      @@WillKew Hah. I just meant that he could have cut out a portion of the work not actually related to the project by just going with with an appropriate instruction set in the first place.
      I do sometimes read my old comments and wonder why I worded them a particular way though.

  • @autisticbluesloth5244
    @autisticbluesloth5244 10 หลายเดือนก่อน +11

    i barely understand what you're saying but it makes me want to learn about computer architecture

  • @Alexanderrayman
    @Alexanderrayman 10 หลายเดือนก่อน

    I've built "programs" in Excel, improving efficiancy at several workplaces ive been at.
    This, however, is an entirely different level. Love it!

  • @user-Chikotillo
    @user-Chikotillo 10 หลายเดือนก่อน

    From the day one of using Excel i knew that this application is much much more powerful than i think…. this just proves it! Crazy work you did here man!

  • @OwO-.
    @OwO-. 10 หลายเดือนก่อน +22

    First of all, insane stuff! I've implemented a few CPUs, but definitely not in Excel lol
    - With the assembler being fairly small, wouldn't it be feasible to implement that in Excel functions (or at least macros) too?
    - Wouldn't setting the max iteration count (at 2:31) to 100+ drastically speed up the CPU, or would that break it?
    - Also, if the limitation on colors on the display is that you have to define a rule for each pixel, why not use RGB subpixels?

  • @Humble_Electronic_Musician
    @Humble_Electronic_Musician 10 หลายเดือนก่อน +5

    Most impressive and intriguing thing I've seen on YT this year!
    Awesome job!

  • @kertarokcz5044
    @kertarokcz5044 10 หลายเดือนก่อน +34

    Can it run DOOM?

    • @Aligames5747
      @Aligames5747 8 หลายเดือนก่อน

      No

    • @noahorick986
      @noahorick986 8 หลายเดือนก่อน

      @@Aligames5747 anything can run doom 😂 I would love you see him try it even if it is a failure.

    • @Aligames5747
      @Aligames5747 8 หลายเดือนก่อน +1

      @@noahorick986 but this is 16 bit and doom is 32 bit

  • @Wess64IDK
    @Wess64IDK 2 หลายเดือนก่อน +1

    what my grandma sees when im doing the simplest things on a computer:

  • @thisisgood44
    @thisisgood44 2 หลายเดือนก่อน +1

    Im gonna learn how to make cpu from scratch then i will come back to this video to understand it

  • @Fred_Klingon
    @Fred_Klingon 10 หลายเดือนก่อน +10

    Man, you're awesome!
    Excel is great by itself, but this project is on another level.
    Not only it's beautiful, but it's also a valuable tool to learn the internal processes of a CPU.
    Instant subscribe!

  • @StevenAyy
    @StevenAyy 10 หลายเดือนก่อน +8

    This channel has become instant watch for me. Love love love these videos.

  • @seanm7445
    @seanm7445 10 หลายเดือนก่อน +6

    I don’t often Like a video, but this deserves a Thumbs-up.
    I hope that Computerphile come across this!

  • @suavesoft
    @suavesoft 10 หลายเดือนก่อน +1

    One word: OUTSTANDING!! Cant wait to see how you improve on it. Well done, sir!

  • @Mantorix
    @Mantorix 10 หลายเดือนก่อน +1

    Have seen this in the news a few days ago and today your video popped up in my YT feed. I just had to click it.
    Amazing work, i expected some macro stuff but i never imagined this to even be possible just by formulas.

  • @trudyandgeorge
    @trudyandgeorge 10 หลายเดือนก่อน +7

    The moment the rom was loaded and the instructions appread was magical 👏👏👏

  • @MEL0_YT
    @MEL0_YT 10 หลายเดือนก่อน +37

    Can it run doom?

    • @NaqiCh
      @NaqiCh 5 หลายเดือนก่อน +1

      Can you?

  • @orterves
    @orterves 10 หลายเดือนก่อน +7

    Using Excel in this way to demonstrate modelling a CPU is unironically excellent and captivating

  • @jakobvalinder1772
    @jakobvalinder1772 10 หลายเดือนก่อน

    There is a very specific group of people that will appreciate this video, but WOW, does that group appreciate it! Great job! Now just tur this into a semester-long assignment, and you'll tech at any computer science university!

  • @TheMikeStuff
    @TheMikeStuff 10 หลายเดือนก่อน +1

    And I was happy I could do the (sum)= function

  • @Mahm00dM0hanad
    @Mahm00dM0hanad 10 หลายเดือนก่อน +4

    There is always someone smarter than you. TH-cam show me some incredible people, I thought no one can achieve this level

  • @MNSweet
    @MNSweet 10 หลายเดือนก่อน +6

    Have you ever watched The Microsoft Excel World Championship? It's on ESPN each year when they become ESPN 8 the Ocho for a week.

  • @PoPoWanObi
    @PoPoWanObi 10 หลายเดือนก่อน +4

    Doom in Excel CPU when?

  • @rubenmunozverdu7528
    @rubenmunozverdu7528 10 หลายเดือนก่อน +2

    Seems that performance could be improved using INDEX instead of INDIRECT paired with ADDRESS. And I agree with other comments about naming ranges or even naming constant values. Did not download to check but with modern Excel formulas it is likely that more improvements could be introduced (LETs and LAMBDAs maybe?) In any case: super cool project!!!!!

  • @voyageurastral
    @voyageurastral 19 วันที่ผ่านมา

    I think im lost on youtube i dont understand a single think about the video but its insane the amount of time and skills you have.

  • @Imperial_Squid
    @Imperial_Squid 10 หลายเดือนก่อน +7

    Looking forward to part 17 of this series "I coded DOOM in Game of Life in a 16 bit computer in Excel"

    • @Sekir80
      @Sekir80 10 หลายเดือนก่อน +1

      Bro! I asked, does it run doom? :D I guess we both look forward to this.

  • @BigA1
    @BigA1 10 หลายเดือนก่อน +5

    I look forward to you implementing a RISC5 version! But seriously, I'm impressed with what you've done.

    • @Tadfafty
      @Tadfafty 10 หลายเดือนก่อน

      Hahhaha

  • @JoBot__
    @JoBot__ 10 หลายเดือนก่อน +5

    I struggle to implement a virtual CPU in Java, yet you've implemented one in a spreadsheet program. Amazing. :D

    • @flameofthephoenix8395
      @flameofthephoenix8395 10 หลายเดือนก่อน

      It's probably a little easier to write it in the Spreadsheet than Java, even though Java is better suited to it, practically Java is easier, but the very fact that Excel is harder makes it more interesting and so easier to write in, for Java you're just using the most basic level things to do it so it doesn't feel like writing a program since the end goal is something you already had to begin with. This is why it doesn't feel all too hard to write the potentially thousands of BrainF commands just for a simple task but that same task may feel dull to do in a higher level language.

    • @gregorymorse8423
      @gregorymorse8423 10 หลายเดือนก่อน

      I could write a virtual CPU in 5 lines of Python or Java or 5 excel cells. It might not look nice, but emulating using a very powerful high level language is extremely simple. The real interesting thing here was how he made it readable and interactive and extremely well presented. An expert at the end of the day can do this in far less.

    • @JoBot__
      @JoBot__ 10 หลายเดือนก่อน

      @@gregorymorse8423 I have implemented CPUs in Java before, I just never got far enough in the project to write an assembler, and I never really accomplished what I wanted to. I do have plans to make a complete virtual console soon though.

    • @gregorymorse8423
      @gregorymorse8423 10 หลายเดือนก่อน

      @CreatorJo writing an assembler is pretty easy but it does involve tokenizing, lexing, and parsing. It is certainly more work than emulating a simple instruction set. But then it's just simple translation. Far simpler than the work a compiler needs to go through as you don't have variables.

    • @flameofthephoenix8395
      @flameofthephoenix8395 10 หลายเดือนก่อน

      @@gregorymorse8423 Speaking of assemblers, when an assembler has compiled assembly into machine code, how does it then tell the CPU to run that machine code on Windows, I'd imagine on most electronics it's not terribly difficult, but for Windows it really seems to hate people using machine code. They also got rid of the DEBUG command in command prompt, how rude!

  • @IAmCymepka
    @IAmCymepka 5 หลายเดือนก่อน +2

    Finally, I can download some RAM.

  • @yukikofujiwara2144
    @yukikofujiwara2144 10 หลายเดือนก่อน +1

    ... he made _RAM_ for his _Excel_ computer.
    I made a text-based RPG game in python following a basic programming tutorial and thought I was a genius.