Contents of the ADLPLAY.DOC file
I started out to write a series of routines to have some fun with the
Adlib Card I had just purchased. I wanted to write them im QB because
I know that lots of people use it and would have more fun with the
card if they could control it. To my suprise it wasn't that hard to
write a player.
This version just goes full speed ahead and loads all the voice ques
and then turns the card on. This is ok I have found for almost all of the
songs I have. If the .ROL file is more than about 15000 bytes however
"Events like instrument changes or volume adjustments can get missed with
sometimes humorous results. I am sure that I will clear this up as I progress.
Some Important Notes:
Included in this archive are:
BankPlay.bas Main Qb File...Now uses Bank files.
Mstruct.H Include File containing structures
Sound.H SubRoutine Declarations Etc.
Bankdef.H Include file of Bankfile structures.
Tm.asm Assembler Interface to Adlib Driver.
Tm.obj Assembled version
Sound.Lib Sound and other Routines
Sound.qlb Qb Runtime Library
Taxi.Rol One of my diddies.
Linkit.bat Batch file for linking Bankplay to ADLplay
BP.lnk Linker Macro file.
ADLPLAY.EXE The working copy.
PS. This is a Nov89 update.
Ideas using the functions provided in the code above
1. No frills Instrument maker. The structures for the
INS files are declared in bankdef.h
2. RANDOM instrument maker. Generate random values
within the acceptable ranges and let it fly.
3. QB library including functions like Aplay where
Aplay is a function similar to play with it's own
To any who had problems compiling the first version, my aplologies.
I think I have included enough in this archive to satisfy most
configurations. If not please let me know I will be happy to help.
The program is currently set up to look for music .ROL files in
and to find the .Ins files in
This however can easily be changed and future versions will be configurable.
Also, Make sure you have your B3000 parameter set when the sound driver is
loaded to allow maximum QueSize.
The Main thing is HAVE SOME FUN !!