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

This commit is contained in:
aaron 2017-05-17 12:34:30 +00:00
parent a62bc4983a
commit 2ba7577506

View File

@ -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;