This the multi-page printable view of this section.Click here to print.

Return to the regular view of this page.

Enable/Disable events

Table of Contents

OSByte call Action Available on:
(dec) (hex) BBC Master Electron
13 0D Disable events x x x
14 0E Enable events x x x

Entry parameters

X Event code

On exit:

A preserved
X Old disable state: 0=disabled, >0 enabled
C undefined

OSBYTE 13 is used to disable specific events. OSBYTE 14 is used th enable specific events.

Event type passed in X

X Event
0 output buffer empty
1 input buffer full
2 character entering buffer
3 ADC conversion complete
4 start of vertical sync
5 interval timer crossing 0
6 ESCAPE pressed
7 RS423 RX error
8 network error
9 user