diff --git a/.DS_Store b/.DS_Store index 3e14859..f3699de 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.gitignore b/.gitignore index e558c71..664f775 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,5 @@ limine 2/limine.exe boredos.dump qemu-debug.log build/ +iso_root/ +limine diff --git a/Makefile b/Makefile index 7088805..802f6f7 100644 --- a/Makefile +++ b/Makefile @@ -108,6 +108,7 @@ $(ISO_IMAGE): $(KERNEL_ELF) limine.conf limine-setup # Copy Wallpaper (if it exists) @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) cp limine/limine-bios.sys $(ISO_DIR)/ diff --git a/boredos.iso b/boredos.iso new file mode 100644 index 0000000..8d91f88 Binary files /dev/null and b/boredos.iso differ diff --git a/disk.img b/disk.img index 0236a21..5c027e9 100644 Binary files a/disk.img and b/disk.img differ diff --git a/limine.conf b/limine.conf index 7cba8f4..f1bca17 100644 --- a/limine.conf +++ b/limine.conf @@ -1,7 +1,13 @@ 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 protocol: limine kernel_path: boot():/boredos.elf - #resolution: 1280x720 diff --git a/linker.ld b/linker.ld index ea360c0..64c0aa4 100644 --- a/linker.ld +++ b/linker.ld @@ -15,6 +15,12 @@ SECTIONS *(.rodata*) } + .requests : { + KEEP(*(.requests_start)) + KEEP(*(.requests)) + KEEP(*(.requests_end)) + } + .data : { *(.data*) } @@ -24,14 +30,6 @@ SECTIONS *(.bss*) } - /* Limine requests section */ - .requests : { - KEEP(*(.requests_start)) - KEEP(*(.requests)) - KEEP(*(.requests_end)) - } - - /* Discard unnecessary sections */ /DISCARD/ : { *(.eh_frame) *(.note .note.*) diff --git a/splash.jpg b/splash.jpg new file mode 100644 index 0000000..1e30504 Binary files /dev/null and b/splash.jpg differ