haozixu / os-project

an exprimental OS project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A personal experimental OS project (just for fun :-)

to compile the OS, follow these steps:

check prerequisites:

  • you are using GNU/Linux
  • C and C++ compiler: gcc g++
  • genisoimage: make kernel/OS iso image(a replacement of mkisofs)
  • python: to do some configuration work
  • qemu/bochs: test OS on virtual machines

note: the grub bootloader is also needed, its binary can be found in build/prebuilt-binaries/

instructions

1. compile the kernel and generate a bootable CD image

make all

note: genisoimage is required, if you want to rebuild it, type make rebuild

2. test/debug the OS

test

make run

note: qemu-system-x86_64 is required

make debug

note: bochs debugger is required

About

an exprimental OS project


Languages

Language:C++ 57.3%Language:C 32.4%Language:Assembly 8.3%Language:Makefile 1.3%Language:Python 0.4%Language:Objective-C 0.2%Language:Shell 0.0%