MPU 7 Insertion Sort [ 2 Hz Minecraft Redstone CPU ] @ModPunchtree
MPU 7 Insertion Sort [ 2 Hz Minecraft Redstone CPU ]  @ModPunchtree
Uploaded February 2022 | Updated September 2026, 2 weeks ago
The MPU 7 is my latest and fastest Minecraft redstone CPU.

In this video the MPU 7 sorts a reversed array of 10 numbers using insertion sort.

Insertion sort is a simple type of sorting algorithm which requires a lot of reading an writing to the RAM. Since the RAM read speed is quite slow on the MPU 7, this algorithm runs quite slowly as the CPU spends a lot of time stalling for RAM reads.

This video is at 1x speed and does not use any tick speed up from carpet mod. So the speed shown here includes a small amount of lag but should be close to 20 ticks per second.

The screen delay and RAM delay is especially noticeable at the beginning and end of the video when it prints out the array of 10 numbers to the screen which takes a long time.

On paper (i.e. without lag) it takes:
• roughly 67 cycles to print the initial list (1 min 7 secs)
• roughly 456 cycles to perform the insertion sort (3 mins 48 seconds)
• roughly 67 cycles to print the final list (1 min 7 secs)

Note that these timings do not account for the time before the program counter starts changing or the time after the program counter stops changing or the bussing delay between the displays and the control logic inside the CPU.

Join the URCL (Universal Reduced Computer Language) discord:
discord.gg/Nv8jzWg5j8

MPU 7 Specs:
• No command blocks or pistons
• 2 Hz clock speed (5 ticks or 0.5 seconds per clock pulse)
• 5 stage waterfall pipeline (Fetch1 - Fetch2 - Decode - Execute - Writeback)
• 10 general purpose simulated dual read registers (with no read before write hazards because of the automatic forwarding)
• 8 bit word length
• 256 word instruction ROM x2
• 32 bit instruction length (that includes an 8 bit immediate value)
• VLIW architecture
• 32 bit hardware BCD converter
• 8 bit hardware multiplier
• 8 bit hardware divider
• 8 bit RNG
• 64x32 pixel display (1x1 pixels) which can be shifted upwards 8 pixels whenever needed
• 1 frame buffer
• Full qwerty keyboard with arrow keys and function keys for user input
• 128 bytes of main RAM
• 256 bytes of screen RAM
• Up to 128 I/O ports
• External 8 kiB paging ROM for storing large amounts of data
• 7 testable flags
• Full 7 bit character set (a custom one, so not ASCII) which uses 4x8 characters
• Can be started, stopped and reset from the UI
• Almost fully compatible with URCL

MPU 7 ISA:
docs.google.com/spreadsheets/d/1fgXPalCBTGg-X3QGXmNagxAMHoiOW_9nbOgaJl7fFoY/edit?usp=sharing

MPU 7 World download is available in the URCL discord:
discord.gg/Nv8jzWg5j8

If you want to support me creating these videos, my PayPal link is: paypal.me/modpunchtree
MPU 7 Insertion Sort [ 2 Hz Minecraft Redstone CPU ]Elite 3D Renderer on Minecraft Redstone Computer3D Rotating Pyramid [ MPU 8 | 3.3 Hz Minecraft Redstone CPU ]MPU 8 BCD Fibonacci [ 3.3 Hz Minecraft Redstone CPU ]The making of the most POWERFUL 16 bit Minecraft computer. [IRIS Documentary]MPU4.0 8 bit FibonacciMPU 7 Recursive Fibonacci (B code) [ 2 Hz Minecraft Redstone CPU ]RICKROLL on REDSTONE COMPUTER in MINECRAFT + World DownloadHello World on the MPU6 CPUAnimation QuickMay Speed Art By ModPunchtreeCompiled Recursive Fibonacci MPU6 CPU
ModPunchtree |

MPU 7 Insertion Sort [ 2 Hz Minecraft Redstone CPU ]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER