r/wADRHEXADRNAMEDescriptionShadowOS
write53774$D20EIRQENPOKMSKInterrupt Request Enableall
read53774$D20EIRQSTPOKMSKInterrupt Request Statusall

Write#

BitFunction
0d
1d
2d
3d
4d
5d
6d
7d

Bit set to "0" (zero) turns interrupt off (disable) Bit set to "1" (one) turns interrupt on (enable)

Read#

BitValueFunctionVector
01Timer 1 (counted down to zero)VTIMR1 (528; $0210)
12Timer 2 (counted down to zero)VTIMR2 (530; $0212)
24Timer 4 (counted down to zero)VTIMR4 (532; $0214 - OS "B" and later ROMs only)
38Serial output transmission downVSEROC (526; $020E)
416Serial Output data neededVSEROR (524; $020C)
532Serial input data readyVESRIN (522; $020A)
664Other key pressedVKEYBD (520; $0208)
7128Break key pressedBRKKY (566; $0236 - OS "B" and later ROMs only)

see also: Keyboard topics