home *** CD-ROM | disk | FTP | other *** search
- UNIT SBDRV;
-
-
- { THESE ARE THE PROCEDURES IN THE INTERFACE SECTION OF THE SBDRV unit }
- { These are called AUTOMATICALLY in the startup and exit code of the }
- { SBAPI unit and DO NOT need to be called by your program. }
-
- { Tells the driver what Port address and IRQ the Sound Blaster card is }
- { using. A detection function is provide in SBAPI }
- PROCEDURE PokeBlaster(PortBase,IRQ : Word);
-
- { Returns the far address of the driver }
- { Development note: If this address is not Paragraph aligned }
- { i.e. divisible by 16 evenly. The driver load will fail !! }
- { The Pascal link procedure does not always respect Paragraph }
- { alignment directives in OBJ files which is why the driver }
- { code and API code for the driver ended up in seperate units.}
- FUNCTION ReportSB : Pointer;
-
- { Calls the driver install procedure given the address of the driver }
- FUNCTION LoadSoundDriver(DrvAddr : Pointer) : BOOLEAN;
-
- { Unloads the driver if loaded previously otherwise returns with out effect}
- PROCEDURE UnloadSoundDriver;
-
- END.
-