2024-03-31 10:27:15 +00:00
|
|
|
#+TITLE: StupidOS Bootloader
|
|
|
|
|
|
|
|
#+begin_src
|
|
|
|
0x100000 +-----------------------+
|
|
|
|
| |
|
|
|
|
| Reserved |
|
|
|
|
| |
|
|
|
|
0x080000 +-----------------------+
|
|
|
|
| |
|
|
|
|
| Kernel preload |
|
|
|
|
| |
|
|
|
|
0x00F000 +-----------------------+
|
|
|
|
| |
|
|
|
|
| buffer |
|
|
|
|
| |
|
|
|
|
0x008000 +-----------------------+
|
|
|
|
| |
|
|
|
|
| bootsector |
|
|
|
|
| |
|
|
|
|
0x007000 +-----------------------+
|
|
|
|
| |
|
|
|
|
| Real mode stack |
|
|
|
|
| |
|
|
|
|
0x006000 +-----------------------+
|
|
|
|
| |
|
|
|
|
| stpdldr.sys |
|
|
|
|
| |
|
|
|
|
0x001000 +-----------------------+
|
|
|
|
| |
|
|
|
|
| Reserved (BIOS & IVT) |
|
|
|
|
| |
|
|
|
|
0x000000 +-----------------------+
|
|
|
|
#+end_src
|