git-svn-id: https://spexeah.com:8443/svn/Asuro@162 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
kieron 2017-05-20 23:15:20 +00:00
parent e44174227b
commit 54e983e1df
9 changed files with 12 additions and 11 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.

Binary file not shown.

Binary file not shown.

View File

@ -59,17 +59,6 @@ begin
STI; STI;
isr32.hook(uint32(@bios_data_area.tick_update)); isr32.hook(uint32(@bios_data_area.tick_update));
z:= 1;
while true do begin
console.writehex(z);
console.writestring(': ');
pint:= kalloc(1024*4);
console.writehexln(uint32(pint));
if pint = nil then while true do begin end else pint^:= 1234;
//kfree(pint);
z:=z+1;
end;
//drivers //drivers
keyboard.init(keyboard_layout); keyboard.init(keyboard_layout);
@ -100,6 +89,18 @@ begin
console.writeint(((mbinfo^.mem_upper + 1000) div 1024) + 1); console.writeint(((mbinfo^.mem_upper + 1000) div 1024) + 1);
console.writestringln('MB'); console.writestringln('MB');
console.setdefaultattribute(console.combinecolors(lYellow, Black)); console.setdefaultattribute(console.combinecolors(lYellow, Black));
{z:= 1;
while true do begin
console.writehex(z);
console.writestring(': ');
pint:= kalloc(1024*4);
console.writehexln(uint32(pint));
if pint = nil then while true do begin end else pint^:= 1234;
//kfree(pint);
z:=z+1;
end;}
util.halt_and_dont_catch_fire; util.halt_and_dont_catch_fire;
end; end;