CHUNGUS 2 - A very powerful 1Hz Minecraft CPU

Sdílet
Vložit
  • čas přidán 1. 06. 2024
  • CHUNGUS 2: Electric Boogaloo - A Minecraft CPU capable of running Tetris, snake, connect 4, graph rendering... and more!
    CHUNGUS stands for Computational Humongous Unconventional Number and Graphics Unit by Sammyuri.
    The CPU is also very large.
    In order to achieve a 10 tick clock speed despite its enormous size, the CPU makes use of techniques such as an instruction pipeline, automatic data cache and simple branch prediction.
    -------------------------------------------------------------------
    CPU specs
    - 8 bit data, 16 bit fixed size instruction length
    - 1Hz clock speed, 4 stage instruction pipeline (fetch - decode - execute - writeback)
    - 64 byte automatic 8-way associative data cache and 256 bytes RAM
    - Up to 256 addressable I/O ports
    - 7 general purpose registers
    - Over 40 ALU functions, including a hardware barrel shifter, multiplier, divider and square rooter
    - 32x128 byte program pages for a total of 4KiB program storage
    Other hardware used in video
    - 32x32 buffered pixel screen, draw and erase pixels, rectangles, up to 8 4x4 sprites
    - 12x2 character ASCII text display
    - 2x 8-bit integer display (signed or unsigned)
    - 8-input NES-style controller
    - 3 bit pseudo-RNG
    -------------------------------------------------------------------
    Links
    Instruction set - docs.google.com/spreadsheets/...
    Assembler and example programs - github.com/sammyuri/chungus-2...
    -------------------------------------------------------------------
    Full CPU explanation as well as individual program showcase and explanation coming soon™
    Want to see the CPU itself? Hop onto mc.openredstone.org, head to /build and teleport to /warp CHUNGUS2
    Example programs were recorded on MCHPRS, a server that speeds up redstone by up to 180x, which proved essential to make some of the slower games (such as Tetris) playable in real time.
    github.com/MCHPR/MCHPRS
    Replay mod was also used to record programs running.
    -------------------------------------------------------------------
    0:00 Intro
    0:43 Showcase
    2:42 Assembler
    3:02 Programs
    Music: MDK - Jelly Castle (Evan King retro mix)
    I do NOT own the music
    #Minecraft #Redstone
  • Hry

