CHUNGUS 2 - A very powerful 1Hz Minecraft CPU

Поділитися
Вставка
  • Опубліковано 1 чер 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
  • Ігри

КОМЕНТАРІ • 3,5 тис.

  • @sammyuri
    @sammyuri  2 роки тому +6874

    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 2 роки тому +310

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

    • @diophantine1598
      @diophantine1598 2 роки тому +75

      When will a world download be available?

    • @oldisektv
      @oldisektv 2 роки тому +23

      With carpet mod?

    • @nickchan6498
      @nickchan6498 2 роки тому +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 2 роки тому +10

      gg

  • @hasanyousef6782
    @hasanyousef6782 2 роки тому +3861

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

    • @Bien-voyager
      @Bien-voyager 2 роки тому +354

      redstone fullstack developer

    • @qps9380
      @qps9380 2 роки тому +276

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

    • @woutervanham8246
      @woutervanham8246 2 роки тому +51

      HIRED

    • @secondary2nd
      @secondary2nd 2 роки тому +23

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

    • @jasonchiu272
      @jasonchiu272 2 роки тому +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 2 роки тому +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 2 роки тому +167

      Just wait till the Big Chungus drops

    • @xtecherstudios
      @xtecherstudios 2 роки тому +24

      Oh hey matt! Im a big fan of ur channel

    • @jacksonbarnes8882
      @jacksonbarnes8882 2 роки тому +28

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

    • @samevans4834
      @samevans4834 2 роки тому +29

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

    • @mqix3741
      @mqix3741 2 роки тому +11

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

  • @snowcoalRC
    @snowcoalRC Рік тому +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 Рік тому +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 Рік тому +77

      @@Chris_t0 you make one then lol

    • @thePontiffsSnickerdoodles
      @thePontiffsSnickerdoodles Рік тому +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 Рік тому +7

      @@thePontiffsSnickerdoodles The irony, I can't.

    • @thePontiffsSnickerdoodles
      @thePontiffsSnickerdoodles Рік тому +47

      @@Chris_t0
      If you cant then dont.

  • @adinrichter6034
    @adinrichter6034 2 роки тому +741

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

    • @andrearendine3774
      @andrearendine3774 10 місяців тому +11

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

    • @sherlockholmes8822
      @sherlockholmes8822 9 місяців тому +2

      ​@@andrearendine3774so ChumongousUNGUS

    • @774game
      @774game 9 місяців тому +1

      ​@@sherlockholmes8822Yes.

    • @GoldJerryGold
      @GoldJerryGold 8 місяців тому +2

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

    • @RoflcopterLamo
      @RoflcopterLamo 8 місяців тому

      Autism is why

  • @adreiiaii510
    @adreiiaii510 2 роки тому +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 Рік тому +130

    One day we will have Minecraft in Minecraft.

    • @cheeseisgood17
      @cheeseisgood17 Рік тому +37

      YOU DID IT! YOU MADE IT HAPPEN!

    • @moskau819
      @moskau819 Рік тому +21

      I'm in this video just to find this comment 😎

    • @thegamingjoeys9745
      @thegamingjoeys9745 Рік тому +8

      Same😂

    • @p00pie
      @p00pie 4 місяці тому +7

      verycalmgamer4090 you will go down in the history books

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

      Bro inspired him

  • @mrboltz3041
    @mrboltz3041 2 роки тому +261

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

  • @TimTom
    @TimTom 2 роки тому +3553

    It has a BRANCH PREDICTOR?!
    Absolutely phenomenal work!

    • @SkyenNovaA
      @SkyenNovaA 2 роки тому +145

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

    • @Seanybearscouts
      @Seanybearscouts 2 роки тому +18

      Literally tim is here too

    • @roygalaasen
      @roygalaasen 2 роки тому +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 2 роки тому +6

      Didn’t know you would be here?!

    • @Baseless_
      @Baseless_ 2 роки тому +18

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

  • @TheForbiddenLemon
    @TheForbiddenLemon 2 роки тому +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 2 роки тому +160

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

    • @_chilly9546
      @_chilly9546 2 роки тому +328

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

    • @faceboy1392
      @faceboy1392 2 роки тому +65

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

    • @ShadowTheAge
      @ShadowTheAge 2 роки тому +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 2 роки тому +14

      he didnt need to touch grass. the grass touches him

  • @Smitology
    @Smitology Рік тому +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 Рік тому +36

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

    • @Scotty-vs4lf
      @Scotty-vs4lf 3 місяці тому

      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 2 роки тому +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 2 роки тому +48

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

    • @kingtasaz
      @kingtasaz 2 роки тому +2

      @@joonalehtinen5462 lmao

    • @earthcantholdme1209
      @earthcantholdme1209 2 роки тому

      hello I am subbed

    • @G-u-z-i-o
      @G-u-z-i-o 2 роки тому

      Wait... Which one would get flagged?

    • @Stonehawk
      @Stonehawk 2 роки тому +1

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

  • @unpaidintern6652
    @unpaidintern6652 2 роки тому +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 2 роки тому +73

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

    • @handle11122
      @handle11122 2 роки тому +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 2 роки тому +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 2 роки тому +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 2 роки тому

      What logic simulator did you use?

  • @terminus9897
    @terminus9897 Рік тому +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 Рік тому +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 Рік тому +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 Рік тому +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 Рік тому

      @@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 Рік тому +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 Рік тому +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 11 місяців тому +3

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

  • @Seriousbear
    @Seriousbear 2 роки тому +444

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

    • @DragonProtector
      @DragonProtector 2 роки тому +10

      It is though. I tried once

    • @karlm9584
      @karlm9584 2 роки тому +13

      @@DragonProtector kids these days...

    • @DragonProtector
      @DragonProtector 2 роки тому +7

      @@karlm9584 yup but what can you do?

    • @nielsbishere
      @nielsbishere 2 роки тому +13

      @@DragonProtector your mother

    • @DragonProtector
      @DragonProtector 2 роки тому +16

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

  • @Helvanic
    @Helvanic 2 роки тому +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 2 роки тому +15

      yes, it's like matrix movie now

    • @sirus312
      @sirus312 2 роки тому +10

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

    • @Jigokunogoka
      @Jigokunogoka 2 роки тому

      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 2 роки тому +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 2 роки тому +1

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

  • @jononpaper
    @jononpaper 2 роки тому +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 2 роки тому +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 Рік тому +3

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

  • @MSkwar
    @MSkwar 2 роки тому +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 2 роки тому +26

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

    • @diegojerez7899
      @diegojerez7899 2 роки тому +19

      maybe start with wolfenstein first :P

    • @satoshinakamoto5256
      @satoshinakamoto5256 2 роки тому +64

      Minecraft isn't an open source game though :(

    • @puzzled_bug
      @puzzled_bug Рік тому +5

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

    • @e4e445
      @e4e445 Рік тому +10

      Minecraft is not open source.

  • @_Killkor
    @_Killkor 2 роки тому +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.

    • @bemoty
      @bemoty 2 роки тому +3

      true

    • @irineiovcnaosabenemeu4358
      @irineiovcnaosabenemeu4358 2 роки тому +4

      Just wait o til they just make a Nintendo in game
      And then get copyright striked by them

    • @chinoto1
      @chinoto1 2 роки тому

      @@irineiovcnaosabenemeu4358 Someone made Pokemon, but that was with command blocks.

    • @irineiovcnaosabenemeu4358
      @irineiovcnaosabenemeu4358 2 роки тому

      @@chinoto1 holy I didn't know that one

    • @marmedalmond9958
      @marmedalmond9958 2 роки тому +1

      Idk what wonders will chungus 3 will do

  • @umountable
    @umountable Рік тому +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 4 місяці тому +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 3 місяці тому

      Ok buddy

  • @pierretella1221
    @pierretella1221 Рік тому +4

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

  • @an0nsaiko890
    @an0nsaiko890 2 роки тому +675

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

    • @inordirection_
      @inordirection_ 2 роки тому +135

      Oh my god debugging this thing, holy shit

    • @ChristopherGray00
      @ChristopherGray00 2 роки тому +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 2 роки тому +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 2 роки тому +26

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

    • @Van-yo2xr
      @Van-yo2xr 2 роки тому +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 2 роки тому +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 2 роки тому +94

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

    • @JorgetePanete
      @JorgetePanete 2 роки тому +173

      You can already craft minecarts in Minecraft 👍

    • @tonymiranda3246
      @tonymiranda3246 2 роки тому +25

      minecraft multiverse

    • @JeffreyCH1
      @JeffreyCH1 2 роки тому +15

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

    • @handlemonium
      @handlemonium 2 роки тому +14

      The Chungus Chungus Metaverse

  • @jasonrubik
    @jasonrubik 2 роки тому +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 2 роки тому +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 2 роки тому +1713

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

  • @effervescentrelief
    @effervescentrelief 2 роки тому +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_ Рік тому +4

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

  • @Aurora_Animates
    @Aurora_Animates 2 роки тому

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

  • @LordDecapo
    @LordDecapo 2 роки тому +202

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

    • @rgbforever4561
      @rgbforever4561 2 роки тому +4

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

    • @LordDecapo
      @LordDecapo 2 роки тому

      @@rgbforever4561 just you wait ;)

    • @EvroCraft
      @EvroCraft 2 роки тому +1

      Not one of the best, but flat out THE BEST

    • @johnt3606
      @johnt3606 2 роки тому

      There are more?

    • @LordDecapo
      @LordDecapo 2 роки тому

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

  • @jgcodes2020
    @jgcodes2020 2 роки тому +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 2 роки тому +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 2 роки тому +16

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

    • @b213videoz
      @b213videoz 2 роки тому +2

      What for?

    • @skullduggerry
      @skullduggerry 2 роки тому +8

      @@megvmean carpet mod for fast redstone is better

    • @AbuHajarAlBugatti
      @AbuHajarAlBugatti 2 роки тому +5

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

  • @pruittboy3
    @pruittboy3 Рік тому

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

  • @endeavor1664
    @endeavor1664 Місяць тому

    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 2 роки тому +46

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

    • @jasonrubik
      @jasonrubik 2 роки тому +1

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

    • @exortions3079
      @exortions3079 Рік тому +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 Місяць тому

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

  • @PedroContipelli2
    @PedroContipelli2 2 роки тому +110

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

  • @Levyathyn
    @Levyathyn Рік тому

    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 Рік тому +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 2 роки тому +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 2 роки тому +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 2 роки тому +3

      @@Reth_Hard I really hope that’s a joke

    • @spectrm6014
      @spectrm6014 2 роки тому

      @@makbran3627 lol

    • @turolretar
      @turolretar 2 роки тому

      @@makbran3627 yes this video is a joke

  • @TheRailroad99
    @TheRailroad99 2 роки тому +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 Рік тому

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

  • @Vekten
    @Vekten Рік тому +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 Рік тому

      he made this computer run minecraft

  • @JourG215
    @JourG215 Рік тому +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 2 роки тому +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 2 роки тому +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 2 роки тому +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 2 роки тому +1

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

  • @roboltamy
    @roboltamy 2 роки тому +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 2 роки тому +2

      Holy shit when did this get fucking 250k views

    • @AbuHajarAlBugatti
      @AbuHajarAlBugatti 2 роки тому

      @@roboltamy its on news sites here in germany

    • @Sloimay
      @Sloimay 2 роки тому

      @@roboltamy Almost a million now lmFAO

  • @shunyaku7759
    @shunyaku7759 Рік тому +4

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

  • @FateofSerenity
    @FateofSerenity Рік тому

    Massive accomplishment, congratulations from all of us at FoS!

  • @guilhermemendonca8959
    @guilhermemendonca8959 2 роки тому +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 2 роки тому +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 2 роки тому

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

  • @Brother_K
    @Brother_K 2 роки тому +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 2 роки тому +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 2 роки тому +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 2 роки тому +34

      The branch predictor is what got me :O

  • @YellowBunny
    @YellowBunny 2 роки тому +48

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

  • @jackstewart7664
    @jackstewart7664 2 роки тому +7

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

  • @lexluthor2516
    @lexluthor2516 2 роки тому

    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 2 роки тому +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 2 роки тому +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 2 роки тому +81

      It is vulnerable to water bucket

    • @stdcall
      @stdcall 2 роки тому +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 Рік тому +1

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

    • @ImDelphox
      @ImDelphox Рік тому +2

      @@mrgyc2523 ok but so is a real computer

  • @user-vn9ld2ce1s
    @user-vn9ld2ce1s 2 роки тому +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 2 роки тому +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 Рік тому +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 2 роки тому +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 2 роки тому +5

      How the hell did i Find you here?

    • @Zenos47
      @Zenos47 2 роки тому +3

      Wait what are you doing here

    • @CraftyMasterman
      @CraftyMasterman 2 роки тому +119

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

    • @Zenos47
      @Zenos47 2 роки тому +6

      @@CraftyMasterman your here tooooo

    • @DarkMeta_Minecraft
      @DarkMeta_Minecraft 2 роки тому +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 2 роки тому +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 2 роки тому +1

      lol exactly what I thought

    • @ThePandafriend
      @ThePandafriend 2 роки тому +4

      It takes way too much time for that.

    • @bob450v4
      @bob450v4 2 роки тому +13

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

    • @ladrillorojo4996
      @ladrillorojo4996 2 роки тому +2

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

    • @smartyuno
      @smartyuno 2 роки тому +1

      It’s literally performing VLSI without cadence

  • @LaysDragon
    @LaysDragon Рік тому

    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 11 місяців тому

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

  • @lumi2030
    @lumi2030 2 роки тому +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 2 роки тому +16

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

  • @cdemr
    @cdemr Рік тому +2

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

  • @IAmNumber4000
    @IAmNumber4000 Рік тому +1

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

  • @ttvtoosmart2901
    @ttvtoosmart2901 2 роки тому +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 2 роки тому +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 2 роки тому +2

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

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

    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 2 роки тому +43

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

  • @axserwz5022
    @axserwz5022 2 роки тому +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 2 роки тому +5

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

  • @mmte4745
    @mmte4745 Рік тому

    Absolutely Legendary. Love the architecture.

  • @dustys5512
    @dustys5512 2 роки тому +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 2 роки тому +7

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

  • @ThibaultLarsouille
    @ThibaultLarsouille 2 роки тому

    Well done ! This is amazing !

  • @suryakamalnd9888
    @suryakamalnd9888 2 роки тому +1

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

  • @MaizumaGames
    @MaizumaGames 2 роки тому +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 2 роки тому +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 Рік тому

    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 Рік тому

    Amazing, congratulations, best wishes for your career.

  • @thebirdaplierphd.memeology3411
    @thebirdaplierphd.memeology3411 2 роки тому +75

    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 2 роки тому +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 Рік тому +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 Рік тому

    Impressive! Good job.

  • @Sk1erDev
    @Sk1erDev 2 роки тому +268

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

    • @sawyermomlastnight2467
      @sawyermomlastnight2467 2 роки тому +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 2 роки тому +8

      carpet mod? /tick warp

    • @ChristopherGray00
      @ChristopherGray00 2 роки тому +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 2 роки тому +9

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

    • @smajl159
      @smajl159 2 роки тому +2

      A water-cooling would be simple

  • @nuttynathan
    @nuttynathan 2 роки тому +4

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

  • @normie9999
    @normie9999 Рік тому

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

  • @brunobushi
    @brunobushi 25 днів тому +1

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

  • @JoseTorres-tr6od
    @JoseTorres-tr6od 2 роки тому +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 2 роки тому +6

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

  • @logansimmons2460
    @logansimmons2460 2 роки тому

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

    • @Ghfvhvfg
      @Ghfvhvfg Рік тому

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

  • @ruslandad365
    @ruslandad365 7 місяців тому

    Amazing work!!!

  • @TheFerdi265
    @TheFerdi265 2 роки тому +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 2 роки тому +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 Рік тому +2

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

  • @tom-on
    @tom-on 3 місяці тому

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