https://github.com/emrd/emros
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/emrd/emros
- Owner: EmrD
- Created: 2024-09-01T21:14:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-02T21:13:18.000Z (almost 2 years ago)
- Last Synced: 2025-02-22T06:26:08.788Z (over 1 year ago)
- Language: C
- Size: 3.85 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
gcc -m32 -ffreestanding -O2 -nostdlib -c kernel.c -o kernel.o
gcc -m32 -ffreestanding -O2 -nostdlib -c vga.c -o vga.o
ld -m elf_i386 -T linker.ld -o kernel.bin -e _start boot.o kernel.o vga.o
mkdir -p iso/boot/grub
cp kernel.bin iso/boot/kernel.bin
cat > iso/boot/grub/grub.cfg << EOF
menuentry "EmrOS" {
multiboot /boot/kernel.bin
boot
}
EOF
grub-mkrescue -o EmrOS.iso iso
qemu-system-i386 -cdrom EmrOS.iso