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

This commit is contained in:
kieron
2018-05-10 10:55:31 +00:00
parent 6a4b950da0
commit 333a95d075
12 changed files with 7 additions and 6 deletions

View File

@ -27,17 +27,18 @@ implementation
var
Hooks : Array[1..MAX_HOOKS] of pp_hook_method;
Registered : boolean = false;
v : uint32 = 0;
procedure Main; //IRQ0, 1024.19hz aprox
var
i : integer;
regs : PRegisters;
begin
CLI;
asm
MOV EAX, EBP
MOV Regs, EAX
inc(v);
if v = 1024 then begin
console.redrawWindows;
v:= 0;
end;
for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then begin