Rev 4573 | Rev 4612 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4573 | Rev 4588 | ||
---|---|---|---|
Line 146... | Line 146... | ||
146 | Parameters: |
146 | Parameters: |
147 | * eax = 2 - function number |
147 | * eax = 2 - function number |
148 | Returned value: |
148 | Returned value: |
149 | * if the buffer is empty, function returns eax=1 |
149 | * if the buffer is empty, function returns eax=1 |
150 | * if the buffer is not empty, function returns al=0, |
150 | * if the buffer is not empty, function returns al=0, |
151 | ah=code of the pressed key, high word of eax is zero |
151 | ah=code of the pressed key, |
- | 152 | bits 16-23 = contain scancode for pressed key, |
|
- | 153 | bits 23-31 = zero |
|
152 | * if there is "hotkey", function returns al=2, |
154 | * if there is "hotkey", function returns al=2, |
153 | ah=scancode of the pressed key (0 for control keys), |
155 | ah=scancode of the pressed key (0 for control keys), |
154 | high word of eax contains a status of control keys at the moment |
156 | high word of eax contains a status of control keys at the moment |
155 | of pressing a hotkey |
157 | of pressing a hotkey |
156 | Remarks: |
158 | Remarks: |