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:
parent
1c3b6dc059
commit
6a000366a5
BIN
bin/kernel.bin
BIN
bin/kernel.bin
Binary file not shown.
Binary file not shown.
BIN
lib/isr33.ppu
BIN
lib/isr33.ppu
Binary file not shown.
BIN
lib/kernel.ppu
BIN
lib/kernel.ppu
Binary file not shown.
BIN
lib/keyboard.ppu
BIN
lib/keyboard.ppu
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/libpsystem.a
BIN
lib/libpsystem.a
Binary file not shown.
BIN
lib/mouse.ppu
BIN
lib/mouse.ppu
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
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user