mirror of
https://github.com/BoredDevNL/BoredOS.git
synced 2026-05-13 01:48:42 +00:00
Fancier limine and WAY faster boot
This commit is contained in:
parent
34ceff4290
commit
a34aaa1070
8 changed files with 16 additions and 9 deletions
BIN
.DS_Store
vendored
BIN
.DS_Store
vendored
Binary file not shown.
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -21,3 +21,5 @@ limine 2/limine.exe
|
||||||
boredos.dump
|
boredos.dump
|
||||||
qemu-debug.log
|
qemu-debug.log
|
||||||
build/
|
build/
|
||||||
|
iso_root/
|
||||||
|
limine
|
||||||
|
|
|
||||||
1
Makefile
1
Makefile
|
|
@ -108,6 +108,7 @@ $(ISO_IMAGE): $(KERNEL_ELF) limine.conf limine-setup
|
||||||
|
|
||||||
# Copy Wallpaper (if it exists)
|
# Copy Wallpaper (if it exists)
|
||||||
@if [ -f src/kernel/wallpaper.ppm ]; then cp src/kernel/wallpaper.ppm $(ISO_DIR)/; fi
|
@if [ -f src/kernel/wallpaper.ppm ]; then cp src/kernel/wallpaper.ppm $(ISO_DIR)/; fi
|
||||||
|
@if [ -f splash.jpg ]; then cp splash.jpg $(ISO_DIR)/; fi
|
||||||
|
|
||||||
# Copy Limine Bootloader Files (flat structure in binary branch)
|
# Copy Limine Bootloader Files (flat structure in binary branch)
|
||||||
cp limine/limine-bios.sys $(ISO_DIR)/
|
cp limine/limine-bios.sys $(ISO_DIR)/
|
||||||
|
|
|
||||||
BIN
boredos.iso
Normal file
BIN
boredos.iso
Normal file
Binary file not shown.
BIN
disk.img
BIN
disk.img
Binary file not shown.
|
|
@ -1,7 +1,13 @@
|
||||||
timeout: 3
|
timeout: 3
|
||||||
|
|
||||||
|
# Graphics mode and Splash screen
|
||||||
|
term_palette: ffffff;ffffff;ffffff;ffffff;ffffff;ffffff;ffffff;ffffff;ffffff;ffffff;ffffff;ffffff;ffffff;ffffff;ffffff;ffffff
|
||||||
|
term_background: #00000000
|
||||||
|
# Hide terminal by placing it out of view or making it very small initially if possible,
|
||||||
|
# but Limine's wallapper will be the main background.
|
||||||
|
wallpaper: boot():/splash.jpg
|
||||||
|
|
||||||
/BoredOS
|
/BoredOS
|
||||||
protocol: limine
|
protocol: limine
|
||||||
|
|
||||||
kernel_path: boot():/boredos.elf
|
kernel_path: boot():/boredos.elf
|
||||||
#resolution: 1280x720
|
|
||||||
|
|
|
||||||
14
linker.ld
14
linker.ld
|
|
@ -15,6 +15,12 @@ SECTIONS
|
||||||
*(.rodata*)
|
*(.rodata*)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.requests : {
|
||||||
|
KEEP(*(.requests_start))
|
||||||
|
KEEP(*(.requests))
|
||||||
|
KEEP(*(.requests_end))
|
||||||
|
}
|
||||||
|
|
||||||
.data : {
|
.data : {
|
||||||
*(.data*)
|
*(.data*)
|
||||||
}
|
}
|
||||||
|
|
@ -24,14 +30,6 @@ SECTIONS
|
||||||
*(.bss*)
|
*(.bss*)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Limine requests section */
|
|
||||||
.requests : {
|
|
||||||
KEEP(*(.requests_start))
|
|
||||||
KEEP(*(.requests))
|
|
||||||
KEEP(*(.requests_end))
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Discard unnecessary sections */
|
|
||||||
/DISCARD/ : {
|
/DISCARD/ : {
|
||||||
*(.eh_frame)
|
*(.eh_frame)
|
||||||
*(.note .note.*)
|
*(.note .note.*)
|
||||||
|
|
|
||||||
BIN
splash.jpg
Normal file
BIN
splash.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
Loading…
Reference in a new issue