Keyboard in progress
This commit is contained in:
parent
f005894088
commit
dfb65fd199
|
@ -81,9 +81,9 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic, void *codeSeg)
|
||||||
IdtSetup();
|
IdtSetup();
|
||||||
KeEnableIRQs();
|
KeEnableIRQs();
|
||||||
|
|
||||||
/* // Test Page Fault
|
// Test Page Fault
|
||||||
long addr = -1;
|
long addr = -1;
|
||||||
DebugLog("%s", addr); */
|
DebugLog("%s", addr);
|
||||||
|
|
||||||
KernLog("\nGoodbye!");
|
KernLog("\nGoodbye!");
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
//----------------------------------------------------------------------------//
|
//----------------------------------------------------------------------------//
|
||||||
// GNU GPL OS/K //
|
// GNU GPL OS/K //
|
||||||
// //
|
// //
|
||||||
// Desc: Basic Read Only Keyboard Driver //
|
// Desc: Basic Read Only Keyboard Driver //
|
||||||
// //
|
// //
|
||||||
// //
|
// //
|
||||||
// Copyright © 2018-2019 The OS/K Team //
|
// Copyright © 2018-2019 The OS/K Team //
|
||||||
|
@ -40,7 +40,7 @@ uchar KeybHandler(void)
|
||||||
uchar code;
|
uchar code;
|
||||||
|
|
||||||
// write EOI
|
// write EOI
|
||||||
outb(0x20, 0x20);
|
IoWriteByteOnPort(0x20, 0x20);
|
||||||
|
|
||||||
status = IoReadByteFromPort(KeybStatusPort);
|
status = IoReadByteFromPort(KeybStatusPort);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue