Miles Sound System SDK 7.2a

AIL_set_USE16_ISR

The function AIL_set_USE16_ISR creates a 16-bit protected-mode interrupt handler for interrupt vectnum, mapped to an existing bimodal interrupt handler in real-mode memory.

U32 AIL_set_USE16_ISR(
  U32 vectnum,
  REALFAR real_base,
  U32 ISR_offset
);

In Parameters

vectnum
specifies the interrupt vector number.
real_base
specifies the paragraph-aligned real-mode (segment:offset) address of the module containing the bimodal interrupt handler.
ISR_offset
specifies the offset in bytes from real_base of the bimodal interrupt handler.

Returns

The USE16 code selector created and mapped to real_base.

Discussion

This is a DOS-only function.

This function is used internally by the MSS system, and may not be available under all DOS extenders or MSS API versions. Most applications will not need to use AIL_set_USE16_ISR.

This function must not be invoked from an interrupt-based callback function.


Group: Low-Level DOS Support Services
Related Functions: AIL_set_USE16_ISR, AIL_set_real_vect
Related Basic Types: REALFAR, U32

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.