Tiny Plasma Sphere
==================

Tiny Plasma Sphere is a small DOS/VGA assembly demo that renders a colorful animated scene in VGA Mode 13h.

The program displays a rotating sphere built from many small shaded balls, placed over a vivid plasma-style background. The lower part of the screen uses warm, animated plasma colors, while the upper part creates a calm sky-like blue area. The result is a surprisingly rich visual effect produced by an extremely small DOS .COM executable.

Project name
------------
Display name: Tiny Plasma Sphere
DOS executable name: TPSPHERE.COM

About the program
-----------------
This is a 16-bit DOS .COM graphics demo written in x86 assembly.

It demonstrates how much can be achieved with very little code when working close to the hardware. The executable is only about 917 bytes, yet it creates a complete animated visual scene with palette effects, background generation, sprite drawing, depth ordering, and a rotating 3D-like object.

The program is a good example of compact low-level graphics programming from the DOS/VGA era.

Technical highlights
--------------------
- 16-bit DOS .COM executable
- VGA Mode 13h graphics mode
- Direct VGA palette programming
- Procedural plasma-style background
- Off-screen frame buffer usage
- Rotating sphere made from small ball sprites
- Depth sorting before drawing the sphere elements
- Vertical retrace synchronization for smoother animation
- Very small executable size: approximately 917 bytes

Controls
--------
ESC   Exit the program
SPACE Pause / hold the animation

Running the program
-------------------
This program is intended for a DOS environment or a DOS-compatible emulator such as DOSBox.

Example:

    TPSPHERE.COM

Because it uses VGA Mode 13h and DOS interrupts, it is not a native Windows application. On modern systems, using DOSBox or a similar DOS emulator is recommended.

Source code
-----------
The original assembly source is included for study. An annotated version may also be included to make the code easier to read.

Suggested package contents
--------------------------
TPSPHERE.COM
BALL.ASM
BALL_annotated.asm
screenshot.jpg
README.txt

Notes
-----
This project is shared as a small educational and nostalgic graphics demo. It is useful for anyone interested in old-school DOS graphics, VGA programming, compact assembly code, and the demoscene style of programming where visual impact is created with very limited executable size.

The most interesting part of the project is the contrast between the file size and the final visual output: a tiny .COM file produces an animated scene that feels far larger than the program itself.