summaryrefslogtreecommitdiffstats
path: root/README.md
blob: 9736ee07b165e92cf42839394e256d678933cee0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
## Object Operating System

----

## Install dependencies

#### Ubuntu

```sh
sudo apt update -y
sudo apt -y install build-essential binutils nasm xorriso grub-common qemu-system-i386 mtools
```

Need build GCC cross compiler for i686 architecture to compile project sources.
Refer to GCC documentation for detailed information - <https://gcc.gnu.org/install/>

## Build and run

#### Ubuntu

Build and run release version
```sh
make all
```

Build and run debug version
```sh
make DEBUG=true all
```

## Docs

-   [Link on collection of articles "How startup app without OS"][1]
-   [The GNU GRUB manual][2]
-   [Executable and linkable format ELF][3]
-   [NASM documentation][4]
-   [Article where creating a simple OS][5]
-   [Multiboot specification][6]
-   [GCC compiler documentation][7]
-   [Using NASM in a Hello World kernel][8]
-   [Addres of video memory][9]

[1]:https://habr.com/ru/companies/neobit/articles/173263/
[2]:https://www.gnu.org/software/grub/manual/grub/grub.pdf
[3]:https://www.cs.cmu.edu/afs/cs/academic/class/15213-f00/docs/elf.pdf
[4]:https://www.nasm.us/xdoc/2.16.01/nasmdoc.pdf
[5]:https://wiki.osdev.org/Bare_Bones#Writing_a_kernel_in_C.2B.2B
[6]:https://www.gnu.org/software/grub/manual/multiboot/multiboot.pdf
[7]:https://gcc.gnu.org/onlinedocs/gcc.pdf
[8]:https://wiki.osdev.org/Bare_Bones_with_NASM
[9]:https://stackoverflow.com/questions/17367618/address-of-video-memory