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.
DOS · x86 Assembly · VGA Mode 13h
A rotating sphere of shaded sprites, a procedural neon landscape, and direct VGA graphics—all packed into one tiny DOS .COM file.
Small code, rich output
The program builds its palette, lookup tables, plasma texture, off-screen frame, 3D point cloud, and shaded sprites at runtime.
Mode 13h provides a linear 64 KB framebuffer. The demo programs the VGA DAC and copies completed frames straight to video memory.
Compact sine tables and fixed-point arithmetic generate the colorful horizon and animated plasma without external image data.
128 transformed points are sorted by depth and rendered as small shaded circles, creating a convincing rotating 3D form.
Bring your own DOS
Download the archive, mount its folder in DOSBox or DOSBox-X, and launch the executable. No installation or runtime files are required.
C:\DEMO> TPSPHERE.COM_
Preserved and annotated
The repository includes the original 917-byte executable, an annotated MASM source file, a build helper, and the captured output.