Enable/Trap Event [+] - Husky MP2500 Manual

Hide thumbs Also See for MP2500:
Table of Contents

Advertisement

Enable/trap event [+]

Entry
Exit
Description
Chapter 26: INT 15H, BIOS Extension Functions [+]
AH=6EH
AL=software interrupt no.
BH=event number
BL=enable mask
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 enable or disable an event, or to
trap the event. BH defines the event number to control,
BL specifies whether to enable or disable that event:
BL
Effect
0
Disable (ignore) event
1
Enable event
Enabling an event replaces its normal effect. For
example, if event 1 is enabled, an error on COM1 will
not produce a communications error message.
Instead, the corresponding event flag will be set or the
trap for that event will be executed.
Disabling an event restores its normal effect. For
example, a COM1 error will produce an error message
and will no longer set that event flag or execute the
trap defined for that event.
AL specifies whether to trap the event:
AL
Effect
0
Do not trap
1..FFH Trap as software interrupt 1..255
241

Advertisement

Table of Contents
loading

Table of Contents