mirror of
https://gitlab.os-k.eu/os-k-team/os-k.git
synced 2023-08-25 14:03:10 +02:00
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();
|
||||
KeEnableIRQs();
|
||||
|
||||
/* // Test Page Fault
|
||||
// Test Page Fault
|
||||
long addr = -1;
|
||||
DebugLog("%s", addr); */
|
||||
DebugLog("%s", addr);
|
||||
|
||||
KernLog("\nGoodbye!");
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user