Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- AdLib and Sound Blaster reference guide.÷+--------------------------------------------------------------+ - <b>function 1</b> : set base i/o address. http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 1     : Set Base I/O Address.

Entry          : BX = 1.
                 AX = Base I/O Address.
Exit           : None.

This function set the base I/O address used by the driver.

There are six base I/O addressed available 210, 220, 230, 240,
250 and 260 (hex). As the user can select any one of these
addresses on the Sound Blaster card, developers have to allow
users to specify the I/O address selected.

We suggest 2 implementation methods here,

     A.  Calling program is coded to allow users to install their program for
         the correct I/O address to use and invokes this function to set
         the I/O address accordingly.

     B.  A seperate program is coded to allow users to install the I/O
         address directly on the CT-VOICE.DRV. The I/O address is
         stored as a word type (2 bytes) at the offset 30 hex of the
         driver file.

CT-VOICE driver uses the I/O default installed address if this
function is not called. Factory default for the base I/O address is
220 hex.

If this function needs to be called, it must be called before the
"Initialize Driver" function.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson