lesson 20, keyboard

This commit is contained in:
Carlos
2015-03-20 11:39:30 +01:00
parent 9adde4d4bd
commit 6e5a09981a
10 changed files with 239 additions and 727 deletions

View File

@@ -1,9 +1,13 @@
#include "../cpu/isr.h"
#include "../cpu/timer.h"
#include "../drivers/keyboard.h"
void main() {
isr_install();
asm volatile("sti");
init_timer(50);
// init_timer(50);
/* Comment out the timer IRQ handler to read
* the keyboard IRQs easier */
init_keyboard();
}