Skip to content

About

A 917-byte DOS/VGA assembly demo featuring a rotating sprite sphere and procedural plasma landscape.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Tiny Plasma Sphere

Tiny Plasma Sphere running in VGA Mode 13h

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.

Highlights

  • 917-byte DOS .COM executable
  • 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

Run it

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.

Build from source

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.bat

You can override that location:

set TASM_HOME=C:\path\to\tasm
build.bat

Equivalent commands are TASM /m2 TPSPHERE.asm followed by TLINK /t TPSPHERE.obj.

Files

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

Project site

Visit delphi-coder.github.io/tiny-plasma-sphere for the project page and downloads.

License

Released under the MIT License.

About

A 917-byte DOS/VGA assembly demo featuring a rotating sprite sphere and procedural plasma landscape.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages