Mercurial > lcfOS
annotate README.md @ 208:4cb47d80fd1f
Added zcc test
author | Windel Bouwman |
---|---|
date | Sat, 29 Jun 2013 10:06:58 +0200 |
parents | 1113da536872 |
children | 003c8a976fff |
rev | line source |
---|---|
187 | 1 |
2 | |
188 | 3 # Project goals |
9
92ace1ca50a8
64 bits kernel without interrupts but with printf in C
windel
parents:
1
diff
changeset
|
4 * To write a microkernel sort of OS. |
92ace1ca50a8
64 bits kernel without interrupts but with printf in C
windel
parents:
1
diff
changeset
|
5 * Write the kernel in C ('cos') |
92ace1ca50a8
64 bits kernel without interrupts but with printf in C
windel
parents:
1
diff
changeset
|
6 * 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
|
7 * 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
|
8 * 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
|
9 |
188 | 10 Status badge: |
11 | |
12 [![Build Status](https://drone.io/bitbucket.org/windel/lcfos/status.png)](https://drone.io/bitbucket.org/windel/lcfos/latest) | |
13 | |
14 # Directory structure | |
15 | |
9
92ace1ca50a8
64 bits kernel without interrupts but with printf in C
windel
parents:
1
diff
changeset
|
16 '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
|
17 '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
|
18 '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
|
19 |
188 | 20 # Software dependencies |
1 | 21 * python3 |
22 * pyqt4 | |
23 Optional: | |
24 * bochs | |
25 * nasm | |
26 | |
188 | 27 # How to start the IDE |
1 | 28 |
29 $ cd ide | |
30 $ python runide.py | |
31 | |
41 | 32 = About the C version of the OS = |
33 | |
34 To build the C kernel, enter: | |
35 $ cd cos | |
36 $ make | |
37 | |
38 Running the OS with bochs: | |
39 $ bochs -q | |
40 | |
43 | 41 Running the OS with kvm: |
42 $ kvm -fda bootdisk.img | |
43 or: | |
44 $ qemu-kvm -fda bootdisk.img | |
45 | |
41 | 46 required tools: |
47 - bochs: for simulating the OS | |
48 - mtools: for copying files to the bootdisk | |
49 - nasm: for assembler instructions | |
50 - gcc: for compiling the C sources | |
51 - make: for building the system | |
52 - python 3: for building the initial ramdisk | |
53 | |
54 Enjoy! | |
55 |