git-svn-id: https://spexeah.com:8443/svn/Asuro@44 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
a62bc4983a
commit
2ba7577506
@ -7,6 +7,12 @@ uses
|
||||
console,
|
||||
IDT;
|
||||
|
||||
type
|
||||
pp_void : procedure();
|
||||
|
||||
var
|
||||
proc_ptr : pp_void;
|
||||
|
||||
procedure register();
|
||||
|
||||
implementation
|
||||
@ -14,6 +20,9 @@ implementation
|
||||
procedure Main; interrupt; //IRQ0, called every 55ms
|
||||
begin
|
||||
CLI;
|
||||
if(proc_ptr <> nil) then begin
|
||||
proc_ptr();
|
||||
end;
|
||||
outb($0020, $20);
|
||||
end;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user