DOS · x86 Assembly · VGA Mode 13h

A whole plasma world in 917 bytes.

A rotating sphere of shaded sprites, a procedural neon landscape, and direct VGA graphics—all packed into one tiny DOS .COM file.

  • 2002original demo
  • 16-bitx86 assembly
  • 320×200256 colors
Tiny Plasma Sphere showing a silver sprite sphere above a vivid plasma landscape
Captured output from the original DOS executable
PALETTE PROGRAMMING ✦ PROCEDURAL PLASMA ✦ DEPTH SORTING ✦ VERTICAL RETRACE ✦ ZERO ASSETS

Small code, rich output

Classic demoscene craft

The program builds its palette, lookup tables, plasma texture, off-screen frame, 3D point cloud, and shaded sprites at runtime.

01

Direct VGA control

Mode 13h provides a linear 64 KB framebuffer. The demo programs the VGA DAC and copies completed frames straight to video memory.

02

Procedural scene

Compact sine tables and fixed-point arithmetic generate the colorful horizon and animated plasma without external image data.

03

Sprite sphere

128 transformed points are sorted by depth and rendered as small shaded circles, creating a convincing rotating 3D form.

Bring your own DOS

Run it in DOSBox

Download the archive, mount its folder in DOSBox or DOSBox-X, and launch the executable. No installation or runtime files are required.

Preserved and annotated

Read every instruction.

The repository includes the original 917-byte executable, an annotated MASM source file, a build helper, and the captured output.