EXOS 2.1 Constants

5. Software Interrupt Codes

A software interrupt with a certain code can be caused by storing that code in the variable FLAG_SOFT_IRQ. The codes which are used by the built in devices are listed here. Details of enabling and disabling these can be found in the appropriate device driver specification.

KEYBOARD

10h..1fh ?FKEY
Function keys 1 to 8 and also shifted function keys 1 to 8

20h - ?STOP
STOP key pressed

21h - ?KEY
any normal key pressed (this is disabled by default)

NET

30h - ?NET
Data block received on a network channel.

KERNEL

40h - ?TIME
The TIMER EXOS variable has counted down to zero.


Next Chapter: Special Function Sub­Function Codes.



David Bouman. (dsbouma@cs.vu.nl)