Difference between revisions of "OSBYTE &76"
m (1 revision) |
m (Updated return values.) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
OSBYTE &76 (118) - Reflect keyboard status in LEDs | OSBYTE &76 (118) - Reflect keyboard status in LEDs | ||
− | If the keyboard status byte (CAPs lock etc...) is written to with | + | This calls [[KEYV]] to update the keyboard LEDs. If the keyboard |
− | + | status byte (CAPs lock etc...) is written to with [[OSBYTE &CA|OSBYTE 202]] then | |
− | + | the LEDs should be updated by using this call. Under normal | |
− | + | circumstances the LEDs look after themselves. | |
− | + | ||
− | + | On exit: X.b7=CTRL key pressed | |
− | + | Note that other documentation state that this call returns the state | |
+ | of the SHIFT key. This is incorrect. | ||
==See Also== | ==See Also== | ||
Line 14: | Line 15: | ||
[[User:Jgharston|Jgharston]] 21:53, 26 May 2009 (UTC) | [[User:Jgharston|Jgharston]] 21:53, 26 May 2009 (UTC) | ||
+ | [[User:Jgharston|Jgharston]] ([[User talk:Jgharston|talk]]) 00:53, 23 September 2019 (CEST) |
Latest revision as of 23:53, 22 September 2019
OSBYTE &76 (118) - Reflect keyboard status in LEDs
This calls KEYV to update the keyboard 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. On exit: X.b7=CTRL key pressed Note that other documentation state that this call returns the state of the SHIFT key. This is incorrect.
See Also
Jgharston 21:53, 26 May 2009 (UTC) Jgharston (talk) 00:53, 23 September 2019 (CEST)