mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2025-12-18 12:54:36 +03:00
Lesson 23, section 6
This commit is contained in:
@@ -25,7 +25,7 @@ const char sc_ascii[] = { '?', '?', '1', '2', '3', '4', '5', '6',
|
||||
'H', 'J', 'K', 'L', ';', '\'', '`', '?', '\\', 'Z', 'X', 'C', 'V',
|
||||
'B', 'N', 'M', ',', '.', '/', '?', '?', '?', ' '};
|
||||
|
||||
static void keyboard_callback(registers_t regs) {
|
||||
static void keyboard_callback(registers_t *regs) {
|
||||
/* The PIC leaves us the scancode in port 0x60 */
|
||||
uint8_t scancode = port_byte_in(0x60);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user