Keyboard bug traced back to isr33.pas
git-svn-id: https://spexeah.com:8443/svn/Asuro@231 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
1 parent
1c3b6dc059
commit
6a000366a5
13 files changed
+3
-1
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -32,6 +32,8 @@ var
|
|||||||
b : dword;
|
b : dword;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
//writechar('!'); // Bug traces all the way back to here - when the keyboard randomly doesn't work, this inturrupt isn't even called...
|
||||||
|
// This needs further investigation... Is there something that can go wrong when setting up the PIC?
|
||||||
b:= inb($60);
|
b:= inb($60);
|
||||||
//console.writehexln(b);
|
//console.writehexln(b);
|
||||||
for i:=0 to MAX_HOOKS-1 do begin
|
for i:=0 to MAX_HOOKS-1 do begin
|
||||||
|
|||||||
+1
-1
@@ -110,6 +110,7 @@ begin
|
|||||||
console.writestringln('DRIVERS: INIT BEGIN.');
|
console.writestringln('DRIVERS: INIT BEGIN.');
|
||||||
pci.init();
|
pci.init();
|
||||||
keyboard.init(keyboard_layout);
|
keyboard.init(keyboard_layout);
|
||||||
|
keyboard.hook(@temphook);
|
||||||
mouse.init();
|
mouse.init();
|
||||||
console.writestringln('DRIVERS: INIT END.');
|
console.writestringln('DRIVERS: INIT END.');
|
||||||
|
|
||||||
@@ -130,7 +131,6 @@ begin
|
|||||||
console.setdefaultattribute(console.combinecolors(White, Black));
|
console.setdefaultattribute(console.combinecolors(White, Black));
|
||||||
console.writestringln('');
|
console.writestringln('');
|
||||||
console.writestringln('Press any key to boot in to Asuro Terminal...');
|
console.writestringln('Press any key to boot in to Asuro Terminal...');
|
||||||
keyboard.hook(@temphook);
|
|
||||||
util.halt_and_dont_catch_fire;
|
util.halt_and_dont_catch_fire;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user