#include <native_sound_timer.h>
|
| enum | { kPitClockHz = 1193182,
kHostTimerDivisor = 0x07a8,
kHostServiceDivider = 2,
kSequenceServiceDivider = 5
} |
| |
|
| uint32 | advance (uint64 elapsedUnits, uint64 unitsPerSecond) |
| |
| bool | pollDue () |
| |
Reconstructs the driver-service and sequence-poll cascade supplied by the original executables' PIT channel 0 handlers.
◆ advance()
| uint32 MADS::NativeSoundTimer::advance |
( |
uint64 |
elapsedUnits, |
|
|
uint64 |
unitsPerSecond |
|
) |
| |
|
inline |
Advances time expressed in arbitrary units and returns the number of native driver-service ticks which elapsed.
◆ pollDue()
| bool MADS::NativeSoundTimer::pollDue |
( |
| ) |
|
|
inline |
Advances the native five-service sequence countdown.
The documentation for this class was generated from the following file: