Acknowledge Event [+]; Control Sound [+] - Husky MP2500 Manual

Hide thumbs Also See for MP2500:
Table of Contents

Advertisement

Acknowledge event [+]

Entry
Exit
Description

Control sound [+]

Entry
Exit
Description
242
If you trap an enabled event, the corresponding
software interrupt will be called when the event occurs.
You must define the interrupt service routine (by using
the MS-DOS Set Vector function) before trapping the
event.
The interrupt service routine MUST NOT execute any
MS-DOS or BIOS interrupts and must be short.
Typically, it will set a flag within the application which
the application polls at regular intervals.
By default, all events are disabled and no events are
trapped. The defaults are restored on a cold start.
AH=6FH
AL=event number
AH=0 (success)
The events mechanism provides an easy way to detect
important events such as the RTC alarm going off or
special keys being pressed.
Use this function to acknowledge an event when you
are about to service it. This resets the corresponding
bit in the event status bytes, so you can detect the next
occurrence of this event.
AH=70H
AL=0 (disable) or non-0 (enable)
Registers unchanged
Use this function to control (enable or disable) ALL
sound output, whether instigated by an application or
BIOS.
H
MP2500 System Developer's Guide
USKY

Advertisement

Table of Contents
loading

Table of Contents