diff --git a/Asuro.iso b/Asuro.iso index e2fbc54b..5adbf2e3 100644 Binary files a/Asuro.iso and b/Asuro.iso differ diff --git a/bin/kernel.bin b/bin/kernel.bin index cd1a4ea1..4aa7706d 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 cd1a4ea1..4aa7706d 100755 Binary files a/iso/boot/asuro.bin and b/iso/boot/asuro.bin differ diff --git a/lib/asuro.ppu b/lib/asuro.ppu index cab224d8..9175463c 100644 Binary files a/lib/asuro.ppu and b/lib/asuro.ppu differ diff --git a/lib/kernel.ppu b/lib/kernel.ppu index 7d44dae6..004e7e20 100644 Binary files a/lib/kernel.ppu and b/lib/kernel.ppu differ diff --git a/lib/libpconsole.a b/lib/libpconsole.a index 27044604..f6f7c831 100644 Binary files a/lib/libpconsole.a and b/lib/libpconsole.a differ diff --git a/lib/libpmultiboot.a b/lib/libpmultiboot.a index f2e8b856..3ccd3fc1 100644 Binary files a/lib/libpmultiboot.a and b/lib/libpmultiboot.a differ diff --git a/lib/libpsystem.a b/lib/libpsystem.a index 99f49234..95c563e5 100644 Binary files a/lib/libpsystem.a and b/lib/libpsystem.a differ diff --git a/lib/splash.ppu b/lib/splash.ppu index 61666bfe..9fcbe7ae 100644 Binary files a/lib/splash.ppu and b/lib/splash.ppu differ diff --git a/src/prog/splash.pas b/src/prog/splash.pas index fdcbc534..56243f50 100644 --- a/src/prog/splash.pas +++ b/src/prog/splash.pas @@ -3,7 +3,7 @@ unit splash; interface uses - console, keyboard; + console, keyboard, RTC; procedure init(); @@ -11,8 +11,9 @@ implementation var Splash_Handle : HWND; - Tick : uint32; + Seconds : uint32 = 0; Colors : uint32; + Delta : uint32 = 0; Loops : uint32 = 0; procedure quit(); @@ -28,12 +29,14 @@ end; procedure animate(); var - Delta : uint32; + DateTime : TDateTime; begin - inc(Tick); - Delta:= Tick div 100; - Delta:= Delta mod 15; + DateTime:= getDateTime; + if DateTime.Seconds <> Seconds then begin + inc(Delta); + Seconds:= DateTime.Seconds; + end; ClearWNDEx(Splash_Handle, Colors); if Delta > 1 then begin setCursorPosWND(45, 27, Splash_Handle); @@ -67,7 +70,11 @@ begin setCursorPosWND(45, 34, Splash_Handle); writestringExWND('d8'' `8b `"YbbdP"'' `"YbbdP''Y8 88 `"YbbdP"''', Colors, Splash_Handle); end; - if Tick > 2100 then begin + if Delta > 9 then begin + Inc(Loops); + Delta:= 1; + end; + if Loops > 2 then begin quit(); end; end;