KidzTube
Welcome
Login / Register

CHUNGUS 2 - A very powerful 1Hz Minecraft CPU

Thanks! Share it with your friends!

URL

You disliked this video. Thanks for the feedback!

Sorry, only registred users can create playlists.
URL


Channel: sammyuri
Categories: Computer Science   |   Minecraft   |   Gaming   |   Science   |   Technology  
 Find Related Videos  added
577 Views

Description

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 - https://docs.google.com/spreadsheets/d/10_ZERVmsKr0uqQXXbHxMQW-aBpHn6tl5L6Mn-zm57O4
Assembler and example programs - https://github.com/sammyuri/chungus-2-assembler

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

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.
https://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

Post your comment

Comments

Be the first to comment









RSS