44 lines
1.0 KiB
Markdown
44 lines
1.0 KiB
Markdown
# bootler
|
|
|
|
hobby bootloader, 1-stage, legacy mode :p
|
|
|
|
run with `nix run git+https://git.mtgmonkey.net/andromeda/bootler#bootler`
|
|
|
|
### memory map
|
|
|
|
```
|
|
. .
|
|
: :
|
|
| longmode kernel |
|
|
+------ 0x00010000 ------+
|
|
| |
|
|
| |
|
|
+------ 0x00009000 ------+
|
|
| IDT |
|
|
+------ 0x00008000 ------+
|
|
| |
|
|
| |
|
|
+------ 0x00007E00 ------+
|
|
| bootloader (boot.asm) |
|
|
+------ 0x00007C00 ------+
|
|
| stack |
|
|
+------ 0x00005000 ------+
|
|
| PT |
|
|
+------ 0x00004000 ------+
|
|
| PDT |
|
|
+------ 0x00003000 ------+
|
|
| PDPT |
|
|
+------ 0x00002000 ------+
|
|
| PML4T |
|
|
+------ 0x00001000 ------+
|
|
| |
|
|
| |
|
|
+------ 0x00000500 ------+
|
|
| bios stuff |
|
|
+------ 0x00000000 ------+
|
|
```
|
|
|
|
---
|
|
|
|
this project follows [Common Changelog](https://common-changelog.org) guidelines
|