BOX-256 is an 8-bit fantasy computer, with 256 bytes of memory, 16-color 16x16 display. It is also a programming game, where the player tries to pass the graphics tests and optimize the code to perfection. The ultimate goal is to use as few CPU cycles or lines of code as possible, by employing multithreading and other optimization tricks.

BOX-256

The original version in English can be found here, with a detailed manual here.

However, you might want to play this tuned version as more levels are provided and these levels are somehow easier to complete.

The following are solutions to some of the levels. You may have found a better solution though.

Pink Big Square

MOV022@40000
MOV022@48000
MOV058@50000
PIX@4000E000
ADD@40*50@40
ADD@41001@41
JGR00B@41-0C
MOV000@41000
ADD@50001@50
JNE@40@48-18
ADD@40011@40
ADD@48011@48
SUB@19002@19
ADD@4C001@4C
SUB@50004@50
JNE002@4C-30
000000000000
000000000000
000000000000
000000000000
000000000000
000000000000
001010-01-10

Checkboard

MOV000@7C000
PIX@7C002000
ADD@7C001@7C
PIX@7C003000
ADD@7C001@7C
MOD@7C010@7D
JNE@7D000-14
FLP@06@0E001
JMP-1C000000

Blue Checkboard

MOV000@7C000
PIX@7C001000
ADD@7C001@7C
PIX@7C@06000
ADD@7C001@7C
PIX@7C00C000
ADD@7C001@7C
PIX@7C@16000
ADD@7C001@7C
MOD@7C020@7D
JNE@7D000-24
FLP@06@16001
JMP-2C000000

Four Squares

MOV000@70000
MOV008@72000
MOV040@5C000
PIX@70@72000
ADD@70*5C@70
ADD@71001@71
JGR003@71-0C
MOV000@71000
ADD@5C001@5C
MOD@70044@73
JNE@73000-1C
ADD@72001@72
ADD@70044@70
SUB@5C004@5C
JMP-2C000000
000000000000
001010-01-10

Four Squares of Different Sizes

MOV000@70000
MOV008@72000
MOV008@73000
PIX@70@72000
ADD@70001@70
ADD@71001@71
JNE@73@71-0C
MOV000@71000
ADD@74001@74
ADD@70010@70
SUB@70@73@70
JNE@74@73-20
ADD@72001@72
ADD@70@73@70
DIV@73002@73
MOV000@74000
JMP-34000000

Diagonal Carpet

MOV000@70000
MOV000@71000
MOV001@72000
MOV060@73000
000000000000
PIX@70*73000
ADD@7000F@70
ADD@71001@71
JNE@71@72-0C
SUB@7000E@70
MOV000@71000
ADD@72001@72
ADD@73001@73
ADD@2600F@26
JNE@72011@14
MOV01F@70000
SUB@72002@72
SUB@73002@73
MOV026@2C000
MOV026@30000
MOV026@34000
MOV0D1@26000
JMP@14000000
000000000000
002001003004
001001004003
001004001001
004001001002

Green Carpet

MOV000@70000
PIX@70003000
MOV000@71000
ADD@70001@70
ADD@71001@71
PIX@7000B000
JNE@71003-0C
ADD@70001@70
PIX@70@06000
ADD@70001@70
FLP@06@16000
JMP@04000000

Sierpinski

MOV0FF@70000
ADD@70001@70
MOD@70010@72
DIV@70010@71
JGR@72@71@04
SUB00F@71@71
ADD@71@72@74
MOV000@74000
MOV000@75000
MUL@71@72@73
MOD@73002@73
ADD@73@74@74
JNE@74000@04
ADD@75001@75
DIV@71002@71
DIV@72002@72
JNE@75004-1C
PIX@70008000
JMP@04000000

Sierpinski II

MOV0FF@70000
ADD@70001@70
MOD@70010@72
DIV@70010@71
JGR@72@71@04
PIX@7000C000
SUB00F@71@71
ADD@71@72@74
MOV000@74000
MOV000@75000
MUL@71@72@73
MOD@73002@73
ADD@73@74@74
JNE@74000@04
ADD@75001@75
DIV@71002@71
DIV@72002@72
JNE@75004-1C
PIX@70001000
JMP@04000000