git-svn-id: https://spexeah.com:8443/svn/Asuro@73 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c

This commit is contained in:
aaron 2017-05-17 16:41:16 +00:00
parent 6eeb5c2dc3
commit 6b2f0220fd
2 changed files with 10 additions and 0 deletions

View File

@ -36,6 +36,14 @@ end;
procedure register();
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);
end;

View File

@ -28,8 +28,10 @@ begin
outb($A1, $02);
outb($21, $01);
outb($A1, $01);
outb($21, $00);
outb($A1, $00);
console.writestringln('IRQ: INIT END.');
end;