diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-07-08 20:51:21 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-07-08 20:51:21 +0200 |
| commit | 326eef577054dd8996ec5d16c3db58a4d5fe8948 (patch) | |
| tree | 9cc7e32f566f3dc6ad0c96eb65aed1b3a00c2b8b /kernel/keyboard.c | |
| parent | 9c928f4962e4c4f9a03104bb0d6bac82f2cfa628 (diff) | |
improved console and pit (timer) interrupt handler
Diffstat (limited to 'kernel/keyboard.c')
| -rw-r--r-- | kernel/keyboard.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/kernel/keyboard.c b/kernel/keyboard.c index 5d5e71f..f7887f2 100644 --- a/kernel/keyboard.c +++ b/kernel/keyboard.c @@ -11,8 +11,11 @@ static char last_code=0; void int0(uint8_t in) { - if(in==0x1e)__asm__("int $88"); // test interrupt 88 - // whenver A is pressed + // test interrupt 88 // whenver A is pressed + if(in==0x1e) + { + int_generate88(); + } int i=0; // |
