See Last.

git-svn-id: https://spexeah.com:8443/svn/Asuro@86 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
kieron 2017-05-17 23:34:11 +00:00
parent 019f6ccabf
commit 3356302d32
8 changed files with 7 additions and 4 deletions

BIN
Asuro.iso

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -29,14 +29,17 @@ var
procedure Main(); interrupt;
var
i : integer;
begin
b : void;
begin
b:= void(inb($60));
console.writehexln(uint8(b));
for i:=0 to MAX_HOOKS-1 do begin
if uint32(Hooks[i]) <> 0 then begin
Hooks[i](void(inb($60)));
Hooks[i](b);
end;
end;
outb($20, $20);
outb($20, $20);
end;
procedure register();

View File

@ -73,7 +73,7 @@ begin
console.writeint(mbinfo^.mem_upper);
console.writestringln('KB');
console.writestring('Total Memory = ');
console.writeint(((mbinfo^.mem_upper + 1000) div 1024) +1);
console.writeint(((mbinfo^.mem_upper + 1000) div 1024) + 1);
console.writestringln('MB');
while(true)do begin end;
console.setdefaultattribute(console.combinecolors(lYellow, Black));