OSBYTE &76

From BeebWiki
Jump to: navigation, search

OSBYTE &76 (118) - Reflect keyboard status in LEDs

   If the keyboard status byte (CAPs lock etc...) is written to with
   OSByte 202 then the LEDs should be updated by using this call. Under
   normal circumstances the LEDs look after themselves
   (Acorn MOS 2.00 only)
   Read ctrl/Shift keys
   Returns with processor status C=1=CTRL key pressed
                                 N=1=SHIFT key pressed

See Also

Jgharston 21:53, 26 May 2009 (UTC)