Skip to content

smfsh/fishix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatic Build

make -- build the final image to write to a storage medium

make run -- run final image in the qemu emulator

Manual Build Commands

i686-elf-gcc -ffreestanding -c kernel/kernel.c -o kernel.o
nasm boot/kernel_entry.asm -f elf -o kernel_entry.o
i686-elf-ld -o kernel.bin -Ttext 0x1000 kernel_entry.o kernel.o --oformat binary
nasm boot/boot.asm -f bin -o boot.bin
cat boot.bin kernel.bin > os-image.bin
qemu-system-i386 -fda os-image.bin

Arch Linux Dependencies for Compilation

  • i686-elf-binutils
  • i686-elf-gcc
  • gdb-multiarch
  • qemu-arch-extra
  • nasm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published