summaryrefslogtreecommitdiff
path: root/README.md
blob: 52a13958d2d535fb62d4028a6caf84301bce12b8 (plain)
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
# bootle

hobby kernel written in rust. It's just for playing around... for now :p

run with `nix run git+https://git.mtgmonkey.net/andromeda/bootler#bootle`

# bootler

hobby bootloader written in asm. It's just for playing around... for now :p

run with `nix run git+https://git.mtgmonkey.net/andromeda/bootler#bootler`

### memory map

```
+------ 0x00100000 ------+
| hardware, bios stuff   |
+------ 0x00080000 ------+
| free                   |
+------ 0x00010200 ------+
| kernel (kernel.asm)    |
+------ 0x00010000 ------+
| free                   |
+------ 0x00007E00 ------+
| bootloader (boot.asm)  |
+------ 0x00007C00 ------+
| stack                  | TODO get real stack
+------ 0x00005000 ------+
| PT                     |
+------ 0x00004000 ------+
| PDT                    |
+------ 0x00003000 ------+
| PDPT                   |
+------ 0x00002000 ------+
| PML4T                  |
+------ 0x00001000 ------+
| free                   |
+------ 0x00000500 ------+
| bios stuff             |
+------ 0x00000000 ------+
```