Category : C Source Code
Archive   : EXPLOD.ZIP
Filename : EXPLOD.DOC
Output of file : EXPLOD.DOC contained in archive : EXPLOD.ZIP
EXPLOD 1.1 - a simple fireworks program for the CGA or HGC
This is a simple fireworks program that is a spinoff of some
explosion handling routines for a game I am working on.
FILES
explod.doc - this file
explod.exe - packed executable
explod.c - main source file
expa.asm - graphics support routines
HOW TO RUN
The following instructions will be displayed briefly when the
program is run without any parameters. They will not be displayed
if parameters are given.
Usage: explod
Parameters can be one of
-v
Default is auto-detect (but must specify for EGA/VGA)
-s
-x
-y
-p
-t
-d
-g
-w
Examples:
explod (for 8MHz 8088 XT with CGA or HGC card)
explod -vc -s5 -t3 (for 4.77MHz XT with EGA card in CGA mode)
explod -t10 -s15 (for 8MHz 80186 XT with HGC)
explod -p300 -x200 -y120 -s6 -d10 (for 8 Mhz AT with HGC)
Press ESCAPE to return to DOS
HOW TO COMPILE
As distributed, the code is compilable with Turbo C and MASM using
the MAKETC.BAT file (TC 1.5 and MASM 5.0 were used, but other versions
should work as well).
The code was developed with Datalight C 2.20 and Arrowsoft ASM 1.00d.
To compile in this environment, comment out the 'TURBOC equ 1' line and
uncomment the 'DLC equ 1' line in EXPA.ASM, and then run MAKEDLC.BAT.
To use with other compilers, the segment and group names should be
redefined according to the compiler's manual. A generic command
sequence to make the executable would be:
masm /mx expa ;
cc explod.c expa.obj
BUGS
Explosions "wrap around" on the four edges of the screen. A few
lines of address checking code in _gr_frplot can eliminate this,
but I didn't put them in because they would slow down the animation
somewhat (and every bit of speed counts on slow XTs).
AUTHOR
Dennis Lo
4516 Albert St.
Burnaby, B.C.
Canada V5C 2G5
[email protected]
The executable and source code may be freely distributed and used,
provided that my name remains in the source code, and that modified
versions of the source and executable are clearly distinguished
from the original.
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/