diff --git a/Asuro.iso b/Asuro.iso index de431f90..a8846e68 100644 Binary files a/Asuro.iso and b/Asuro.iso differ diff --git a/bin/kernel.bin b/bin/kernel.bin index f6fbb711..08a538d2 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 f6fbb711..08a538d2 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 5e94e960..f4586ad0 100644 Binary files a/lib/kernel.ppu and b/lib/kernel.ppu differ diff --git a/lib/libpconsole.a b/lib/libpconsole.a index 49cf65ca..bc8147df 100644 Binary files a/lib/libpconsole.a and b/lib/libpconsole.a differ diff --git a/lib/libpmultiboot.a b/lib/libpmultiboot.a index 3d34f6e5..a501fa1c 100644 Binary files a/lib/libpmultiboot.a and b/lib/libpmultiboot.a differ diff --git a/lib/libpsystem.a b/lib/libpsystem.a index 5fa75e15..0a519043 100644 Binary files a/lib/libpsystem.a and b/lib/libpsystem.a differ diff --git a/src/driver/AHCI.pas b/src/driver/AHCI.pas index f80b0c5a..4c251c1e 100644 --- a/src/driver/AHCI.pas +++ b/src/driver/AHCI.pas @@ -363,13 +363,13 @@ begin cmdfis^.count_low := count and $FF; cmdfis^.count_high:= (count shr 8) and $FF; - while (port^.tfd and $88) and spin < 1000000 do begin + {while (port^.tfd and $88) and (spin < 1000000) do begin spin += 1; end; if spin = 1000000 then begin console.writestringln('AHCI controller: port is hung!'); - exit(false); + exit; end; port^.ci := 1 shl slot; @@ -378,16 +378,16 @@ begin if(port^.ci and (1 shl slot)) = 0 then break; if(port^.istat and (1 shl 30)) then begin console.writestringln('AHCI controller: Disk read error!'); - exit(false); + exit; end; end; if(port^.istat and (1 shl 30)) then begin console.writestringln('AHCI controller: Disk read error!'); - exit(false); + exit; end; - exit(true); + exit;} end; function write(port : uint8; startl : uint32; starth : uint32; count : uint32; buf : PuInt16) : uint32;