Keyboard in progress

This commit is contained in:
Adrien Bourmault 2019-04-24 18:14:23 +02:00
parent f005894088
commit dfb65fd199
2 changed files with 4 additions and 4 deletions

View File

@ -81,9 +81,9 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic, void *codeSeg)
IdtSetup();
KeEnableIRQs();
/* // Test Page Fault
// Test Page Fault
long addr = -1;
DebugLog("%s", addr); */
DebugLog("%s", addr);
KernLog("\nGoodbye!");

View File

@ -1,7 +1,7 @@
//----------------------------------------------------------------------------//
// GNU GPL OS/K //
// //
// Desc: Basic Read Only Keyboard Driver //
// Desc: Basic Read Only Keyboard Driver //
// //
// //
// Copyright © 2018-2019 The OS/K Team //
@ -40,7 +40,7 @@ uchar KeybHandler(void)
uchar code;
// write EOI
outb(0x20, 0x20);
IoWriteByteOnPort(0x20, 0x20);
status = IoReadByteFromPort(KeybStatusPort);