Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 911 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 911 Bytes

i686-os

Toy OS for i686 arch

Usage

make # builds .iso and runs qemu
make clean build # builds .iso
make clean build run_debug # builds .iso and runs qemu with gdb stub

Features

  • Multiboot 2 compliant
  • Graphics mode (VESA)
  • Flat memory model

Hardware requirements

  • Should support graphics mode and linear framebuffer

Useful debugging cmds

objdump -D kernel.o -M intel
objdump -s kernel.o -M intel
readelf -W -s kernel.o		// -W tells not to truncate names
g++ -O0
g++ -S -masm=intel -o kernel.asm

Other useful stuff

TODO

  • Change #define to const where appropriate