See Last.
git-svn-id: https://spexeah.com:8443/svn/Asuro@86 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
019f6ccabf
commit
3356302d32
BIN
bin/kernel.bin
BIN
bin/kernel.bin
Binary file not shown.
Binary file not shown.
BIN
lib/isr33.ppu
BIN
lib/isr33.ppu
Binary file not shown.
BIN
lib/kernel.ppu
BIN
lib/kernel.ppu
Binary file not shown.
BIN
lib/libpkernel.a
BIN
lib/libpkernel.a
Binary file not shown.
@ -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();
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user