IRQ Stuff
git-svn-id: https://spexeah.com:8443/svn/Asuro@66 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
19
src/irq.pas
19
src/irq.pas
@ -10,6 +10,7 @@
|
||||
unit irq;
|
||||
|
||||
interface
|
||||
|
||||
uses util;
|
||||
|
||||
procedure init();
|
||||
@ -18,14 +19,16 @@ implementation
|
||||
|
||||
procedure init();
|
||||
begin
|
||||
outb($0020, $11);
|
||||
outb($00A0, $11);
|
||||
outb($0021, $20);
|
||||
outb($00A1, $28);
|
||||
outb($0021, $04);
|
||||
outb($00A1, $02);
|
||||
outb($0021, $01);
|
||||
outb($00A1, $01);
|
||||
outb($20, $11);
|
||||
outb($A0, $11);
|
||||
outb($21, $20);
|
||||
outb($A1, $28);
|
||||
outb($21, $04);
|
||||
outb($A1, $02);
|
||||
outb($21, $01);
|
||||
outb($A1, $01);
|
||||
outb($21, $00);
|
||||
outb($A1, $00);
|
||||
end;
|
||||
|
||||
end.
|
Reference in New Issue
Block a user