Miles Sound System SDK 7.2a

AIL_interrupt_divisor

The function AIL_interrupt_divisor returns the current value used internally by the Miles Sound System's Timer Services to program the IBM PC's 8253 Programmable Interval Timer chip for periodic INT 8 (IRQ 0) service.

U32 AIL_interrupt_divisor();

Returns

The value last used to program the IBM timer hardware for interrupt service by the MSS system.

Discussion

This function is intended for use by applications which must seize direct control of the IBM's timer interrupt hardware. Its use is not recommended under ordinary circumstances.

The MSS Timer Services are fast enough and flexible enough to meet nearly any conceivable application's needs for periodic callback service, and programmers are strongly encouraged to make use of them whenever possible. In the rare event that this is not practical, AIL_interrupt_divisor allows the application to continue to play sound and music while circumventing the MSS's timer interrupt handler for its own purposes. The application must assume responsibility for generating software INT 8 calls at the indicated rate.

This function is not supported under Windows or MacOS.


Group: Timer Services
Related Functions: AIL_interrupt_divisor, AIL_set_timer_divisor
Related Basic Types: U32

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