Difference between revisions of "OSBYTE &76"

From BeebWiki
Jump to: navigation, search
m (1 revision)
m (1 revision)
(No difference)

Revision as of 20:12, 8 March 2015

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)