                             Example 2

This show you how to do an intro with GUS and SB support.
It use an usm file linked with the exe.

It use some USM play files:
        usmplay.asm     * Useless USM player
        uss.asm         * Sound system
        ussvar.asm      * sound system variables
        gusdrv.asm      * GUS driver
        nosnddrv.asm    * No sound driver
        timer.asm       * Timer mannager

For SB support :
        sbdrv.asm       * Sound blaster driver
        mix.asm         * Mixing routines
        memory.asm      * Memory functions
        hardware.asm    * DMA and environment variables functions

setup.inc file was changed to only use the example music effects.
so, you will need to change it because you will not use the same music.

EOS + CHIPBLUE.USM (32Kb) + USMPLAY = 78Kb... (24Kb packed with WWPACK)

The GUS and SB version is 5Kb bigger than the GUS only version (packed)
An SB Only version is 14Kb bigger than a GUS version (Not packed)

If you want to do a GUS Only version from the GUS and SB version,
you just have to set UseGUS to No (in setup.inc) and to not link
the SB files (sbdrv.obj, mix.obj, memory.obj and hardware.obj)
Don't forget to remove the call to HardwareInit in your code !

Advice to do your own setup file: 

start from a setup file with all options On (file in /EOS for example)
and customise your setup file to reduce the executable size.

To add Interwave support, just set UseIW to Yes in setup.inc and include
iwdrv.obj in the link file (ex3.lnk)

                                                FreddyV/Useless