Komentáře • 3,5K

  • @sammyuri
    @sammyuri  Před 2 lety +6873

    I should probably have made this clearer in the video but all programs shown were sped up by a factor of between a hundred and a few thousand times in order to make them actually playable/watchable in real time. While 1Hz is definitely fast for a redstone processor, it's nowhere near as fast as the video may make it out to be. Sorry for any confusion caused!

    • @Sol4rOnYt
      @Sol4rOnYt Před 2 lety +310

      Lmao, we all knew.. Only a true genius would- oh wait you are a true genius lmfao!

    • @diophantine1598
      @diophantine1598 Před 2 lety +75

      When will a world download be available?

    • @oldisektv
      @oldisektv Před 2 lety +23

      With carpet mod?

    • @nickchan6498
      @nickchan6498 Před 2 lety +107

      This is very impressive. Maybe redstone cpu can be made faster by using signal strengths (that will be 16 states as opposed to 2) but I can't imagine how coooommmplicated that will be. (Also more compat storage)

    • @portalpvp5031
      @portalpvp5031 Před 2 lety +10

      gg

  • @hasanyousef6782
    @hasanyousef6782 Před 2 lety +3860

    This man's resume be like:
    Experience: 7 months of independent redstone development (fulltime)

    • @Bien-voyager
      @Bien-voyager Před 2 lety +354

      redstone fullstack developer

    • @qps9380
      @qps9380 Před 2 lety +276

      @@Bien-voyager does “full stack” even begin to cover it?? He designed an entire computer from basically transistors…

    • @woutervanham8246
      @woutervanham8246 Před 2 lety +51

      HIRED

    • @secondary2nd
      @secondary2nd Před 2 lety +23

      @@qps9380 “Fullstack” never make sense to me, but this video sure is “stacked”

    • @jasonchiu272
      @jasonchiu272 Před 2 lety +84

      Let's be honest here if you were to show this to an interviewer you'd probably be immediately hired on the spot.

  • @mattbatwings
    @mattbatwings Před 2 lety +6822

    Most impressive redstone build of all time... a freaking inbuilt call stack .. dude this is just nuts. Massive respect to your dedication, ingenuity, and effort. This is a new era of redstone.

    • @thiccaxe
      @thiccaxe Před 2 lety +167

      Just wait till the Big Chungus drops

    • @xtecherstudios
      @xtecherstudios Před 2 lety +24

      Oh hey matt! Im a big fan of ur channel

    • @jacksonbarnes8882
      @jacksonbarnes8882 Před 2 lety +28

      Wait what? I clicked on this video angrily bc I thought he stole it from you

    • @samevans4834
      @samevans4834 Před 2 lety +29

      When mattbatwings compliments your Redstone, you're doing something right

    • @mqix3741
      @mqix3741 Před 2 lety +11

      you started this era with the tutorial vids
      now noobies can start and make stuff

  • @snowcoalRC
    @snowcoalRC Před rokem +2840

    I just graduated with a degree in computer engineering, and let me just say this is absolutely mind blowing. For one of my final classes I had to design a Risc V 5-stage pipelined processor with a branch predictor, I cache, D cache, etc and it took months doing it using System Verliog. Debugging the pipline for all edge cases was easily the most complicated part. There were edge cases that would show up 1/1 million clock cycles or even rarer. I couldnt even imagine trying to do it in minecraft. Not to mention this thing has even more features. 8 way cache? Mine was only 2 lol which significantly lowers the complexity of the controller (although I also had to do an L1/L2 cache). Not you mention you made your own assembler that generates the machine code? I was provided that lol. And finally I cannot believe how compact this thing is. This blows every other redstone creation in existence out of the water. You not only have extensive hardware knowledge, but you had the guts to do something as crazy as this.

    • @Chris_t0
      @Chris_t0 Před rokem +30

      uploader is literally better than other people doing it and also expanded memory, he did well, also its all over youtube with tutorials if interested

    • @snowcoalRC
      @snowcoalRC Před rokem +77

      @@Chris_t0 you make one then lol

    • @thePontiffsSnickerdoodles
      @thePontiffsSnickerdoodles Před rokem +96

      @@Chris_t0
      Love it when people like you feel its necessary to comment. Just because you possess the ability to speak doesnt make you intelligent.

    • @Chris_t0
      @Chris_t0 Před rokem +7

      @@thePontiffsSnickerdoodles The irony, I can't.

    • @thePontiffsSnickerdoodles
      @thePontiffsSnickerdoodles Před rokem +47

      @@Chris_t0
      If you cant then dont.

  • @adinrichter6034
    @adinrichter6034 Před 2 lety +741

    this man made one of the most insane redstone builds ever and decided to call it chungus, respect

    • @andrearendine3774
      @andrearendine3774 Před 10 měsíci +11

      Let's also remember that the H in CHUNGUS stands for HUMONGOUS

    • @sherlockholmes8822
      @sherlockholmes8822 Před 9 měsíci +2

      ​@@andrearendine3774so ChumongousUNGUS

    • @774game
      @774game Před 9 měsíci +1

      ​@@sherlockholmes8822Yes.

    • @GoldJerryGold
      @GoldJerryGold Před 8 měsíci +2

      Amazing god-tier genius-level creation completely ruined by shit-tier Reddit meme name

    • @RoflcopterLamo
      @RoflcopterLamo Před 8 měsíci

      Autism is why

  • @adreiiaii510
    @adreiiaii510 Před 2 lety +443

    Never really realized this for some reason but...
    Since red stone's release... we've basically been watching a re-enactment of the Silicon Race from the 1940s to, given the above, about the 1980s.
    ... a 40+ year period of technological innovation... recreated in a video game over 8+ years, displaying the same level of technical genius.
    Unreal.

  • @verycalmgamer4090
    @verycalmgamer4090 Před rokem +130

    One day we will have Minecraft in Minecraft.

  • @mrboltz3041
    @mrboltz3041 Před 2 lety +261

    I have never been so impressed by a 1 Hz computer before! Great work.

  • @TimTom
    @TimTom Před 2 lety +3554

    It has a BRANCH PREDICTOR?!
    Absolutely phenomenal work!

    • @SkyenNovaA
      @SkyenNovaA Před 2 lety +145

      I didn't even know this was possible in minecraft...

    • @Seanybearscouts
      @Seanybearscouts Před 2 lety +18

      Literally tim is here too

    • @roygalaasen
      @roygalaasen Před 2 lety +51

      That is the thought I had when he said he made pipelining and cache lines, but I guess I missed the branch predictor 😂 absolutely nutters! - and phenomenal as you put it. 😃

    • @PowerPointWarrior
      @PowerPointWarrior Před 2 lety +6

      Didn’t know you would be here?!

    • @Baseless_
      @Baseless_ Před 2 lety +18

      That really blew me away, I mean the whole thing is impressive but damnn

  • @TheForbiddenLemon
    @TheForbiddenLemon Před 2 lety +2273

    normally i would make a joke about touching grass but the fact that you managed to make a cpu with all of those functions and still made it 1hz is just mind blowing

    • @marvelgoh5648
      @marvelgoh5648 Před 2 lety +160

      I mean you need knowledge in computer science to make this. Touch grass joke won't work.

    • @_chilly9546
      @_chilly9546 Před 2 lety +328

      @@marvelgoh5648 as a cs major we don't touch grass

    • @faceboy1392
      @faceboy1392 Před 2 lety +65

      as a human being i rarely make contact with organic matter growing out of the soil

    • @ShadowTheAge
      @ShadowTheAge Před 2 lety +20

      1 hz but it stalls on cache misses and branches, and some operations require several cycles. Not that is bad, it is the same reason why actual cpus can have such high clock speeds too.

    • @araigumakiruno
      @araigumakiruno Před 2 lety +14

      he didnt need to touch grass. the grass touches him

  • @Smitology
    @Smitology Před rokem +128

    Can I just say, many are rightfully praising your redstone skills in this one and in Minecraft in Minecraft, but can we also appreciate your video making skills? Otherwise it would just look like a giant block of complex redstone with no explanation

  • @E4tHam
    @E4tHam Před rokem +36

    Incredible! CHUNGUS 3 should have virtual memory, gcc, and privilege mode support so it can boot Linux

    • @Scotty-vs4lf
      @Scotty-vs4lf Před 3 měsíci

      virtual memory wouldnt necessarily be that hard to implement, but it would definitely be incredibly slow and pointless for this. you would be adding a lookup table to every memory access, along with having to check privileges and such

  • @CraftyMasterman
    @CraftyMasterman Před 2 lety +979

    Ok now for a comment that won't get flagged by yt, dude this is insane you have made the single greatest redstone machine ever!!! It can basically do anything given a few hours of programming. Sammy you're cracked and goated and I can only wish to be as good as redstone as you man

    • @joonalehtinen5462
      @joonalehtinen5462 Před 2 lety +48

      just to explain to your subscribers: This is way beyond mumbo jumbo stuff.

    • @kingtasaz
      @kingtasaz Před 2 lety +2

      @@joonalehtinen5462 lmao

    • @earthcantholdme1209
      @earthcantholdme1209 Před 2 lety

      hello I am subbed

    • @G-u-z-i-o
      @G-u-z-i-o Před 2 lety

      Wait... Which one would get flagged?

    • @Stonehawk
      @Stonehawk Před 2 lety +1

      HIGH PRAISE from the one and only CraftyMasterman!
      THIS REDSTONER IS REAL.

  • @unpaidintern6652
    @unpaidintern6652 Před 2 lety +545

    The pioneers of computer science and calculation machines would go crazy over this. Not only are our computers ridiculously powerful, we have games that allow the construction of machines that surpass anything possible with their technology.

    • @conde_bathory
      @conde_bathory Před 2 lety +73

      I was thinking: "what would Alan Turing say/think if he could see this?"
      Simply jaw-dropping.

    • @handle11122
      @handle11122 Před 2 lety +12

      not to take anything of from the creation or anything, no one with a proper CS background would go crazy over this. All the concepts used there are taught in second or third semesters of most computer science courses already, they just implemented them in minecraft. We had to do something similar (to a smaller degree without IO or cache) using a logic simulator, I'd imagine he used something like that and converted it to redstone somehow

    • @conde_bathory
      @conde_bathory Před 2 lety +64

      ​@@handle11122 I'm an Electronics Engineer and the computer principles/background are lectured, like you said, between around 2nd and 5th semester. Mostly everything regarding microprocessors, FPGAs/CPLDs, programming... the building blocks for computer science are there.
      I believe that in this particular case (the Chungus 2) the amount of work is admirable. All the efforts spent on running tests, fixing bugs and errors, making changes, et cetera.
      EDIT 12/22: now that I think about it, this CHUNGUS 2 is an artifact somehow equivalent to the computers that came after the ENIAC, only that it exists in a virtual system. It's kind of crazy, but in an interesting way...

    • @filblo503
      @filblo503 Před 2 lety +17

      @@handle11122 they ment the pioneers i.e. the once to invent the first few computers. People back in the early to mid 1900s

    • @ChimpyChamp
      @ChimpyChamp Před 2 lety

      What logic simulator did you use?

  • @terminus9897
    @terminus9897 Před rokem +112

    Because of its RISC architecture it can simulate pretty much anything, but that comes at the price of speed vs more common integrated circuit redstone computers. id say that this is probably the most powerful software programmable redstone computer possibly in existence. Amazing!

    • @Luredreier
      @Luredreier Před rokem +3

      I wonder what's possible with a CISC processor in Minecraft?
      You're never going to have a high frequency.
      And my guess is that you're limited in how many transistors can actually be active at any one time.
      But if you could make a superscalar out of order design where parts of the design is paused while other parts are running etc you could perhaps increase the utilization of the computing resources of the game engine itself?
      I don't know...

    • @terminus9897
      @terminus9897 Před rokem +1

      @@Luredreier I'd say the limit to the amount of activity would be the one processing power of the computer that you are playing it on, or runs a server. (one line because minecraft only operates redstone in one line to prevent certain glitches.)

    • @Luredreier
      @Luredreier Před rokem +1

      @@terminus9897 Minecraft just doesn't use most of the computational power of a computer to begin with...
      And even what's being used is wasted quite a bit in this context.

    • @terminus9897
      @terminus9897 Před rokem

      @@Luredreier True, but that can be altered by settings beween both minecraft and the computer, as well as probably mods such as carpet mod and maybe optifine etc. which can be used to alter how minecraft allocates computation without changing the actual progression rate of ticks in order to reduce lag.

    • @-TheUnkownUser
      @-TheUnkownUser Před rokem +1

      I think that a lot of the work was put on the memory, since a RISC architecture needs more memory, even for a minecraft computer it's still hard as hell...

  • @urphakeandgey6308
    @urphakeandgey6308 Před rokem +26

    Everytime I see videos like this, I like to imagine a timeline where we never figured out how to miniaturize computers parts as much as we did, so computer technology advanced to be these giant structures, but still incredibly powerful.

    • @hellucination9905
      @hellucination9905 Před 11 měsíci +3

      I want to live in such a structure. A whole city of it.

  • @Seriousbear
    @Seriousbear Před 2 lety +444

    *System programmers: assembly language is so hard*
    *sammyuri: hold my redstone*

    • @DragonProtector
      @DragonProtector Před 2 lety +10

      It is though. I tried once

    • @karlm9584
      @karlm9584 Před 2 lety +13

      @@DragonProtector kids these days...

    • @DragonProtector
      @DragonProtector Před 2 lety +7

      @@karlm9584 yup but what can you do?

    • @nielsbishere
      @nielsbishere Před 2 lety +13

      @@DragonProtector your mother

    • @DragonProtector
      @DragonProtector Před 2 lety +16

      @@nielsbishere 🤣. Well i guess they way i left that comment was bound to get some random saying this

  • @Helvanic
    @Helvanic Před 2 lety +1388

    I've been programming for more than 10 years, and this is one of the most impressive piece of work I've ever seen. The sheer dedication it must have taken is mind-boggling. You made the founders of IT proud with this one !

    • @sergiiskoryk6668
      @sergiiskoryk6668 Před 2 lety +15

      yes, it's like matrix movie now

    • @sirus312
      @sirus312 Před 2 lety +10

      I don't even know wtf is going on but this is impressive.

    • @Jigokunogoka
      @Jigokunogoka Před 2 lety

      If you want to see more, check the channel called Fundy, he made his entire screen display in minecraft, he could even open and play minecraft itself, in minecraft!

    • @taroumaru8743
      @taroumaru8743 Před 2 lety +8

      @@Jigokunogoka not as impressive as making an entire cpu based off from redstone, fundy used external programs but the channel that made the cpu is entirely from redstone, still fundy is pretty cool

    • @appleyt6757
      @appleyt6757 Před 2 lety +1

      @@Jigokunogoka its not as impressive as this onr. This one, is pure vanilla

  • @jononpaper
    @jononpaper Před 2 lety +16

    There should be a minecraft version of the nobel prize called the notch prize which would be given to the creators of the greatest things made in minecraft. This could be split into 3 categories: building, redstone and survival. These awards would be handed out every year by mojang to the most talented minds on the anniversary of notchs birthday

  • @Tahycoon
    @Tahycoon Před 2 lety +42

    Imagine improving it to be a real computer and then spending your time in a computer within a computer and building it again!
    Paradoxical!

    • @kathrynelrod5570
      @kathrynelrod5570 Před rokem +3

      > running minecraft in the JVM on my minecraft computer running in minecraft running in the JVM on my PC

  • @MSkwar
    @MSkwar Před 2 lety +716

    You need to get this thing to run DOOM.
    Seriously. Having an open source game playing an open source game brings us one step closer to the singularity. Do it.
    There's a version of DOOM out there that can run on a TI-84 plus. You can do this.

    • @astronot5555
      @astronot5555 Před 2 lety +26

      It needs a mod for make a data build for doom.

    • @diegojerez7899
      @diegojerez7899 Před 2 lety +19

      maybe start with wolfenstein first :P

    • @satoshinakamoto5256
      @satoshinakamoto5256 Před 2 lety +64

      Minecraft isn't an open source game though :(

    • @puzzled_bug
      @puzzled_bug Před rokem +5

      YES. WE CAN FINALLY DO IT. THE THING WILL FINALLY BE DONE

    • @e4e445
      @e4e445 Před rokem +10

      Minecraft is not open source.

  • @_Killkor
    @_Killkor Před 2 lety +477

    The Mandelbrot set part killed me.
    This is insanity. I still remember watching the PC made by _LPG_ years ago and I thought that it's the apex of Minecraft possibilities when it comes to redstone computers. How wrong was I, Chungus II surely knows.

  • @umountable
    @umountable Před rokem +28

    I am currently a Computer Science PhD student and i am happy that i at least understand what all the specs mean. Super impressive to design this from scratch and than implement it in minecraft. Of course its a simple CPU, but the whole stack of stuff that needs to be taken care of is a really impressive achievement. Thats really "Ben Eater" level

    • @Rowlesisgay
      @Rowlesisgay Před 4 měsíci +1

      ben eater reference in/below a minecraft video thought that was only possible in a jdh video i was wrong (pleasantly suprised)

    • @juryrigg5568
      @juryrigg5568 Před 3 měsíci

      Ok buddy

  • @pierretella1221
    @pierretella1221 Před rokem +4

    So much ingenuity and talent... Man, you've broadened my horizons. I'm grateful. Truly.

  • @an0nsaiko890
    @an0nsaiko890 Před 2 lety +675

    I can't even imagine how hard it was to fix any mistakes done in the making process. Phenomenal work.

    • @inordirection_
      @inordirection_ Před 2 lety +135

      Oh my god debugging this thing, holy shit

    • @ChristopherGray00
      @ChristopherGray00 Před 2 lety +39

      uh.. not that hard, you just document everything. it's not like he's going into it completely blind and doesn't know how a processor works.

    • @fosterrogers9066
      @fosterrogers9066 Před 2 lety +39

      Thankfully debug works the same as with a normal PC and as he's clearly identified his sections, he would be highly qualified to debug if it came to that. I imagine 2 months of the 7 may have been debug

    • @Tr3yM34
      @Tr3yM34 Před 2 lety +26

      @@ChristopherGray00 yeah spending days tediously debugging a computer made of redstone isnt that hard

    • @Van-yo2xr
      @Van-yo2xr Před 2 lety +8

      @ you aren’t debugging red stone, you are debugging some sort of hardware description (code) that you can simulate and run through additional tooling.

  • @jiauyjiauy3777
    @jiauyjiauy3777 Před 2 lety +1319

    Every single day we step closer to creating Minecart in Minecraft
    UPD: yes, it already happened, yes I even saw the video :)

    • @avpisanov
      @avpisanov Před 2 lety +94

      And building a processor in that 2-nd order Minecraft...

    • @JorgetePanete
      @JorgetePanete Před 2 lety +173

      You can already craft minecarts in Minecraft 👍

    • @tonymiranda3246
      @tonymiranda3246 Před 2 lety +25

      minecraft multiverse

    • @JeffreyCH1
      @JeffreyCH1 Před 2 lety +15

      Mmm yes, creating a new universe in our universe...

    • @handlemonium
      @handlemonium Před 2 lety +14

      The Chungus Chungus Metaverse

  • @jasonrubik
    @jasonrubik Před 2 lety +4

    I will definitely have to take this out for a test drive ! I can't wait to program something for it, and then get inspired to build my own.

  • @asatyammis
    @asatyammis Před 2 lety +5

    I am still imagining, the time it took to fly from a part of cpu to another just to fix a mistake. The machine though is so massive. You are truly a redstone engineer. 1Hz is soo faaastt in Minecraft!! And the things it can do, plotting graphs, games blew me out. So far the best Minecraft Redstone Engineering Marvel and the best CPU Architecture. Kudos 👏👏.
    Keep it up!!

  • @EGGNBEENZ
    @EGGNBEENZ Před 2 lety +1713

    imagine spending thousands of hours planning and building this behemoth of technology, only for it to be named the 'chungus'

  • @effervescentrelief
    @effervescentrelief Před 2 lety +78

    Pretty sure the makers of Minecraft NEVER envisioned someone making an actual functioning CPU using the mechanisms in the game. Unreal. I'd also like to say how appreciative the various color coding of each CPU segment is for easy and clear understanding of each part. Absolutely professional. What is also absolutely amazing is the fact that you had to DESIGN an actual CPU using the components available in the game, consider the way they interact with the various other components in the game, then put that all in various nodes and packages that perform their said function working together with the other parts. That in and of itself is a feat, as many know redstone can be finicky sometimes. Wow just wow!

  • @tiiamaria_
    @tiiamaria_ Před rokem +4

    this man really took making a simple game to another level, mad respect for your hard work!

  • @Aurora_Animates
    @Aurora_Animates Před 2 lety

    Bro this is probably the most effort I’ve seen in a video ever. Please sir get the subs you deserve man!

  • @LordDecapo
    @LordDecapo Před 2 lety +202

    One of the best MC CPU videos made :) Love the diversity in software shown!

    • @rgbforever4561
      @rgbforever4561 Před 2 lety +4

      It is getting to the Point we're a Driver is needet

    • @LordDecapo
      @LordDecapo Před 2 lety

      @@rgbforever4561 just you wait ;)

    • @EvroCraft
      @EvroCraft Před 2 lety +1

      Not one of the best, but flat out THE BEST

    • @johnt3606
      @johnt3606 Před 2 lety

      There are more?

    • @LordDecapo
      @LordDecapo Před 2 lety

      @@johnt3606 oh yes. And many more builds on the ORE server sammy mentions :D

  • @jgcodes2020
    @jgcodes2020 Před 2 lety +660

    This has so much potential. He made a CPU with a call stack, caching, branch prediction, and a GPU (coprocessor). Heck, someone needs to make an FPU or SIMD coprocessor for this, and multiple cores. But I bet the game already lags hard with this one computer.

    • @OthiOthi
      @OthiOthi Před 2 lety +77

      Lithium could be used to optimise the game's ticking, much like how Sodium optimises graphics, Phosphor optimises lighting, and Hydrogen optimises memory (all are Fabric mods)

    • @megvmean
      @megvmean Před 2 lety +16

      @@OthiOthi and Paper/Purpur use an optimized version of Redstone.

    • @b213videoz
      @b213videoz Před 2 lety +2

      What for?

    • @skullduggerry
      @skullduggerry Před 2 lety +8

      @@megvmean carpet mod for fast redstone is better

    • @AbuHajarAlBugatti
      @AbuHajarAlBugatti Před 2 lety +5

      @@b213videoz So Todd can release a new skyrim version that we can buy and play inside minecraft, duh

  • @pruittboy3
    @pruittboy3 Před rokem

    This is probably the most well deserved subscription I've added to my collection of tech tubers

  • @endeavor1664
    @endeavor1664 Před měsícem

    Just wanted to share that my professor shared this video with our undergrad theory of computation CS class today. This is really incredible, I've seen Minecraft redstone computers before but the level of functionality here is insane! Major kudos :)

  • @thestudentofficial5483
    @thestudentofficial5483 Před 2 lety +46

    I think you'd be a great microprocessor programming lecturer. Imagine learning in college like this.

    • @jasonrubik
      @jasonrubik Před 2 lety +1

      I would love to see a long format deep dive lecture into every aspect of this machine.

    • @exortions3079
      @exortions3079 Před rokem +2

      "Alright guys, so for your final you will be creating a 300 million hz CPU with an x128 architecture and 512 cores in Minecraft. You have 30 minutes, good luck to everyone!"

    • @HansSchulze
      @HansSchulze Před měsícem

      And as the instruction flows through the prefetcher on your right, it passes into the decoder below. With VR headsets...

  • @PedroContipelli2
    @PedroContipelli2 Před 2 lety +110

    When I saw the words "branch prediction" my jaw dropped... absolutely amazing.

  • @Levyathyn
    @Levyathyn Před rokem

    Genuinely stunned to my very soul by this. I'm a mere dabbler and redstone, absolutely nothing anywhere near this level, but I'm familiar with this and computers enough to understand just how staggering of a development this is.
    I have to say I like it all; I wasn't even sure how one could build a register and something like this, or that it was possible to carry even that much memory through Redstone circuits. But I think my favorite part is just how small it is.
    I hypothesized long ago that this would be possible, especially with some of the more complex Redstone tools we've gotten over the years. But even in my wildest dreams I couldn't have imagined just how tight you would be able to fit everything together, or how elegant of a design it would still be.
    Well done. Seriously.

  • @sabastianleisek396
    @sabastianleisek396 Před rokem +1

    I have literally never subscribed to a Minecraft channel, but the stuff you do here is way beyond "another level". I thought I was good with redstone, but daum man. If this doesn't earn a sub, idk what would.

  • @Sloimay
    @Sloimay Před 2 lety +154

    absolutely jaw dropping my dude, everything about the video was super entertaining to watch and the cpu is next-gen compared to the other ones currently. (and seems to fit so nicely together as well!!) congrats again
    hope to see more of your stuff soon!

    • @Reth_Hard
      @Reth_Hard Před 2 lety +1

      Still not good enough for me.
      When it'll be able to execute NES roms at a decent framerate, with the sound, I might consider being impressed, but until then... Not really!
      :P

    • @makbran3627
      @makbran3627 Před 2 lety +3

      @@Reth_Hard I really hope that’s a joke

    • @spectrm6014
      @spectrm6014 Před 2 lety

      @@makbran3627 lol

    • @turolretar
      @turolretar Před 2 lety

      @@makbran3627 yes this video is a joke

  • @TheRailroad99
    @TheRailroad99 Před 2 lety +57

    This is absolutely crazy... I wonder if it would be possible to write a small C compiler for it. Having a stack pointer unit it should not be that bad at running C code.
    Edit: Looked at the assembler.... I'm stunned! This project really amazes me.
    The idea of a MC CPU is nothing new, but the idea of writing an assembler for it and a tool that converts that to .schem files is just ridiculous...ly cool.
    This really made my day!

    • @XENON2028
      @XENON2028 Před rokem

      imagine porting a small feature-reduced version of gcc to it

  • @Vekten
    @Vekten Před rokem +1

    Amazing job, I keep trying to tinker with stuff like this, building PCs from scratch either from games or different gates and it's difficult, but it's so cool!

    • @itstato
      @itstato Před rokem

      he made this computer run minecraft

  • @JourG215
    @JourG215 Před rokem +1

    I built an ALU in Minecraft (on the Xbox 360) a long time ago and that took me a looong time. I cannot imagine the amount of headaches this thing gave you. Really impressed.

  • @andrew8293
    @andrew8293 Před 2 lety +220

    I hope you do the explanation soon. Maybe a nice long one. As a computer science student I would love to learn how CPUs work and this project is perfect for that. Also a future world download would be a nice to have!

    • @pascha4527
      @pascha4527 Před 2 lety +44

      Look at Ben Eater channel, he built a real life 8 bit cpu with basic electronics parts. He explains it very well and goes in dept. Its a couple hours of watch time but its not boring at all!

    • @-argih
      @-argih Před 2 lety +26

      You can buy the "The Elements of Computing Systems, second edition: Building a Modern Computer from First Principles " book or how is better known "From nand 2 tetris", you start the book by learning logic gates and boolean algebra and finish it by programing tetris on your own language on your own os and compiling it on your own compiler made on your own assebler, for your own architecture.

    • @asoteunh345
      @asoteunh345 Před 2 lety +1

      @@-argih Nand 2 tetris is fantastic! I recommend that too.

  • @roboltamy
    @roboltamy Před 2 lety +65

    It's great to finally see the culmination of 7 months of work completed. CHUNGUS 2 is very impressive and I look forward to seeing what you do next.

    • @roboltamy
      @roboltamy Před 2 lety +2

      Holy shit when did this get fucking 250k views

    • @AbuHajarAlBugatti
      @AbuHajarAlBugatti Před 2 lety

      @@roboltamy its on news sites here in germany

    • @Sloimay
      @Sloimay Před 2 lety

      @@roboltamy Almost a million now lmFAO

  • @shunyaku7759
    @shunyaku7759 Před rokem +4

    "What can it do?" Well for starters you can probably pilot a Lunar Lander with it

  • @FateofSerenity
    @FateofSerenity Před rokem

    Massive accomplishment, congratulations from all of us at FoS!

  • @guilhermemendonca8959
    @guilhermemendonca8959 Před 2 lety +71

    The presentation showing each part of the build and making the others transparent was so good! And the computer is amazing obviously. Keep it up man!

  • @Golem642
    @Golem642 Před 2 lety +154

    I have a lot of things to say about this.
    First off, the video :
    This is an awesome edit. Cool effects, cool music, jokes included, great showcase. Perfect video !
    Second off, the creation :
    Omg, this is absolutely insane ! This blow my mind at a point that i can't think bc i feel too dumb, you just revolutionized redstone ! The problem I've seen in others creations like that, was that they were limited to the program they were made for. But you made this accessible and customizable by using a real programming language, the possibilities of this are in infinites ! Can't wait to see an upgraded version of this, thought I'm not sure a creation of that amount of genius can be more than it is 😁
    Finally, the creator :
    You deserve wayyyyy more of everything ! I loved this video and I hope to see more like that in the future. I hope this channel blows up !
    Continue on that way, you're awesome :)

    • @DragonProtector
      @DragonProtector Před 2 lety

      Just look at what people made in c+ for gamecube super monkey ball 2 modding

  • @Brother_K
    @Brother_K Před 2 lety +1

    I haven't played Minecraft in some five years. I'm not sure how far redstone has progressed in that time however, I can say for certain that this is far and away the most advanced Minecraft build I've ever seen. Bravo.

  • @fernandoblanco1471
    @fernandoblanco1471 Před 2 lety +2

    This is mindblowing
    I cant get it, its amazing the work you have done
    And thanks for sharing it with us , I really appreciate

  • @kepler69c32
    @kepler69c32 Před 2 lety +322

    dude how did you managed to get it that compact? and that fast? and the caches.....
    you're a genius. i have nothing else to say.

    • @Dziaji
      @Dziaji Před 2 lety +34

      The branch predictor is what got me :O

  • @YellowBunny
    @YellowBunny Před 2 lety +48

    This is one of the most impressive redstone computers I have seen!

  • @jackstewart7664
    @jackstewart7664 Před 2 lety +7

    That is quite simply the most impressive minecraft build ever. I don't think else anything could live up to that

  • @lexluthor2516
    @lexluthor2516 Před 2 lety

    Minecraft platers these days are getting more interesting. I've seen one of these before, but still very well built with a Redstone lamp. You guys should collaborate to do some sort of project.
    Well done!. Kudos to you.

  • @BoredInNW6
    @BoredInNW6 Před 2 lety +203

    When I saw that it implements branch prediction, I wondered whether it's vulnerable to Spectre-class side channel attacks. Imagine a CVE being issued for a Minecraft CPU!

    • @FlorianWendelborn
      @FlorianWendelborn Před 2 lety +57

      It's not vulnerable since it doesn't even have rings with different access permissions. The only thing bad about Spectre is that it allows you to read memory that you're not supposed to be able to read, specifically operating system internal memory

    • @mrgyc2523
      @mrgyc2523 Před 2 lety +81

      It is vulnerable to water bucket

    • @stdcall
      @stdcall Před 2 lety +2

      @@FlorianWendelborn /technically/ everything has permission rings, but with only first-level firmware (i.e. no program that executes sub-programs) only ring0 is ever observed.
      permission hierarchies are an emergent phenomenon, if I were to write some program for the architecture that acted as a wrapper for sub-programs, exposing some kind of API that has permission designations, you would see "rings" emerge without any change in the CPU.
      at which point it might be useful to perform a side-channel attack.

    • @hasanabireactionsclips
      @hasanabireactionsclips Před rokem +1

      @@mrgyc2523 I saw an article about that new "water bucket worm" that keeps infiltrating hardware

    • @ImDelphox
      @ImDelphox Před rokem +2

      @@mrgyc2523 ok but so is a real computer

  • @user-vn9ld2ce1s
    @user-vn9ld2ce1s Před 2 lety +35

    Jesus christ, this is more advanced than I'd be able to make in an actual HDL, and you manage to pull this off in minecraft... You're a legend, my lord. The only task left is to add support for the RISC-sammyuri ISA into gcc, add a bit more memory, and compile the linux kernel, lol

  • @HansLemurson
    @HansLemurson Před 2 lety +1

    This was really great work! You really used every trick in the book to speed up memory access, a major bottleneck for many CPUs!

  • @vladkoschenko2099
    @vladkoschenko2099 Před rokem +1

    I wish I had the kind of dedication and inventiveness to be able to do such projects.
    Your builds are truly impressive. I would never believe that one could build a 1Hz computer in Minecraft

  • @SeenSven
    @SeenSven Před 2 lety +1592

    This is by far the most impressive redstone machine ive ever seen. When you pulled out tetris and the graphs it just blew my mind. This is the pinnacle of redstone engeneering!
    Alos how did you do that with replay mod, that the other components are transparent?

    • @Aresydatch
      @Aresydatch Před 2 lety +5

      How the hell did i Find you here?

    • @Zenos47
      @Zenos47 Před 2 lety +3

      Wait what are you doing here

    • @CraftyMasterman
      @CraftyMasterman Před 2 lety +119

      You can export camera paths in replay, you just have 2 clips with the same camera path and lower the opacity

    • @Zenos47
      @Zenos47 Před 2 lety +6

      @@CraftyMasterman your here tooooo

    • @DarkMeta_Minecraft
      @DarkMeta_Minecraft Před 2 lety +10

      i think it actually is the most advanced system yet. No one has done this as far as i can find or have seen.

  • @jasonchiu272
    @jasonchiu272 Před 2 lety +37

    Imagine doing this for a project in college. I am pretty sure professors would allow this because redstone components can literally build computer parts.

    • @orirori8294
      @orirori8294 Před 2 lety +1

      lol exactly what I thought

    • @ThePandafriend
      @ThePandafriend Před 2 lety +4

      It takes way too much time for that.

    • @bob450v4
      @bob450v4 Před 2 lety +13

      This is way harder than building a computer using transistors and logic gates on a breadboard.

    • @ladrillorojo4996
      @ladrillorojo4996 Před 2 lety +2

      @@bob450v4 Pretty sure this guy did made transistors and logic gates to achieve this.

    • @smartyuno
      @smartyuno Před 2 lety +1

      It’s literally performing VLSI without cadence

  • @LaysDragon
    @LaysDragon Před rokem

    I never thought I will going to see BRANCH PREDICTOR and LRU CACHE in the minecraft redstone,and ....build-in call stack!? Is this a thing?? I didn't expected to revisited my computer-science lesson here,it really blowing my mind. I have watching so many redstone cpu so many years ,this one is the most masterpiece and such a formal cpu design as far as I known. Its so impressed me,good job dude.

  • @MJ88663
    @MJ88663 Před 11 měsíci

    How are you not extremely famous? You are spectacular, and your work is truly a work of art.

  • @lumi2030
    @lumi2030 Před 2 lety +21

    you are the biggest redstone legend of all time. i gasped when i saw a fucking mandelbrot set and conway's game of life. subbed immediately

  • @benleb8939
    @benleb8939 Před 2 lety +16

    Me: Barely able to make Tetris with HTML Canvas + JS.
    Sammyuri: Hold my redstone.

  • @IAmNumber4000
    @IAmNumber4000 Před rokem +1

    This is my all time favorite Minecraft video. By a lot

  • @cdemr
    @cdemr Před rokem +2

    What the fuck man that's incredible. Mojang should give a prize for your kind of genius

  • @ttvtoosmart2901
    @ttvtoosmart2901 Před 2 lety +19

    i study microprocessors and i m way too much amazed by the how each component needed for functioning of a micropc is made using redstone. this project is absolute masterpiece and i can till very small extent feel, how much hardwork it took to build this.
    hats off to patience as testing each component has deefinately taken days.
    good job guys

  • @para5maker
    @para5maker Před 2 lety +19

    While many have made cpus at this point, your idea about using external software to write the code was great. Also amazing functionality, i cant imagine how much determination this took, since it was hard to just grasp the concepts of what tou build in my class…

  • @korin9517
    @korin9517 Před 2 lety +2

    Wow. Just wow. This had to be the most impressive redstone machine out there

  • @HydroStudios
    @HydroStudios Před 4 měsíci

    Ok, this is amazing. Also I have another idea, make chungus 2 but instead of pure redstone it should use things like command blocks for processing and memory so we can see how truely fast it can get. Having a memory unit where every block is a bit or an ALU where it can computer 64 bits in seconds would be amazing. I love these vids and hope to see more. Keep up the good work friend!

  • @KevinLarsson42
    @KevinLarsson42 Před 2 lety +43

    This is insane, even the fact that you made it compact shows how much work you put into this

  • @axserwz5022
    @axserwz5022 Před 2 lety +117

    I love that we've went from making computers in Minecraft that work like calculators to now making computers that work like an old brick phone, that's some growth right there

  • @ideafountain4649
    @ideafountain4649 Před 2 lety +5

    Chungus 2 is a very fitting name for such a masterpiece of innovation and technology

  • @mmte4745
    @mmte4745 Před rokem

    Absolutely Legendary. Love the architecture.

  • @dustys5512
    @dustys5512 Před 2 lety +129

    This is absolutely insane. I hope you can get a job at a semiconductor company. It is clear that you have a good understanding of designing hardware.

  • @chawkzero
    @chawkzero Před 2 lety +7

    I literally just finished my Computer Architecture course this fall semester and you nailed like EVERY TOPIC. This is incredible!

  • @ThibaultLarsouille
    @ThibaultLarsouille Před 2 lety

    Well done ! This is amazing !

  • @suryakamalnd9888
    @suryakamalnd9888 Před 2 lety +1

    Clearly we have a "Mumbo Jumbo 2.0" Here like this is Absolutely Amazing!!! You got a new sub :)

  • @MaizumaGames
    @MaizumaGames Před 2 lety +34

    Such a magnificent architecture for a Minecraft computer! I don't think I've ever seen anything better, also great editing. Keep up the great work!
    Edit: Spellin..g :-]

  • @stacklysm
    @stacklysm Před 2 lety +22

    This is way beyond impressive, beautiful and compact. I know this because I've tried doing some logic gates and a SR latch without looking it up on YT.
    Suffice to say, if I were to build a CPU with them, the final build would span through the entire 2^63 block range
    (EDIT) IT HAS A CALL STACK WTF

  • @fosstera
    @fosstera Před rokem

    the fact it slowed down when calculating the Mandelbrot set kinda took me by surprise. It was spending a lot of time calculating every line it rendered in the middle, and idk something about that is just seriously cool

  • @gvisir
    @gvisir Před rokem

    Amazing, congratulations, best wishes for your career.

  • @thebirdaplierphd.memeology3411

    I can find no words to express the sheer amazement I felt when watching this video. It is not only the fact that you have built a (relatively) powerful CPU in Minecraft, but the fact that you didn't use command blocks...no no, you used pure Redstone! Liked, AND subscribed

  • @Fri3dNstuff
    @Fri3dNstuff Před 2 lety +12

    this is one of the (if not THE) most wow-able redstone creations; with this amount of var memory and program memory you can really do a ton!

  • @DigitalJedi
    @DigitalJedi Před rokem +18

    This is absolutely insane. I'm an SoC engineer and this is getting close to the level of the proving grounds style projects I've had to do before.
    Last one I did was designing a 2D accelerator with support for 16 layers and 8-bit color. I ran it at a base resolution of 360x240, but multiple cpuld be stacked to stretch that canvas. I ended up implimenting 12 in a large FPGA for 1280x720 output at 12hz.

  • @6754bettkitty
    @6754bettkitty Před rokem

    Impressive! Good job.

  • @Sk1erDev
    @Sk1erDev Před 2 lety +268

    Kinda wanna make a mod to overclock this thing...

    • @sawyermomlastnight2467
      @sawyermomlastnight2467 Před 2 lety +38

      most of the demos, if not all, were run on mchprs, which allows you to run redstone at thousands of times the normal speed

    • @sodiboo
      @sodiboo Před 2 lety +8

      carpet mod? /tick warp

    • @ChristopherGray00
      @ChristopherGray00 Před 2 lety +19

      yeah the rest of the cpu is pretty damn solid, its really just the clock speed holding it back, could be due to minecraft's optimizations slowing down redstone on purpose.

    • @tokisan3359
      @tokisan3359 Před 2 lety +9

      the true limit here is the actual PC, the PC cant keep up with thousands of redstone working at the sametime

    • @smajl159
      @smajl159 Před 2 lety +2

      A water-cooling would be simple

  • @nuttynathan
    @nuttynathan Před 2 lety +4

    That was a trip! Wild work! Congratulations on the build! Also this music was AMAZING!

  • @normie9999
    @normie9999 Před rokem

    Godly things man!!!!!! I don't have any words to describe how impressive that is.

  • @brunobushi
    @brunobushi Před 24 dny +1

    Sammyuri must make now a personal computer with an operating system entirely in minecraft with redstone.

  • @JoseTorres-tr6od
    @JoseTorres-tr6od Před 2 lety +17

    Amazing build, this has to be the culmination of all of the great improvements in redstone engineering. Reminds me a lot of TI's msp430. This is like computer architecture course in full depth + all the redstone engineering and EE schematics. I love this community so much. It would be nice to program the compiler itself on the chungus 2 :)

  • @czdragon7473
    @czdragon7473 Před 2 lety +6

    I love every second of this video! Thanks sammyuri! :D

  • @logansimmons2460
    @logansimmons2460 Před 2 lety

    Thanks for the tutorial. I'm gonna build a CHUNGUS 2 in my survival world now!

    • @Ghfvhvfg
      @Ghfvhvfg Před rokem

      Have fun forget free time for a year if you do it on the side.

  • @ruslandad365
    @ruslandad365 Před 7 měsíci

    Amazing work!!!

  • @TheFerdi265
    @TheFerdi265 Před 2 lety +12

    The trace routing for this CPU must have been insane! I still can't fathom how you got it to be this compact and this fast!

  • @trojanquail
    @trojanquail Před 2 lety +5

    As your 100th subscriber, I gotta say you earned it! This is dope! Hope to see more cool stuff outta yah! Keep it up and I'm sure you'll hit 1k subs in no time!

  • @thehimboys3270
    @thehimboys3270 Před rokem +2

    wow this is really impressive. this is the best redstone build of all time

  • @tom-on
    @tom-on Před 3 měsíci

    Let's gooo bro used the Evan King music 🔥🔥