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 2</b> : set interrupt number. http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 2     : Set Interrupt number.

Entry          : BX = 2.
                 AX = Interrupt number for the DMA.
Exit           : None.

This function sets the interrupt number used for the driver during
a DMA transfer.

Four interrupts, interrupt 2, 3, 5 and 7, are available. Developers
should also allow users to specify their choice. The two methods
suggested earlier can be used here too. If second method is used,
the interrupt number used is stored as  a char type (1 byte) at the
offset 32 hex.

Again, the default installed interrupt number is used if this
function is not invoked to change it. The factory default interrupt
number is 3.

This function must be invoked before the "Initialize Driver"
function.

See Also: Function_1

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