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

View File

@ -73,7 +73,7 @@ begin
console.writeint(mbinfo^.mem_upper); console.writeint(mbinfo^.mem_upper);
console.writestringln('KB'); console.writestringln('KB');
console.writestring('Total Memory = '); 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'); console.writestringln('MB');
while(true)do begin end; while(true)do begin end;
console.setdefaultattribute(console.combinecolors(lYellow, Black)); console.setdefaultattribute(console.combinecolors(lYellow, Black));