diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-07-08 19:19:31 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-07-08 19:19:31 +0200 |
| commit | 9c928f4962e4c4f9a03104bb0d6bac82f2cfa628 (patch) | |
| tree | eb97c229393d2243ccd899a3a68ea8cb53f2d57e /kernel/keyboard.c | |
| parent | ab398b66081a5595776ac9121aaae07a3c2fe455 (diff) | |
added and successfuly tested software interrupt
int 88 is issued by the kb driver whenever A is pressed and the
the int_test_handler is run.
Diffstat (limited to 'kernel/keyboard.c')
| -rw-r--r-- | kernel/keyboard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/keyboard.c b/kernel/keyboard.c index d1175c1..5d5e71f 100644 --- a/kernel/keyboard.c +++ b/kernel/keyboard.c @@ -10,6 +10,10 @@ static char last_code=0; void int0(uint8_t in) { + + if(in==0x1e)__asm__("int $88"); // test interrupt 88 + // whenver A is pressed + int i=0; // //print_hex(int_count); |
