Entry | |
---|---|
R0 | 13 (&0D) |
R1 | Event Number |
Exit | |
---|---|
R0 | Preserved |
R1 | Old enable state (0 means was already disabled) |
R2 | Corrupted |
The purpose of this call is to disable an event.
Event enable/disable states are reference-counted, to ensure that events are only broadcast to the system if at least one program is interested in receiving them.
This call decreases the count of enable requests for a particular event being called though the EventV (event vector). When the count reaches 0 the event is actually disabled.
Events are enabled by calling OS_Byte 14