Dec 162017
 
EGA moving picture of the Earth rotating.
File GMOVIE.ZIP from The Programmer’s Corner in
Category Printer + Display Graphics
EGA moving picture of the Earth rotating.
File Name File Size Zip Size Zip Type
GMOVIE.DAT 1321140 105178 deflated
GMOVIE.DOC 1082 486 deflated
GMOVIE.EXE 43546 24842 deflated

Download File GMOVIE.ZIP Here

Contents of the GMOVIE.DOC file


GMOVIE

Written by David Bryant.

EGA Required!

GMOVIE is written in TURBOC 2.0. The original data was in the
form of 30 frames each consisting of one bit per pixel. Each frame
being 256 X 256 pixels. Since pixels aren't square on IBM
displays, I drew 5 pixels for every 4 in the data file to create
the illusion of a round Earth. Each frame was drawn a pixel at
a time and taken from the screen using the GETIMAGE function, then
written the the file GMOVIE.DAT. GMOVIE.EXE simply reads one image
from GMOVIE.DAT and displays it using the PUTIMAGE function. To
achieve smooth rotation of the Earth I draw the image to an EGA
display other than the current visual display and when complete
make that display the visual display.

Files in GMOVIE.ARC
GMOVIE.EXE Displays and rotates the Earth
GMOVIE.DAT The Earth data file
GMOVIE.DOC This document



 December 16, 2017  Add comments

Leave a Reply