Features:
- Multithreading (using all CPU cores & hyper-threads)
- Full HD / HiColor (1920x1080 / 16 bpp)
- 128-iterative fractal on FPU
- Pure DOS (no drivers, no DPMI) int 10h ; Init Video Mode 0
mov bh, 0xb8 ; Setup VRAM segment
mov ds, bx
L: lodsb ; Load [SI] to AL, inc SI
sub si, 57 ; Move pointer backward
xor [si], al ; Cellular Automaton
out 61h, al ; PC Speaker output
jmp short L ; Infinite loop
1. The Canvas: `int 10h` primes the 40x25 text grid uniformly with ASCII 0x20 and color 0x07. This stable, uniform void is necessary to prevent the cellular automaton from shattering into static. A^(p)[k] = 2 \* C(k+p, p-1) mod 256
But substituting `add` with `xor` discards the arithmetic carry, isolating the bit-planes. This turns the math into a pure cellular automaton mapping to Wolfram's Rule 60: Cell^(p)[k] = Cell^(p-1)[k] XOR Cell^(p)[k-1]
Visualizing Bit 1 propagation over 5 passes (X = set): P1: X X X X X X X X
P2: . X . X . X . X
P3: X . . X X . . X
P4: . . . X . . . X
P5: X X X . . . . X
P6: . X . . . . . X
P7: X . . . . . . X
3. The Audio: Port `61h` uses Bit 1 to physically move the PC speaker cone. The Sierpinski geometry acts directly as a square-wave audio instruction: alternating bits (like P2) yield high frequencies, while sparse rows (P4) create rhythmic rests.
the blank code for everbody who can read it ^^ you can paste it to http://twt86.co/ to run in a browser