A W.I.P 64 Bit OS Kernel
You will need to install the following arch packages to compile (Non inclusive, More testing needs to be done)
- base-devel
- python3
- qemu-desktop
- edk2-ovmf
- limine
You will need to run the get-deps script before starting
Compile with make
Run and compile with make run
Run and compile and generate symbols (Compiles twice) with make debug
-DMUTE_KERNEL_PANIC: Disables the 1khz tone played on a kernel panic for when doing active work on the kernel
Add these flags to the GNUmakefile CFLAGS section
This kernel is designed to be able to run on REAL hardware if it meets the following requirements
- x86-64 CPU
- 512MB Memory
- A 1280x720 or higher monitor (1920x1080 recommended)
- A PS/2 keyboard
- A PC speaker
Copy the EFI folder and limine.conf and kernel.elf and initramfs.tar to the root of a GPT formatted USB stick with the boot and esp flags set and then boot to it
TEST: Prints a test messageCREDITS: Prints credits.txtCLEAR: Clears the terminal (ALIAS:CLS)CLEARFB: Clears the framebufer (ALIAS:CLSFB)MMAP: Prints the memory map provided by the bootloaderPANIC: Causes a kernel panicFAULT: Causes a Page Fault to panic with extended infoBADAPPLE: Plays the Bad Apple demo inside userspace