view README @ 110:9e552d34bd60

Work on compiler
author Windel Bouwman
date Fri, 04 Jan 2013 15:25:58 +0100
parents e47bfef80baf
children
line wrap: on
line source

= Project goals =
* To write a microkernel sort of OS.
* Write the kernel in C ('cos')
* Write a kernel in oberon like language and be able to compile this with the ide.
* Create python scripts that form the major part of the OS.
* Make IDE in python that can compile the OS.

= Directory structure =
'os' contains the os written in oberon like language.
'ide' contains the python3 qt4 ide to build the os.
'cos' contains the os written in C and assembler.

= Software required =
  * python3
  * pyqt4
Optional:
  * bochs
  * nasm

= How to start the IDE =

$ cd ide
$ python runide.py

= About the C version of the OS =

To build the C kernel, enter:
$ cd cos
$ make

Running the OS with bochs:
$ bochs -q

Running the OS with kvm:
$ kvm -fda bootdisk.img
or:
$ qemu-kvm -fda bootdisk.img

required tools:
- bochs: for simulating the OS
- mtools: for copying files to the bootdisk
- nasm: for assembler instructions
- gcc: for compiling the C sources
- make: for building the system
- python 3: for building the initial ramdisk

Enjoy!