minor enhancements
This commit is contained in:
parent
426c07f30b
commit
b07a4e8956
|
@ -218,6 +218,7 @@ void IsrHandler(ISRFrame_t *regs)
|
|||
}
|
||||
|
||||
bprintf(BStdOut, "[ISR 0x%x] %s\n", regs->intNo, "Unknown ISR Exception");
|
||||
BStdOut->flusher(BStdOut);
|
||||
IoSendEOItoPIC(regs->intNo);
|
||||
/* KeStartPanic("[ISR 0x%x] Unknown ISR Exception Abort\n" */
|
||||
/* " Error code : 0x%x\n" */
|
||||
|
@ -266,5 +267,6 @@ void IdtExceptionHandler(ISRFrame_t *regs)
|
|||
);
|
||||
} else {
|
||||
bprintf(BStdOut, "[ISR 0x%x] %s\n", regs->intNo, exceptionMsg);
|
||||
BStdOut->flusher(BStdOut);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,7 +32,8 @@ void KeybPrint(char code)
|
|||
{
|
||||
if (code) {
|
||||
bprintf(BStdOut, "%c", ScanCodes[(int)code]);
|
||||
BFlushBuf(BStdOut);
|
||||
//bprintf(BStdOut, "%x ", code);
|
||||
BStdOut->flusher(BStdOut);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -48,6 +49,9 @@ void ScanCodesInit(void)
|
|||
ScanCodes[0x09] = '8';
|
||||
ScanCodes[0x0A] = '9';
|
||||
ScanCodes[0x0B] = '0';
|
||||
ScanCodes[0x0C] = ' ';
|
||||
ScanCodes[0x0D] = '+';
|
||||
ScanCodes[0x0E] = ' ';
|
||||
|
||||
ScanCodes[0x10] = 'a';
|
||||
ScanCodes[0x11] = 'z';
|
||||
|
@ -59,6 +63,8 @@ void ScanCodesInit(void)
|
|||
ScanCodes[0x17] = 'i';
|
||||
ScanCodes[0x18] = 'o';
|
||||
ScanCodes[0x19] = 'p';
|
||||
ScanCodes[0x1A] = '^';
|
||||
ScanCodes[0x1B] = '$';
|
||||
|
||||
ScanCodes[0x1E] = 'q';
|
||||
ScanCodes[0x1F] = 's';
|
||||
|
@ -69,6 +75,9 @@ void ScanCodesInit(void)
|
|||
ScanCodes[0x24] = 'j';
|
||||
ScanCodes[0x25] = 'k';
|
||||
ScanCodes[0x26] = 'l';
|
||||
ScanCodes[0x27] = 'm';
|
||||
ScanCodes[0x28] = 'u';
|
||||
ScanCodes[0x29] = '*';
|
||||
|
||||
ScanCodes[0x2C] = 'w';
|
||||
ScanCodes[0x2D] = 'x';
|
||||
|
@ -76,7 +85,10 @@ void ScanCodesInit(void)
|
|||
ScanCodes[0x2F] = 'v';
|
||||
ScanCodes[0x30] = 'b';
|
||||
ScanCodes[0x31] = 'n';
|
||||
ScanCodes[0x32] = 'm';
|
||||
ScanCodes[0x32] = ',';
|
||||
ScanCodes[0x33] = ';';
|
||||
ScanCodes[0x34] = ':';
|
||||
ScanCodes[0x35] = '!';
|
||||
|
||||
ScanCodes[0x1C] = '\n';
|
||||
ScanCodes[0x39] = ' ';
|
||||
|
|
Loading…
Reference in New Issue