Bresenhams Line Drawer written in B running on the MPU6 CPU @ModPunchtree
Bresenhams Line Drawer written in B running on the MPU6 CPU  @ModPunchtree
Uploaded April 2021 | Updated September 2026, 2 weeks ago
I can tolerate Fibonacci, maybe even a little Collatz, but Bresenham is where I draw the line.

This program was first written in B code which was compiled to MPU6 assembly using URCL as an intermediate language.

It can take any 2 coordinates and draw a line between them, regardless of the steepness of the line or the direction or if the points are given in the reverse order.
The program manipulates the points to be what it needs before drawing the line.
The points shown in the video were chosen because they are the worst possible points which require the most manipulation before the line can be drawn (steep gradient + negative slope + points in reverse order).

MPU6.0 Specs:
5 tick clock speed (0.5 seconds)
4 stage pipe (with dual instruction fetching to speed up conditional instructions)
8 bit word length
uses a custom version of VLIW arch
10 general purpose registers
32 bytes of RAM
128 word instruction ROM (split into 2 lots of 64 for dual fetching)
8 bit hardware multiplier
32 bit BCD converter
16x8 Pixel Display

Join the URCL (Universal Redstone Computer Language) discord:
discord.gg/Nv8jzWg5j8
Bresenhams Line Drawer written in B running on the MPU6 CPUMPU 7 URCL Fibonacci [ 2 Hz Minecraft Redstone CPU ]Gradient Line Drawer [ MPU 8 | 3.3 Hz Minecraft Redstone CPU ]URCL Fizzbuzz by sammyuri on the MPU6 CPU32 bit Fibonacci on the MPU6 CPUMinecraft in Minecraft Subtle Foreshadowing #retro #shorts #memeSketch Animation TestWhat is URCL ??? (Programming Language)I Made a full color 3D Renderer with just redstone!4 Bit Shift and Add Multiplication in 12.4 seconds in MinecraftURCL Fizzbuzz on the MPU6 CPUCompact 2 Bit Counter in Minecraft
ModPunchtree |

Bresenhams Line Drawer written in B running on the MPU6 CPU

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER