Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | 202 (&CA) |
R1 | EOR value |
R2 | AND value |
Exit | |
---|---|
R0 | Preserved |
R1 | Status before being overwritten |
R2 | Serial input threshold (see OS_Byte 203) |
The purpose of this call is to read or write information about the keyboard’s status.
The keyboard status byte holds information on the current status of the keyboard, such as the setting of Caps Lock. This call enables you to read and change these settings. Note that this call does not update the LEDs. If you don’t stamp this state with OS_Byte 118, the LEDs won’t be switched on or off. The default state of Caps Lock is stored in OS_Byte CMOS 11.
The keyboard can be enabled or disabled by OS_Byte 201.