CHUNGUS 2 - A very powerful 1Hz Minecraft CPU

Поделиться
HTML-код
  • Опубликовано: 19 июн 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 года назад +6910

    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 года назад +314

      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 года назад +24

      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

  • @mattbatwings
    @mattbatwings 2 года назад +6857

    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 года назад +30

      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

  • @hasanyousef6782
    @hasanyousef6782 2 года назад +3914

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

    • @Bien-voyager
      @Bien-voyager 2 года назад +359

      redstone fullstack developer

    • @qps9380
      @qps9380 2 года назад +278

      @@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 года назад +85

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

  • @snowcoalRC
    @snowcoalRC 2 года назад +2867

    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 Год назад +78

      @@Chris_t0 you make one then lol

    • @thePontiffsSnickerdoodles
      @thePontiffsSnickerdoodles Год назад +97

      @@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 Год назад +48

      @@Chris_t0
      If you cant then dont.

  • @adinrichter6034
    @adinrichter6034 2 года назад +755

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

    • @andrearendine3774
      @andrearendine3774 11 месяцев назад +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 9 месяцев назад +2

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

    • @RoflcopterLamo
      @RoflcopterLamo 8 месяцев назад

      Autism is why

  • @TimTom
    @TimTom 2 года назад +3560

    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

  • @adreiiaii510
    @adreiiaii510 2 года назад +458

    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 Год назад +149

    One day we will have Minecraft in Minecraft.

    • @cheeseisgood17
      @cheeseisgood17 Год назад +41

      YOU DID IT! YOU MADE IT HAPPEN!

    • @moskau819
      @moskau819 Год назад +24

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

    • @thegamingjoeys9745
      @thegamingjoeys9745 Год назад +10

      Same😂

    • @p00pie
      @p00pie 4 месяца назад +8

      verycalmgamer4090 you will go down in the history books

    • @gottendrop4026
      @gottendrop4026 4 месяца назад +8

      Bro inspired him

  • @mrboltz3041
    @mrboltz3041 2 года назад +263

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

  • @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.

  • @E4tHam
    @E4tHam Год назад +37

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

    • @Scotty-vs4lf
      @Scotty-vs4lf 4 месяца назад

      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

  • @Smitology
    @Smitology Год назад +129

    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

  • @TheForbiddenLemon
    @TheForbiddenLemon 2 года назад +2307

    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 года назад +162

      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

  • @unpaidintern6652
    @unpaidintern6652 2 года назад +547

    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 Год назад +113

    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 Год назад +27

    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 Год назад +3

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

  • @Helvanic
    @Helvanic 2 года назад +1391

    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

  • @MSkwar
    @MSkwar 2 года назад +719

    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 2 года назад +5

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

    • @e4e445
      @e4e445 2 года назад +10

      Minecraft is not open source.

  • @jasonrubik
    @jasonrubik 2 года назад +5

    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.

  • @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

  • @Seriousbear
    @Seriousbear 2 года назад +447

    *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

  • @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.

  • @pierretella1221
    @pierretella1221 Год назад +4

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

  • @tiiamaria_
    @tiiamaria_ Год назад +4

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

  • @_Killkor
    @_Killkor 2 года назад +481

    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

  • @jiauyjiauy3777
    @jiauyjiauy3777 2 года назад +1320

    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

  • @shunyaku7759
    @shunyaku7759 Год назад +5

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

  • @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 года назад +1715

    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!

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

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

  • @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

  • @SeenSven
    @SeenSven 2 года назад +1590

    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

    • @DarkMetaOFFICIAL
      @DarkMetaOFFICIAL 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.

  • @PedroContipelli2
    @PedroContipelli2 2 года назад +110

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

  • @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

  • @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.

  • @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 года назад +661

    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

  • @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 5 месяцев назад +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 4 месяца назад

      Ok buddy

  • @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

  • @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 года назад +45

      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.

  • @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 года назад +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 2 месяца назад

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

  • @cdemr
    @cdemr Год назад +2

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

  • @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!

  • @Sloimay
    @Sloimay 2 года назад +155

    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

  • @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

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

    Massive accomplishment, congratulations from all of us at FoS!

  • @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

  • @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!

  • @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.

  • @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.

  • @YellowBunny
    @YellowBunny 2 года назад +48

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

  • @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

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

    Absolutely Legendary. Love the architecture.

  • @ideafountain4649
    @ideafountain4649 2 года назад +5

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

  • @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

  • @benleb8939
    @benleb8939 2 года назад +16

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

  • @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

  • @IAmNumber4000
    @IAmNumber4000 Год назад +1

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

  • @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

  • @chawkzero
    @chawkzero 2 года назад +7

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

  • @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.

  • @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 :)

  • @KevinLarsson42
    @KevinLarsson42 2 года назад +43

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

  • @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

  • @korin9517
    @korin9517 2 года назад +2

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

  • @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!

  • @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…

  • @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

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

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

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

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

  • @ruslandad365
    @ruslandad365 8 месяцев назад

    Amazing work!!!

  • @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

  • @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

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

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

  • @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.

  • @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 :)

  • @nuttynathan
    @nuttynathan 2 года назад +4

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

  • @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

  • @MJ88663
    @MJ88663 11 месяцев назад

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

  • @czdragon7473
    @czdragon7473 2 года назад +6

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

  • @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.

  • @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.

  • @thehimboys3270
    @thehimboys3270 Год назад +2

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

  • @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 :-]

  • @XerShadowTail
    @XerShadowTail 2 года назад +8

    Building CPUs, compilers, and related is really so interesting on how everything works down to the basic core levels of logic.

  • @mumblety
    @mumblety Год назад +1

    Awesome!!!

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

    This is inspiring, like I'm tearing up lmao. Makes me wanna get into computers, learn programming etc

  • @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!

  • @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

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

    I'm just in awe

  • @leachim66
    @leachim66 Год назад +1

    > Oh you like computers? Name every opcode
    > This guy>>

  • @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!

  • @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

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

    Amazing, congratulations, best wishes for your career.

  • @wanou_4259
    @wanou_4259 Год назад +1

    It’s Been so long since he uploaded he’s probably working on the CHUNGUS 3

  • @wyby
    @wyby 2 года назад +4

    BIG GG for this BIG (but compact) machine. You have all my respect, my sub, and my like.

  • @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

  • @sibzamani7538
    @sibzamani7538 9 месяцев назад

    cool asf keep going man !

  • @gaddielespinosa
    @gaddielespinosa 11 месяцев назад

    awesome work!