blob: 74acca9306ac5596badccfa2f3449a34d742d882 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# bootler
hobby bootloader written in asm. It's just for playing around... for now :p
### memory map
+------ 0x00100000 ------+
| hardware, bios stuff |
+------ 0x00080000 ------+
| pm stack (esp) | from boot.asm
+------ 0x00010200 ------+
| kernel (kernel.asm) |
+------ 0x00010000 ------+
| free |
+------ 0x00007E00 ------+
| bootloader (boot.asm) |
+------ 0x00007C00 ------+
| real mode stack (sp) | from boot.asm
+------ 0x00000500 ------+
| bios stuff |
+------ 0x00000000 ------+
|