Cleanup
git-svn-id: https://spexeah.com:8443/svn/Asuro@162 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
e44174227b
commit
54e983e1df
BIN
bin/kernel.bin
BIN
bin/kernel.bin
Binary file not shown.
Binary file not shown.
BIN
lib/kernel.ppu
BIN
lib/kernel.ppu
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/libpsystem.a
BIN
lib/libpsystem.a
Binary file not shown.
Binary file not shown.
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user