mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-20 01:45:58 +00:00
Updating the document to reflect that the device returns hexadecimal.
@@ -12,6 +12,6 @@ Hardware ID: `0x0004`
|
|||||||
| `0` | `KEYBOARD_CLEAR` | `0 kJ` | Clear the keypress buffer |
|
| `0` | `KEYBOARD_CLEAR` | `0 kJ` | Clear the keypress buffer |
|
||||||
| `1` | `KEYBOARD_FETCH_KEY` | `0 kJ` | Reads the oldest keycode from the buffer into the B register and remove it|
|
| `1` | `KEYBOARD_FETCH_KEY` | `0 kJ` | Reads the oldest keycode from the buffer into the B register and remove it|
|
||||||
|
|
||||||
The `KEYBOARD_FETCH_KEY` operation will return `0` when the buffer is empty.
|
The `KEYBOARD_FETCH_KEY` operation will return `0x0` when the buffer is empty.
|
||||||
|
|
||||||
Keycodes: [keycode.info](http://keycode.info/)
|
Keycodes: [keycode.info](http://keycode.info/)
|
||||||
Reference in New Issue
Block a user