Tiny Plasma Sphere is a 917-byte DOS/VGA graphics demo written in 16-bit x86 assembly. It renders a rotating sphere made from shaded sprites over a procedural plasma landscape in VGA Mode 13h.
The demo dates from 2002 and is published here with its annotated source for preservation, study, and a little demoscene nostalgia.
- 917-byte DOS
.COMexecutable - 320×200, 256-color VGA Mode 13h output
- Direct VGA palette programming
- Procedural plasma and horizon effects
- Rotating sphere built from 128 shaded sprites
- Depth sorting before drawing
- Off-screen rendering and vertical-retrace synchronization
- No runtime files or external assets
Use DOSBox, DOSBox-X, FreeDOS, or a compatible DOS environment:
TPSPHERE.COM
Controls:
| Key | Action |
|---|---|
Esc |
Exit |
Space |
Pause while held |
The program accesses VGA hardware and keyboard I/O directly, so it is not a native Windows application.
The source uses MASM/TASM syntax and the tiny memory model. The known toolchain for this project is Borland Turbo Assembler (TASM.EXE) plus Turbo Linker (TLINK.EXE). These are 16-bit DOS tools: run the build in DOS, DOSBox, or another environment that can execute 16-bit DOS programs. They do not run directly on 64-bit Windows.
The build helper looks for the tools in F:\TASM by default:
build.batYou can override that location:
set TASM_HOME=C:\path\to\tasm
build.batEquivalent commands are TASM /m2 TPSPHERE.asm followed by TLINK /t TPSPHERE.obj.
| File | Purpose |
|---|---|
TPSPHERE.asm |
Annotated MASM source |
TPSPHERE.COM |
Original 917-byte DOS executable |
screenshot.jpg |
Captured demo output |
build.bat |
TASM/TLINK build helper |
docs/ |
GitHub Pages site |
Visit delphi-coder.github.io/tiny-plasma-sphere for the project page and downloads.
Released under the MIT License.
