git-svn-id: https://spexeah.com:8443/svn/Asuro@73 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
6eeb5c2dc3
commit
6b2f0220fd
@ -36,6 +36,14 @@ end;
|
|||||||
|
|
||||||
procedure register();
|
procedure register();
|
||||||
begin
|
begin
|
||||||
|
asm
|
||||||
|
mov al, $36
|
||||||
|
out $46, al
|
||||||
|
mov ax, 1165
|
||||||
|
out $40, al
|
||||||
|
mov al, ah
|
||||||
|
out $40, al
|
||||||
|
end;
|
||||||
IDT.set_gate(32, uint32(@Main), $08, ISR_RING_0);
|
IDT.set_gate(32, uint32(@Main), $08, ISR_RING_0);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -28,8 +28,10 @@ begin
|
|||||||
outb($A1, $02);
|
outb($A1, $02);
|
||||||
outb($21, $01);
|
outb($21, $01);
|
||||||
outb($A1, $01);
|
outb($A1, $01);
|
||||||
|
|
||||||
outb($21, $00);
|
outb($21, $00);
|
||||||
outb($A1, $00);
|
outb($A1, $00);
|
||||||
|
|
||||||
console.writestringln('IRQ: INIT END.');
|
console.writestringln('IRQ: INIT END.');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user