home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Audio 4.94 - Over 11,000 Files
/
audio-11000.iso
/
msdos
/
music
/
polytc
/
readme
< prev
next >
Wrap
Text File
|
1991-05-25
|
2KB
|
46 lines
The following files came with the original archive:
AVEMARIS.POL - Ave Maria Stella
BEYONDRF.POL - Beyond the Reef
ENTERTNR.POL - The Entertainer
EXODUS.POL - Exodus
FROMME2U.POL - From Me To You
FUGUE.POL - Fugue in G Major - J. S. Bach
GODFATHR.POL - Speak Softly Love - Theme From The Godfather
MAGNIF7.POL - The Magnificent Seven
MAKEFILE -
POLY_PLA.C - Plays a polyphonic song
POLY_XLA.C - Translates the .POL files into something vaguely readable
PURPLE.POL - Deep Purple
SHNGRILA.POL - Shangri-La
STARWARS.POL - Mail Title From "Star Wars"
ZHIVAGO.POL - Somewhere, My Love
The original C files were written for some compiler that had a nonstandard
library, an assembler that didn't use the standard Intel opcodes, and a
`make' program that apparently lived inside a UNIX-like shell.
I have translated the programs into Turbo C/MASM, naming them POLY_PLA.TC
and POLY_XLA.TC. I tried to change the original code as little as
possible; my only changes were to the syntax (to translate the asm
directives and to convert the opcodes into something MASM understands) and
to the calls to library functions (replacing calls to functions like
tfscanf() into calls to fscanf(), etc.). The program structure is that of
the original author.
For those that don't have a compiler handy, I've also included precompiled
executables: POLY_PLA.EXE and POLY_XLA.EXE.
Things I've noticed:
The program does not sniff for keypresses, so there is no way
to stop the song once it has started.
Since interrupts are disabled for long stretches of time, if you
run the program from floppies, your disk drive light will stay on
much longer than usual. (No harm done.)
The program has its own timing loops, so it doesn't adapt to high-speed
CPUs. It plays fine on my 4.77MHz machine, but when I try it on my 386,
the song is over in less than a second.