From e893fb1d7c3fb75e4bb2d0c8981364b6c8742b07 Mon Sep 17 00:00:00 2001 From: mrgian Date: Thu, 13 Jul 2023 10:31:52 +0200 Subject: [PATCH] Disable splashscreen --- Makefile | 2 +- bootloader/src/main.rs | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index e3a7423..9cfc17c 100644 --- a/Makefile +++ b/Makefile @@ -85,7 +85,7 @@ clean: .PHONY: run run: all @echo "Running Felix..." - @qemu-system-i386 -debugcon stdio -drive file=build/disk.img,index=0,media=disk,format=raw,if=ide + @qemu-system-i386 -drive file=build/disk.img,index=0,media=disk,format=raw,if=ide .PHONY: debug debug: all diff --git a/bootloader/src/main.rs b/bootloader/src/main.rs index d7d3545..a47297d 100644 --- a/bootloader/src/main.rs +++ b/bootloader/src/main.rs @@ -32,12 +32,11 @@ fn panic(info: &PanicInfo) -> ! { #[no_mangle] #[link_section = ".start"] pub extern "C" fn _start() -> ! { - clear!(); - - splash::splash(); - - wait_for_key(); - clear!(); + //uncomment to enable splashscreen + //clear!(); + //splash::splash(); + //wait_for_key(); + //clear!(); //unreal mode is needed because diskreader needs to copy from buffer to protected mode memory println!("[!] Switching to 16bit unreal mode...");