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 - [ Ссылка ]
Assembler and example programs - [ Ссылка ]
-------------------------------------------------------------------
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.
[ Ссылка ]
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
![](https://s2.save4k.ru/pic/FDiapbD0Xfg/maxresdefault.jpg)