Mercurial > lcfOS
annotate README @ 80:d1925eb3bbd5
Added hierarchy first things
author | windel |
---|---|
date | Wed, 14 Nov 2012 18:09:32 +0100 |
parents | e47bfef80baf |
children |
rev | line source |
---|---|
9
92ace1ca50a8
64 bits kernel without interrupts but with printf in C
windel
parents:
1
diff
changeset
|
1 = Project goals = |
92ace1ca50a8
64 bits kernel without interrupts but with printf in C
windel
parents:
1
diff
changeset
|
2 * To write a microkernel sort of OS. |
92ace1ca50a8
64 bits kernel without interrupts but with printf in C
windel
parents:
1
diff
changeset
|
3 * Write the kernel in C ('cos') |
92ace1ca50a8
64 bits kernel without interrupts but with printf in C
windel
parents:
1
diff
changeset
|
4 * Write a kernel in oberon like language and be able to compile this with the ide. |
92ace1ca50a8
64 bits kernel without interrupts but with printf in C
windel
parents:
1
diff
changeset
|
5 * Create python scripts that form the major part of the OS. |
92ace1ca50a8
64 bits kernel without interrupts but with printf in C
windel
parents:
1
diff
changeset
|
6 * Make IDE in python that can compile the OS. |
92ace1ca50a8
64 bits kernel without interrupts but with printf in C
windel
parents:
1
diff
changeset
|
7 |
92ace1ca50a8
64 bits kernel without interrupts but with printf in C
windel
parents:
1
diff
changeset
|
8 = Directory structure = |
92ace1ca50a8
64 bits kernel without interrupts but with printf in C
windel
parents:
1
diff
changeset
|
9 'os' contains the os written in oberon like language. |
92ace1ca50a8
64 bits kernel without interrupts but with printf in C
windel
parents:
1
diff
changeset
|
10 'ide' contains the python3 qt4 ide to build the os. |
92ace1ca50a8
64 bits kernel without interrupts but with printf in C
windel
parents:
1
diff
changeset
|
11 'cos' contains the os written in C and assembler. |
92ace1ca50a8
64 bits kernel without interrupts but with printf in C
windel
parents:
1
diff
changeset
|
12 |
1 | 13 = Software required = |
14 * python3 | |
15 * pyqt4 | |
16 Optional: | |
17 * bochs | |
18 * nasm | |
19 | |
20 = How to start the IDE = | |
21 | |
22 $ cd ide | |
23 $ python runide.py | |
24 | |
41 | 25 = About the C version of the OS = |
26 | |
27 To build the C kernel, enter: | |
28 $ cd cos | |
29 $ make | |
30 | |
31 Running the OS with bochs: | |
32 $ bochs -q | |
33 | |
43 | 34 Running the OS with kvm: |
35 $ kvm -fda bootdisk.img | |
36 or: | |
37 $ qemu-kvm -fda bootdisk.img | |
38 | |
41 | 39 required tools: |
40 - bochs: for simulating the OS | |
41 - mtools: for copying files to the bootdisk | |
42 - nasm: for assembler instructions | |
43 - gcc: for compiling the C sources | |
44 - make: for building the system | |
45 - python 3: for building the initial ramdisk | |
46 | |
47 Enjoy! | |
48 |