I Built a Working Computer Inside Pokémon Sapphire

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 682

  • @bendelia1878
    @bendelia1878 5 місяців тому +2587

    this guy’s so cool i wish he was real

    • @adef
      @adef  5 місяців тому +715

      the moment you stop believing in me, i disintegrate

    • @TwEaKzzNation
      @TwEaKzzNation 5 місяців тому +28

      @@adef tolpadef

    • @BenThomson
      @BenThomson 5 місяців тому +38

      This is me when I clay

    • @mimisezlol
      @mimisezlol 5 місяців тому +7

      ​@@adef when the proof spits out ~adef

    • @dangerkoopa64
      @dangerkoopa64 5 місяців тому +3

      ​@@adefGoodbye!

  • @turndownforwalt
    @turndownforwalt 5 місяців тому +2104

    Okay great now build a working Pokemon Sapphire inside a computer

    • @Wing_cap
      @Wing_cap 5 місяців тому +73

      someone did that already, people would call adef a hack

    • @joshuabrittain5919
      @joshuabrittain5919 5 місяців тому +86

      I would like to see a working version of Pokemon Sapphire inside of Pokemon Sapphire.
      Sapphireception!

    • @vlc-cosplayer
      @vlc-cosplayer 5 місяців тому +53

      Nice try, Nintendo 💀

    • @gamingwinnerman
      @gamingwinnerman 5 місяців тому +11

      Oh hey you’re that melee guy

    • @Easy_Logic
      @Easy_Logic 5 місяців тому +15

      Nintendo is rapidly approaching your location.

  • @CaptainKiddYT
    @CaptainKiddYT 5 місяців тому +631

    Doing all my damage calcs in my Pokémon Sapphire calculator from now on

    • @dannymurray1854
      @dannymurray1854 5 місяців тому +3

      Eisencalc 😤😤😤

    • @Quincyvhs
      @Quincyvhs 5 місяців тому +21

      For anyone who just joined, Calc is short for calculator, its slang

    • @Quincyvhs
      @Quincyvhs 3 місяці тому +3

      @@Voltaic01 cal is short for calendar, for anyone wondering. Its slang.

    • @dudeman0401
      @dudeman0401 3 місяці тому

      ​@@QuincyvhsVHS, for anyone who's curious, is short for Video Home System. It's an acronym.

  • @kvatch
    @kvatch 5 місяців тому +1493

    Oh yeah? Well I built a non-working computer OUTSIDE pokemon sapphire. Better luck next time champ

    • @Doomsword0
      @Doomsword0 5 місяців тому +24

      Gottem

    • @BrandonBrandonBrandon34
      @BrandonBrandonBrandon34 5 місяців тому +16

      Sounds like something Gary would say

    • @GeminiTasiri
      @GeminiTasiri 5 місяців тому +24

      Found the H̶a̶y̶d̶e̶n̶ H̶a̶y̶d̶i̶n̶ H̶a̶y̶d̶o̶n̶ Heighdynn

    • @nathandevane1725
      @nathandevane1725 5 місяців тому +3

      Comedy gold

    • @Typocat
      @Typocat 5 місяців тому +2

      people who can only build non-working computers outside of pokemon saphire:

  • @unknown_demi6902
    @unknown_demi6902 5 місяців тому +482

    Reminder: if a computer is Turing complete, you can run doom on it

    • @pilotmemes
      @pilotmemes 5 місяців тому +36

      I'm sure that video will pop up tomorrow

    • @LazurizSolari
      @LazurizSolari 5 місяців тому +8

      Doom complete

    • @skilz8098
      @skilz8098 5 місяців тому +75

      There's only one issue. His understanding of Turing Complete. Sure, he has demonstrated that you can perform ALU - Arithmetic & Logic Operations within this title, but he has not demonstrated a very vital part of a Turing Machine and what it means to be Turing Complete. The type of circuitry he did with these logic gates is known commonly known as Combinatorial Logic where their outputs only rely on the incoming inputs, they hold no state. The crucial part that he is missing or has not yet demonstrated is known as Sequential Logic. Sequential Logic relies on its output to be one of its inputs, a feedback loop such as a Latch, Toggle, or Flip Flop. They retain state information. And these are the basic building blocks of memory devices. Without these, it is impossible for a complete logical device to be Turing Complete. You need to have a mechanism to store the results of your calculations. Don't get me wrong, what he was able to achieve by building a basic simple 4-bit binary ripple carry adder is pretty cool, but it's far from a State Machine. He won't be running DOOM, Tetris or Conway's Game of Life on it anytime soon!

    • @dogemaaaaaan
      @dogemaaaaaan 5 місяців тому +4

      @@skilz8098nice thumbs 👍

    • @sethlaskus5628
      @sethlaskus5628 Місяць тому +1

      @@skilz8098 it's not not even an ALU it's just an AU

  • @Noromdiputs
    @Noromdiputs 5 місяців тому +108

    In fact electricity is not limited to on/off. Early computers experimented with analog and multiple levels of power, but differentiating between a bunch of levels of power was hard, so we don't see many analog computers these days.

    • @codahighland
      @codahighland 5 місяців тому +13

      Though every once in a while someone still experiments with tristate logic.

    • @Mekelaina
      @Mekelaina 5 місяців тому +16

      Even our binary comouters today dont use "on or off" its a low voltage vs high voltage. And different circuits and such have different tolerances for the ranges

    • @edomeindertsma6669
      @edomeindertsma6669 5 місяців тому +1

      There were some trinary computers in the USSR.

    • @Zeldon567
      @Zeldon567 5 місяців тому

      Potentiometers would like a word.

    • @codahighland
      @codahighland 5 місяців тому +2

      @@Zeldon567 That's an input device, not a computing device.

  • @SmokeyEdits
    @SmokeyEdits 5 місяців тому +735

    the phrase "neighborhood subreddit" is terrifyingly dystopian yet feels so close to reality that it scares me

    • @hibbs1712
      @hibbs1712 5 місяців тому +39

      Reddit went public on the stock market recently. It is not what it once was. Yes, that means get all your information off the site and do not give them any more.

    • @SmokeyEdits
      @SmokeyEdits 5 місяців тому

      @@hibbs1712 I only use Reddit to look at memes, read BORU, and advertise my business, so they weren't really getting much from me to begin with.

    • @milkman4407
      @milkman4407 5 місяців тому

      ⁠@@hibbs1712tf kinda crack you on? Cause I want some, look at me, Google is public, you’re on UA-cam, who owns UA-cam? Yeah now delete your account, do it.

    • @godminnette2
      @godminnette2 5 місяців тому +17

      Nextdoor app

    • @SmokeyEdits
      @SmokeyEdits 5 місяців тому +17

      @@godminnette2 To be honest, I kinda refuse to believe anybody actually uses that for any sort of serious reason.

  • @sierranicholes6712
    @sierranicholes6712 5 місяців тому +34

    i love how every one of these videos have the plot of "fun idea, very cool" -> descent into madness -> relief and excitement

    • @cezory
      @cezory 4 місяці тому

      it's like Brian David Gilbert on Polygon

  • @flamesword3397
    @flamesword3397 5 місяців тому +202

    "Alright, lets enter the Mossdeep city computer simulation zone" Japanese MMO ad plays

  • @redtaileddolphin1875
    @redtaileddolphin1875 5 місяців тому +360

    Seeing a truth table in a video about making a computer in a game is like seeing a bus metaphor for frame rules in a video about super mario bros

    • @joneatsbagels7239
      @joneatsbagels7239 5 місяців тому +15

      If it ain’t broke

    • @ghasttastic1912
      @ghasttastic1912 5 місяців тому +10

      asa well as the building of a basic adder. which isnt turring complete

    • @Sanyo201
      @Sanyo201 5 місяців тому +8

      But first, we need to talk about PARALLEL UNIVERSES

    • @unburdenedcatcreature
      @unburdenedcatcreature 5 місяців тому +4

      I don’t understand what the significance of this sentence means 😅 is this a good or bad thing and why? (I’m being so genuine, I want to know so bad and google is not going to be able to answer this question haha)

    • @redtaileddolphin1875
      @redtaileddolphin1875 5 місяців тому +13

      @@unburdenedcatcreature it’s both? Like it’s kinda repetitive to watch mattbattwings make truth tables in minecraft and physics for the birds (specifically the video mentioned by adef) describe them in totk, so I kinda tune out while we’re explaining XOR gates. This is not helped by me being a computer science major and this is all covered within a few meetings of your first class 😅
      But because it’s familiar it’s also quite nice and nostalgic to hear over and over. I may not be paying full attention but I think it’s important these concepts are explained every time for people that DON’T watch youtube videos about computers and games like it’s their dayjob rofl
      Basically it’s neither bad nor good, just a recognizable step of explanation on a topic I’m already quite familiar with, and a consequence of each youtube video needing to treat itself as the only one the viewer will ever watch on that topic. And recognizing things is fun :-)

  • @davidrossington9756
    @davidrossington9756 5 місяців тому +43

    For the record, you only need to be able to create either NAND or NOR to be able to make all of the other gates, since you can replicate all other truth tables with clever chaining of NAND/NOR gates and SOP/POS

    • @hashirkz
      @hashirkz 5 місяців тому +4

      yea i remeber this from circuits but dont u also need to have a rs latch / switch to be able to store info / a tape so its turing complete idk

    • @berndl_3925
      @berndl_3925 5 місяців тому

      ​@@hashirkzyou can build latches only using NANDs or NORs

  • @eggymens
    @eggymens 5 місяців тому +55

    when you followed up the hayden bit with the 40 upvotes joke, you cemented your fate as someone i will be looking out for their next upload. i love finding and watching small(er) content creators. their jokes always hit different, and urs did.

  • @DonutShoes
    @DonutShoes 5 місяців тому +208

    Cool vid! Next can you simulate my father's approval inside Pokemon Sapphire?

    • @starwolf27
      @starwolf27 5 місяців тому +38

      You don't need adef to help with that. Just beat the 5th gym in vanilla Pokemon Sapphire.

    • @CardinalTreehouse
      @CardinalTreehouse 5 місяців тому +19

      Considering you start the game in the back of a moving truck, I don't know how far we can really take this

  • @greenmonkey6six
    @greenmonkey6six 5 місяців тому +28

    Technically, chaining logic gates is not yet a Turing complete system. Usually, Turing complete systems have some form of memory where they can store intermediate results to feed them back into the calculation later

    • @amconners
      @amconners 5 місяців тому +4

      memory can also be constructed solely by chaining logic gates!

    • @greenmonkey6six
      @greenmonkey6six 5 місяців тому +4

      @@amconners Oh yeah, you are right. At least when the circuit can have cycles. I only thought about linearly chaining logic gates. In this case the computation always terminates after a fixed amount of time, which implies that the system is not Turing complete. I think we have to assume then that memory can be extended arbitrarily for logical circuits (with cycles) to be considered Turing complete. But this assumption is necessary anyway for any real world system to be considered Turing complete, so that should be fine

    • @skilz8098
      @skilz8098 5 місяців тому +5

      @@amconners But it requires more than just chaining them together even if you have a feedback loop to create a latch, toggle or flipflop you also need a clock generator or an oscillator to control the memory devices.

    • @fostena
      @fostena 5 місяців тому +8

      Unless your circuit can update itself, you cannot build memory. It's physically impossible. The circuits shown here are input -> output. No feedback possible. No memory, no Turing completeness

  • @TheMe9595
    @TheMe9595 5 місяців тому +97

    Wow that childhood sounded very normal!

    • @MrT3a
      @MrT3a 5 місяців тому +5

      Would have I been born 10 or 15 years later, this very well could have been my childhood as well, and I would have loved to be friends with someone like Adef.

    • @komi___
      @komi___ 5 місяців тому +8

      I thought all of us made romhacks when we were 12?

    • @EVPointMaster
      @EVPointMaster 5 місяців тому +1

      @@komi___ I think I was 13

  • @partyarlie
    @partyarlie 5 місяців тому +148

    let it be known i love that lil snake

    • @mystifoxtech
      @mystifoxtech 5 місяців тому +2

      They're probably referencing the Death Adder

  • @CoalSmudge
    @CoalSmudge 5 місяців тому +100

    So glad whenever I don’t have my abacus on me I can now whip my DS out. Thank you for the life hack 🙏

  • @topthog
    @topthog 5 місяців тому +146

    Gonna be honest, the abacus isn’t helping with the Hayden problem, when he finds out he’s gonna post a real nasty one

    • @NurioMarayana
      @NurioMarayana 5 місяців тому +17

      Excuse you, it's Heighdynn, alright??

  • @SianaGearz
    @SianaGearz 5 місяців тому +11

    20-25 years ago putting together a computer was as easy as it is today. You simply order things and plug them together just the same. You might want to ask someone whether your part list makes sense but what else is new.
    But this wasn't the case in Soviet Union in the late 80s. The way i built a computer back then at the age of 9, well i read about computers in a book, they seemed fascinating, and really wanted one, so we went looking for relatives and friends which could help out. And help out they did, procuring a set of photocopied PCB artwork and ROM dumps, and a bunch of chips. And a user manual printed on a 9-pin dot matrix printer with tape that wasn't very fresh. The PCBs had to be etched, you had to find someone with a EPROM burner at work they could divert for a little to burn the ROM chips, and solder all of this together. The computer was Leningrad 48k, a clone of ZX Spectrum, an 1982 British home computer. With the difference that Spectrum has most of the computer on a single chip, the PLA, save for analogue voltage and support circuitry, RAM, CPU and ROM, and there was no Soviet equivalent for the PLA, or it wasn't obtainable, so it was replaced by a dozen odd TTL logic ICs from the 70s in Leningrad. It was spectacularly unreliable. We hand wired the keyboard from relableable reed switches, but we were able to get a fitting keyboard enclosure somehow, which also housed the computer logic board. It was connected to a tape recorder for storage and a small TV as a monitor.

  • @solitaireclub
    @solitaireclub 5 місяців тому +161

    For some reason with your physics degree I feel like yes, it is normal you would own an abacus and not a calculator. But that could just be me.

    • @michaeltheaegis
      @michaeltheaegis 5 місяців тому +9

      I want an abacus now 🧮

    • @archerelms
      @archerelms 5 місяців тому +7

      We all have a calculator on our phones and computers, why would we have a separate calculator? But an abacus, that makes sense

    • @StopChangingUsernamesYouTube
      @StopChangingUsernamesYouTube 5 місяців тому

      @@archerelms I mean, if we go back like fifteen years, I'm sure plenty of us had some good reason to pick up a calculator for life. Still weird thinking that's probably the last one I'll ever buy.

  • @matttmaloney
    @matttmaloney 28 днів тому +1

    this is just a brief lesson on discrete math I love it

  • @L8-Bit
    @L8-Bit 5 місяців тому +60

    pretty sure adef has transcended past smart and is now bordering on evil genius and I am all for it

    • @Parapoose
      @Parapoose 5 місяців тому +2

      ITS L8 BIT 😮

  • @andregagne8380
    @andregagne8380 5 місяців тому +85

    The calculator is having an existential crisis in French

    • @doyourmath826
      @doyourmath826 5 місяців тому +13

      Its a refrence to a famous french painting of a pipe called "this is not a pipe"

    • @alexandreberthault9942
      @alexandreberthault9942 3 місяці тому +1

      As a native French speaker, I'm always amazed when I see French words in English videos xD

  • @Ze_Carrot
    @Ze_Carrot 5 місяців тому +38

    Bro is the reason i picked extra physics and computer science in school

  • @fleefie
    @fleefie 5 місяців тому +30

    I was expecting using the RBY ACE bug to build a basic computer, but this feels more fun tbh

  • @British_Rogue
    @British_Rogue 5 місяців тому +6

    If I watch this entire video and it turns out all you've done by the end of it make a calculator, I'm going be both peeved and vexed.

  • @JustBackgroundNoise
    @JustBackgroundNoise 5 місяців тому +3

    So, in theory, you could run Pokemon in Pokemon, all displayed with Spinda-pixels.

  • @lot10underground54
    @lot10underground54 5 місяців тому +28

    I think this guy could prove Ariados is in fact a horse. He’s a treasure.

    • @missglucktesbartierchen4143
      @missglucktesbartierchen4143 5 місяців тому +2

      I mean, it is spanish for horse. My spanish uncle Jamon Tendo told me so.🤓

    • @lot10underground54
      @lot10underground54 5 місяців тому +1

      @@missglucktesbartierchen4143 is he the guy who invented magnemite?

  • @FLOWRIDER0_
    @FLOWRIDER0_ Місяць тому +1

    When i clicked on this, i was expecting using ACE to make a simulated microcontroller or something

  • @felipemartins6433
    @felipemartins6433 5 місяців тому +2

    I'm loving these videos! As a computer science major, it's kinda endearing how they are basically CS101, it reminds me of DannyB's OOT glitches explanations (although they are further down the CS curriculum lol). Maybe a colab for a computer in OOT next would be a fun idea?

  • @LunaticJ
    @LunaticJ 5 місяців тому +29

    Bomberman Hero OST spotted 2:07

    • @MrT3a
      @MrT3a 5 місяців тому

      Never thought I'd see you there ^^
      Will you keep the blonde hair after the Funky Kong video? 😂

    • @KingAcorn85
      @KingAcorn85 5 місяців тому

      TY!
      Knew I recognized it

  • @snoopy1alpha
    @snoopy1alpha 5 місяців тому +4

    Not done yet, so maybe you covered that:
    Actually you only need one gate ... that could be either "NAND" or "NOR". With one of those you can construct all the others.

  • @SealFormulaMaster
    @SealFormulaMaster 2 місяці тому +2

    Making a computer in Gen 3 is pretty cool... But... What about in Gen 1 and on cartridge? In theory, you MIGHT be able use one of the various ACE methods as a way to reprogram the game to add in some type of computer. I know there's a script using 8F to turn a sign in Cinnabar Island into a Pokemon dispenser, and I know there's several glitches that uses a specific amount of items in specific slots to do different things. Seems like you could in theory use this to make a calculator that adds up to 151 at least.

  • @velvetbutterfly
    @velvetbutterfly 5 місяців тому +3

    I wonder. If some apocalyptic event happened, and this video is the only surviving record on how computers function, how long would it take us to get back to making modern-day computers

  • @bemybff205
    @bemybff205 5 місяців тому +26

    He was so preoccupied with whether he could, he never asked whether he should. Nintendo has already sent their lawyers after him 😢

  • @laskeeze
    @laskeeze 5 місяців тому +6

    Such an underrated channel. Thank you so much for the interesting / enlightening content!!

  • @CouchPotator
    @CouchPotator 3 місяці тому +2

    A calculator is NOT a computer. You need to be able to run a program that can branch execution paths based on calculations. And the ability to get stuck in an infinite loop. Autonomy is also not a requirement, but it does make these kinds of videos interesting.
    Is sapphire's scripting language turing complete?

  • @bigmclargehuge8219
    @bigmclargehuge8219 5 місяців тому +4

    Watching this video, I get the sense that this guy is definitely normal and always has been, which is cool.

  • @Sarah04527
    @Sarah04527 5 місяців тому +2

    My favorite part of adef videos is having to pause and rewind so I can catch the half second text only jokes and Easter eggs. Really interesting video!

  • @Tassdo
    @Tassdo 5 місяців тому +8

    Great video, and a new sub :) Your statement near the end that this shows Turing completeness is not accurate though.
    Being able to simulate any fixed circuit does not imply Turing completeness (no circuit is Turing complete). What you would need to do is to show that you can simulate any Turing machine (or just a single universal Turing machine, which amounts to the same). For this you at least need some mechanism to store and read an arbitrary amount of memory (technically in this sense no real-world computer is Turing complete, but just like we do with real computers you would have to consider an "idealized" Pokemon game, which has no storage limit in the bag, or arbitrary number of boxes on the PC, or whatever).
    What this is closer to showing is that Pokemon is, in some sense, NP-Hard (imagine for example that to reach E4 you needed to find the set of inputs to a circuit which allows you to get to one of two possible exits, this would be NP-hard). But here we're still missing something to be able to simulate any circuit, namely a way to feed the output of one gate as the input of another. You were able to get around it here since every layer of the adder just depends on one bit of the previous layer (the carry) so you basically have two versions of the gate, and the player serving as the carry. I don't think anything like this works in general unfortunately :(
    I'm now really curious if there is a way to show NP-hardness! (Turing completeness I highly doubt is possible, but I'd be happy to be proven wrong)

    • @AFastidiousCuber
      @AFastidiousCuber 5 місяців тому +2

      There's already a bunch of papers from Eric Demaine et al on arxiv which show that several different mechanics from the Pokémon games suffice for NP-hardness (and PSPACE-completeness).
      It is very hard to put games like this outside PSPACE (eg showing Turing completeness) because you'd need something which can read and write data (eg an item which spawns other items which can spawn other items etc.)

    • @Tassdo
      @Tassdo 5 місяців тому

      @@AFastidiousCuber Ah yes I should have guessed (or done a 20 sec Google search) about Eric having papers on this!

  • @Vallee152
    @Vallee152 5 місяців тому +2

    3:03 not actually. Binary just makes it so it's not as hard for one state to accidentally be read as a different state through voltage fluctuations. I actually really like balanced ternary computers. A balanced ternary computer has three states for each trit: positive, neutral, and negative.

  • @patatanavidenya
    @patatanavidenya 5 місяців тому +5

    you own an abacus?
    u must be a brave little abacus fan 😨

  • @matthewriley3857
    @matthewriley3857 5 місяців тому

    going from the cute little mossdeep half adder into the reveal of the tile full adder map is hysterical thank you

  • @drewzagieboylo5721
    @drewzagieboylo5721 5 місяців тому +13

    Very cool and a great introduction to Boolean logic/arithmetic!
    I'd love to see you go down the rabbit hole on this more like some of your other videos inspired you to do.
    Especially since technically, you have a long way to go before Turing completeness. You are going to need an implementation of memory before you can build a Turing machine (this video demonstrates Boolean logic completeness, not Turing completeness).

  • @KasranFox
    @KasranFox 5 місяців тому +1

    interesting tidbit about the elevated treadmill tiles: i believe it's actually been proven that any two-dimensional computing setup like this NEEDS to have paths be able to cross over other paths in order to be turing-complete! there's a toy "esoteric" programming language called Befunge that you might be interested in if you want to learn more

  • @ianfry9496
    @ianfry9496 5 місяців тому

    I remember making this in class and hated it wasn’t easy, can only imagine your struggle

  • @loogabarooga2812
    @loogabarooga2812 5 місяців тому +5

    I remember a paper where binsat was put in pokemon using trainer battles. You have just a haunter that knows lick. True would be a battle where you're outsped by a voltorb that only knows selfdestruct, and false would be a battle against a normal type with crunch that will outspeed and ohko you.

  • @CyberDork34
    @CyberDork34 5 місяців тому +1

    the proof for Turing completeness requires state, which requires building memory. You'd need to implement a d flip flop, and chain those together to form a register and memory, and some kind of clock. And finally I guess some kind of proof you can switch between states. I'm not sure how you do that and it fits on screen to where the switches can affect everything but I salute the progress in proving that the Mossdeep City gym treadmills are Turing complete and could probably run Doom

  • @kleitos6162
    @kleitos6162 5 місяців тому +11

    This video is way more surreal for someone who actually has a neighbor named Hayden, lmao

  • @Alcorenshi
    @Alcorenshi 5 місяців тому

    There's NO content like yours out there, this video was HELLA entertaining and awesome to see! Mad props!

  • @Flapjack3734
    @Flapjack3734 5 місяців тому +1

    I kinda hope a gym in a future pokemon game finds a way to sneak logic gates inside of it, i feel like it would jump start a lot of kid’s creativity lol

  • @Claymore729
    @Claymore729 5 місяців тому +2

    Here's a bonus computer science concept for the eagle-eyed viewer: look again at adef's implementation of the AND gate at 10:47. Do you notice how, if A is set to 0, then the treadmill tile for B isn't even encountered? Similarly, in the OR gate at 12:05, if A is set to 1, then the treadmill tile for B is also never encountered.
    This is a semantic called "short-circuit evaluation," which is present in some programming languages and evaluates the second input into a logic gate (more formally the second argument of a Boolean operator, if you're a gigantic nerd) only if the first is insufficient to determine the output. Some operations can't be short-circuited, like the XOR gate at 12:10 -- both gates must be evaluated to determine an XOR's output, which is why the Sapphire implementation has three treadmill tiles.

  • @wyattr7982
    @wyattr7982 5 місяців тому +12

    the amount of video game YT content that does a better job explaining digital logic and computer architecture than professors is staggering

  • @LRXC1
    @LRXC1 5 місяців тому +1

    This is really awesome!! I never thought about the tiles in mosdeeps gym as being this flexible. Excited for future content 😎

  • @janthehuman1679
    @janthehuman1679 28 днів тому

    4:13 So this video had me go down a rabbit hole to learn how to make all other logic gates using just these first three logic gates. And along the way, I discovered that all logic gates can easily just be made with a combination of simple NAND gates, which is just wild! I always wondered why one of my classmates in computer science class said that just NAND gates were the most fundamental building blocks of computer.

  • @firegem3280
    @firegem3280 5 місяців тому

    I once tried learning coding to create my own gameshark codes back when this game was new because coding was so complicated. The info about the gates is very nice and clear 👏

  • @M6A6T6T
    @M6A6T6T 5 місяців тому +1

    Create a computer within yourself

  • @archerelms
    @archerelms 5 місяців тому +1

    Love the code at 2:44, very helpful
    Sample also recently made an edit like this recently, and it's honestly something I'd love to see more

  • @luniveon
    @luniveon 5 місяців тому

    The switches for Surge's gym have a pattern, they always are directly next to the next switch that was first found.

  • @SaotomeLuna
    @SaotomeLuna 5 місяців тому +18

    14:52 bro invented microchips in mossdeep gym

  • @MafiaCow01
    @MafiaCow01 5 місяців тому

    Not only is this neat, but you're the first person to teach me how addition in binary works

  • @carltonleboss
    @carltonleboss 5 місяців тому

    This is sick! Now you need to make a romhack where you have to input the correct numbers to get to the gym leader...

  • @Thumbus
    @Thumbus 5 місяців тому

    It's funny how this is SO much more interesting than just taking a CS class lol Great job!

  • @2yoyoyo1Unplugged
    @2yoyoyo1Unplugged 5 місяців тому +2

    I was hoping this would somehow lead to doing it IN the game on hardware without any romhacking. However, that is probably legitimately impossible, no matter how small scale the idea or how far you stretch the idea of what a computer is. This is STILL insane.

    • @edomeindertsma6669
      @edomeindertsma6669 5 місяців тому +1

      It can be done in Pokémon Yellow with a saving glitch m.ua-cam.com/video/p5T81yHkHtI/v-deo.html I'm not sure if there is a better video.

    • @AbruptAvalanche
      @AbruptAvalanche 5 місяців тому

      Yeah, the title is a misleading since he didn’t build the computer inside the game.

  • @reapingsalvation7353
    @reapingsalvation7353 5 місяців тому +1

    Every video I say ‘why adef’ and then watch cause I know how impressive this is.

  • @shelb2057
    @shelb2057 5 місяців тому +1

    You may have made a working computer in pokemon sapphire, but did you make a working computer inside of the computer inside the pokemon center?

  • @kushd22
    @kushd22 5 місяців тому +3

    this project 🤝 me after walking on all these treadmill tiles: absolutely sick

  • @apathyisdeath2977
    @apathyisdeath2977 5 місяців тому

    Genuinely one of my favourite UA-camrs going. Not only entertaining, but educational, with a dash of that wonderful nerdy humour I love and appreciate. Love your work Adef!

  • @SpeedyGwen
    @SpeedyGwen 5 місяців тому +1

    that reminds me of the cpu I was working on in The powder toy, tho its far from turing compleet but it can run some super simple programs (fibonachi and simple counter) and could be made theorically turing compleet if I was crazy enough to do the modifications I was thinking off but would be the worst way possible of doing it
    but seeing a fellow nerd making a full adder in a video game is something I love (I made simple full adders in 3 or 4 sandbox games but never through modding a game directly)

  • @nathanielberele9174
    @nathanielberele9174 5 місяців тому +1

    I think you need to make something where the outputs are able to affect the next gate so that you can properly chain them.

    • @comexk
      @comexk 5 місяців тому

      You could have one of the outputs send the player to an area where they can and must pull a switch before continuing. The switch both unlocks the path forward, and modifies future gates in whatever way is desired.

  • @misssniperella
    @misssniperella 5 місяців тому +1

    Clearly the next step is to run Doom in Pokemon Sapphire.

  • @dr4gonblitz
    @dr4gonblitz 5 місяців тому +1

    NEW ADEF VIDEO MEANS I CLICK AND LIKE AND COMMENT FOR ALGO

  • @jamie.2413
    @jamie.2413 5 місяців тому +1

    I don't really know anything about computing past basic binary, but you made everything easy to understand and entertaining as always so thank you! ^^

  • @archerelms
    @archerelms 5 місяців тому

    Next semester I'm going to be learning more about logic gates and computers, so this came out at a great time

  • @sirmuckingham2494
    @sirmuckingham2494 5 місяців тому +5

    I am a massive computer science nerd, but for the last 5 years of my life I have failed to understand how logic gates actually do anything useful. I surrendered to only describing it as "Magic, Fuck You." You have such a magnificent way of breaking down elaborate concepts, I finally understand. To the moon with you, Adef!

  • @Ratsos12
    @Ratsos12 5 місяців тому +1

    Finally! Trash day on Tuesday, sign me up. Thanks Hayden.

  • @Bric_13
    @Bric_13 5 місяців тому +3

    dude i can’t wait to see a collab w other poketubers and my worlds collide

  • @YOUTY209
    @YOUTY209 5 місяців тому +1

    I usually just go to the one next to the Pokémon center nurse 😧

  • @mattstyles2498
    @mattstyles2498 5 місяців тому +2

    Its how a brains work and or not gates with synapses that are either on or off. Its y we have no free will.
    If our input is the same our output will be.

    • @Cyfrik
      @Cyfrik 5 місяців тому +1

      Honestly, the deeper one looks, the more meaningless the phrase "free will" becomes. Even if we were to pretend for the sake of argument that there is some supernatural aspect to it, that too would have to follow some kind of rules to perform its decision-making, again making it not-free.
      There are only two possibilities for a "source" of our decisions - causal determinism or true randomness. My money's on the first one.

  • @hazeofthegreensmoke505
    @hazeofthegreensmoke505 5 місяців тому +1

    I thought you were going to make a computer inside Pokémon sapphire, not just using sapphire's assets. Still pretty cool.

  • @eternalinfernos
    @eternalinfernos 5 місяців тому

    never in my life did I think I would hear concepts I learned in my college CS classes in a Pokemon video, but here we are! I worry about this man's sanity, but I'm here for the ride

  • @brambleberryproductions1235
    @brambleberryproductions1235 2 місяці тому

    Oh this video comes to me just as I start really wanting to learn about code and computers.
    Well, down the rabbit hole I guess.

  • @MilesLee-Rogers
    @MilesLee-Rogers 5 місяців тому

    I have rewatched every single pokemon related upload of yours i think about 15 times in anticipation for your next one. And to think there was another person just as nerdy as I

  • @VelcroCross
    @VelcroCross 5 місяців тому +1

    It’s way too early in the morning for this

  • @wind_reader
    @wind_reader 5 місяців тому +1

    It is now theoretically possible to build a computer inside Pokemon Sapphire to run Pokemon Sapphire

  • @benjadryl_7393
    @benjadryl_7393 5 місяців тому +3

    Everything you make is a total banger

  • @anon_y_mousse
    @anon_y_mousse 5 місяців тому

    Making your own computer always seems to start with a poisonous snake and ends up in an 8-way orgy. Computing is awesome!

  • @TheKd8lvt
    @TheKd8lvt 5 місяців тому

    As someone who has been implementing a digital logic simulator in Javascript, this is super cool. Like. _Wow_ - well done adef!

  • @AiluridaeAureus
    @AiluridaeAureus 5 місяців тому

    Okay... I was expecting some pomeg glitch ACE, but this is super cool too!

  • @justinwagley
    @justinwagley 5 місяців тому

    i really appreciate this; you’ve given me dungeon maze puzzles i can use for table games like d&d thank you so much for that, this rules.

  • @Maxjoker98
    @Maxjoker98 4 місяці тому

    3:02 Ok, so electricity can be more than just "on or off", and it's actually quite interesting that we use digital(two logic levels, "binary") electronics, as opposed to analog ones.
    There are of course multiple reasons for this, but a few of them are: Two logic levels make signal amplification easier, allowing you to stack arbitrary amounts of logic gates without adding noise. Related to the noise part is also that computations become completely deterministic(repeatable) without noise. Also they are easier to "clock" (only a clock signal + signal delay, instead of complicated phase relationships).
    That being said, analog circuits(and analog computation) does have it's uses: Basically all radio transmissions(Cellular, Wifi, FM broadcast, etc.) use analog circuitry, so does any kind of sound system(amplifiers). Some very old computers used analog computation, and they are making a slight comeback in some very special scenarios because they can be power efficient(e.g. analog sensor fusion).
    Very cool video though ;)

  • @harrytaylor1295
    @harrytaylor1295 5 місяців тому

    I really needed this for my last assignment, you explain very clearly

  • @maestroeragon
    @maestroeragon 5 місяців тому

    this is the best-looking person that has said the sentence "i've always been fascinated with building computers" ever
    also this was cool, subbed and i'll support you in the neighborhood subreddit

  • @star0chris
    @star0chris 5 місяців тому +2

    What a Brilliant video from a Brilliant person :)
    Keep up the great videos Adef, they're always a treat to watch!

  • @ShotgunLlama
    @ShotgunLlama 5 місяців тому

    You don't need all of AND, NOT, and OR to construct every logic gate. In fact, you only need either NAND or NOR and you can construct all the others

  • @shahproductionsuser2965
    @shahproductionsuser2965 5 місяців тому +2

    It's okay, I also own an abacus and it's one of my favored possessions.

  • @stoneenergey
    @stoneenergey 5 місяців тому

    This is way cooler than the logic gate lessons I took when I was in highschool.

  • @CausticFoil
    @CausticFoil 5 місяців тому

    God, that style of intro made me so nostalgic to 2010s UA-cam

  • @KINGDARKMALO
    @KINGDARKMALO 5 місяців тому +1

    Bro, the time and dedication to learn this is amazing. I could only dream of having the knowledge to do this. Love this concepts and the videos, very fun and similar interest to my own childhood. Keep up the great work, love to see more

  • @TensaZangetsu891
    @TensaZangetsu891 5 місяців тому +1

    You always lose me like 5 min in and I still watch with baited breath like a cave man being shown fire