CHUNGUS 2 - A very powerful 1Hz Minecraft CPU

preview_player
Показать описание
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

-------------------------------------------------------------------

Full CPU explanation as well as individual program showcase and explanation coming soon™

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.
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
Рекомендации по теме
Комментарии
Автор

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!

sammyuri
Автор

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.

mattbatwings
Автор

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

hasanyousef
Автор

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.

snowcoalRC
Автор

It has a BRANCH PREDICTOR?!
Absolutely phenomenal work!

TimTom
Автор

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

CraftyMasterman
Автор

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

adinrichter
Автор

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.

adreiiaii
Автор

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

TheForbiddenLemon
Автор

One day we will have Minecraft in Minecraft.

verycalmgamer
Автор

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 !

Helvanic
Автор

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.

unpaidintern
Автор

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

mrboltz
Автор

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

annsaiko
Автор

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.

MSkwar
Автор

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

Smitology
Автор

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.

_Killkor
Автор

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

Seriousbear
Автор

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

EtHam
Автор

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

jiauyjiauy