diff --git a/Asuro.iso b/Asuro.iso index 6df257fc..2a7d8ac3 100644 Binary files a/Asuro.iso and b/Asuro.iso differ diff --git a/bin/kernel.bin b/bin/kernel.bin index 65c93a9c..bbf21804 100755 Binary files a/bin/kernel.bin and b/bin/kernel.bin differ diff --git a/iso/boot/asuro.bin b/iso/boot/asuro.bin index 65c93a9c..bbf21804 100755 Binary files a/iso/boot/asuro.bin and b/iso/boot/asuro.bin differ diff --git a/lib/kernel.ppu b/lib/kernel.ppu index 605e8b7a..ce204ac4 100644 Binary files a/lib/kernel.ppu and b/lib/kernel.ppu differ diff --git a/lib/libpconsole.a b/lib/libpconsole.a index d773c64b..7d430c6e 100644 Binary files a/lib/libpconsole.a and b/lib/libpconsole.a differ diff --git a/lib/libpmultiboot.a b/lib/libpmultiboot.a index a9259244..d5b93d6b 100644 Binary files a/lib/libpmultiboot.a and b/lib/libpmultiboot.a differ diff --git a/lib/libpsystem.a b/lib/libpsystem.a index b2554822..b2c075e6 100644 Binary files a/lib/libpsystem.a and b/lib/libpsystem.a differ diff --git a/lib/lists.ppu b/lib/lists.ppu index b8871da3..e89cc3fe 100644 Binary files a/lib/lists.ppu and b/lib/lists.ppu differ diff --git a/src/kernel.pas b/src/kernel.pas index 9227b65d..2540d1cf 100644 --- a/src/kernel.pas +++ b/src/kernel.pas @@ -163,8 +163,6 @@ begin console.writestringln(''); console.writestringln('Press any key to boot in to Asuro Terminal...'); - LL_TEST(); - keyboard.hook(@temphook); util.halt_and_dont_catch_fire; diff --git a/src/lists.pas b/src/lists.pas index cb0eb237..437741d1 100644 --- a/src/lists.pas +++ b/src/lists.pas @@ -4,7 +4,8 @@ interface uses console, - lmemorymanager; + lmemorymanager, + util; type { Managed Linked List } @@ -56,6 +57,7 @@ begin Element^.Previous:= nil; Element^.Next:= nil; Element^.Data:= kalloc(LinkedList^.ElementSize); + memset(uint32(Element^.Data), 0, LinkedList^.ElementSize); LinkedList^.Head:= Element; LinkedList^.Count:= LinkedList^.Count + 1; LL_Add:= Element^.Data; @@ -71,6 +73,7 @@ begin Element^.Previous:= Base; Element^.Next:= nil; Element^.Data:= kalloc(LinkedList^.ElementSize); + memset(uint32(Element^.Data), 0, LinkedList^.ElementSize); LinkedList^.Count:= LinkedList^.Count + 1; LL_Add:= Element^.Data; end; @@ -135,6 +138,7 @@ begin Next:= Base; Element:= PLinkedList(kalloc(sizeof(TLinkedList))); Element^.Data:= kalloc(LinkedList^.ElementSize); + memset(uint32(Element^.Data), 0, LinkedList^.ElementSize); Element^.Previous:= Prev; Element^.Next:= Next; if Prev = nil then begin @@ -192,7 +196,6 @@ begin Str[2]:= 'L'; Str[3]:= 'L'; Str[4]:= 'O'; - Str[5]:= Char(0); Elem:= LL_Add(LList); Str:= PChar(Elem); Str[0]:= 'W'; @@ -200,14 +203,12 @@ begin Str[2]:= 'R'; Str[3]:= 'L'; Str[4]:= 'D'; - Str[5]:= Char(0); Elem:= LL_Add(LList); Str:= PChar(Elem); Str[0]:= 'T'; Str[1]:= 'E'; Str[2]:= 'S'; Str[3]:= 'T'; - Str[4]:= Char(0); for i:=0 to LL_Size(LList)-1 do begin console.writestringln(PChar(LL_Get(LList, i)));