Add Interrupt management

This commit is contained in:
Loic Guegan 2021-04-06 15:55:30 +02:00
parent 76c95cff93
commit db553d0582
8 changed files with 171 additions and 3 deletions

63
src/utils/8042.h Normal file
View file

@ -0,0 +1,63 @@
#ifndef _8042_H
#define _8042_H
#include "types.h"
void _8042_keypress();
#define DEFINE_AZERTY char AZERTY[]={\
'?',\
'?',\
'?',\
'?',\
'?',\
'?',\
'?',\
'?',\
'?',\
'?',/* 10 */\
'?',\
'?',\
'?',\
'?',\
'?',\
'?',\
'a',\
'z',\
'e',\
'r',\
't',\
'y',\
'u',\
'i',\
'o',\
'p',\
'^',\
'$',\
'?',\
'?',\
'q',/* 0x1E (30) */\
's',\
'd',\
'f',\
'g',\
'h',\
'j',\
'k',\
'l',\
'm',\
'?',\
'?',\
'?',\
'*',\
'w',\
'x',\
'c',\
'v',\
'b',/* 0x30 (48) */\
'n',\
',',\
';',\
}
#endif