Skip to content

Commit

Permalink
Disable splashscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgian committed Jul 13, 2023
1 parent 38ec552 commit e893fb1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 5 additions & 6 deletions bootloader/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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...");
Expand Down

0 comments on commit e893fb1

Please sign in to comment.