MPU 7 Gradient Line Drawer [ 2 Hz Minecraft Redstone CPU ] @ModPunchtree
MPU 7 Gradient Line Drawer [ 2 Hz Minecraft Redstone CPU ]  @ModPunchtree
Uploaded March 2022 | Updated September 2026, 3 weeks ago
The MPU 7 is my latest and fastest Minecraft Redstone CPU.

This video is at 16x speed and the carpet mod tick speed is set to 2 times speed.

Here the MPU 7 is drawing a triangle using a line drawing algorithm that calculates the gradient of the line as a fixed point value. Then the coordinates of the line are found by incrementing the x coordinate and adding the gradient to the y coordinate.

The flashing horizontal line is the cursor. This just shows what area of the screen the MPU 7 is currently writing to.

The coordinates of the triangle are:
(20, 2)
(5, 9)
(25, 14)

This program took a total of 3145 cycles (26 minutes and 12.5 seconds) to run. This includes the time spend initialising the registers/ram and the time draw to the display.

In theory this algorithm should be faster than Bresenhams but surprisingly it ended up being slightly slower. I'm guessing that the difference is mostly due to the program being less optimised meaning if this program was rewritten it may end up being faster.

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 (Like Bad Apple!!)
• 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, Patreon is:
patreon.com/modpunchtree
or my PayPal link is:
paypal.me/modpunchtree
MPU 7 Gradient Line Drawer [ 2 Hz Minecraft Redstone CPU ]Iris Champion Speed Art By ModPunchtree8 bit Fibonacci on the MPU6 CPU16 bit Fibonacci on the MPU5.075/5 Hardware Accelerated Repeated Subtraction on the MPU5.0Speed Art Chibi Iris ChampionFrom the Depths 2.4.5 APS Tutorial Part 4 Shell FusesMPU 7 - 4 Function Calculator [ 2 Hz Minecraft Redstone CPU ]15x15 Repeated Addition on the MPU5.0Hangman on the MPU6 CPUMPU 7 Pong (zero player) [ 2 Hz Minecraft Redstone CPU ]Fast Pistonless 8 bit counter in Minecraft - 4 Ticks per Increment
ModPunchtree |

MPU 7 Gradient Line Drawer [ 2 Hz Minecraft Redstone CPU ]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER