MentOS  0.8.0
The Mentoring Operating System
Macros
PS/2 Status Register Flags

Macros

#define PS2_STATUS_OUTPUT_FULL   0x01
 Output buffer is full, data is available to be read.
 
#define PS2_STATUS_INPUT_FULL   0x02
 Input buffer is full, cannot send another command until it's clear.
 
#define PS2_STATUS_SYSTEM   0x04
 "System" flag, distinguishes between system and non-system events.
 
#define PS2_STATUS_COMMAND   0x08
 1 if data in input buffer is a command, 0 if it's data.
 
#define PS2_STATUS_TIMEOUT   0x40
 Timeout error has occurred.
 
#define PS2_STATUS_PARITY_ERROR   0x80
 Parity error occurred during communication.
 

Detailed Description