SB AWE32 Developer's Information Pack
PART II DOS Real/Protected Mode API
••
12
Copyright
Creative Technology Ltd., 1994-1996
Version 3.00
Hardware Detection And Initialization
This group of API consists of the following :
•
awe32Detect
•
awe32DetectEx
•
awe32InitHardware
•
awe32Terminate
awe32Detect
WORD
PASCAL
awe32Detect(WORD wBaseIOAddx)
Actions
Detect the presence of the EMU8000 subsystem.
Parameters
wBaseIOAddx
Specify the base I/O address of the EMU8000 subsystem. The address can be found in
the BLASTER environment variable with a 'E' prefix. For example, E620.
The ‘E’ BLASTER environment parameter is introduced to cater for future derivatives
of the SB AWE32 sound card that may have the EMU8000 at different I/O addresses.
Please refer to chapter CTPNP.CFG Sample for details on obtaining base I/O
addresses for SB AWE32 PnP cards.
Return
The return value is 0 if the EMU8000 is detected, and non-zero if otherwise.
awe32DetectEx
WORD
PASCAL
awe32DetectEx(
WORD wBaseIOAddx1,
WORD wBaseIOAddx2,
WORD wBaseIOAddx3
)
Actions
Detect the presence of the EMU8000 subsystem for systems where the base I/O
addresses set are not 0x400 apart.
Parameters
wBaseIOAddx1, wBaseIOAddx2, wBaseIOAddx3
Specifies the base I/O addresses of the EMU8000 subsystem. In Windows 95, the I/O
addresses used can be found in the ‘CTPNP.CFG’ configuration file located in the
Windows directory. Refer to the CTPNP.CFG Sample at the end of this section.
Return
The return value is 0 if the EMU8000 is detected, and non-zero if otherwise.