This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
my_mbr [2017/03/27 10:21] admin |
my_mbr [2017/03/27 10:36] (current) admin |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| =====My MBR===== | =====My MBR===== | ||
| - | I'm using NASM to write my [[real mode]] code, and I use file extension "nasm" to separate them from other assembler files. This makes the build process able to automatically select the correct assembler. | + | I'm using NASM to write my [[real mode]] code, and I use file extension "nasm" to separate them from other assembler files. This makes the build process able to automatically select the correct assembler.\\ |
| + | \\ | ||
| + | **Current state:**\\ | ||
| + | 1. Copy 512 bytes to new location.\\ | ||
| + | 2. Load 64-bit set-up code.\\ | ||
| + | 3. Load kernel loader.\\ | ||
| + | 4. Execute 64-bit set-up code.\\ | ||
| + | |||
| + | Function ''seek'': Convert absolute sector number into CHS values directly acceptable for INT13h (AH=02). | ||
| <file asm> | <file asm> | ||
| [bits 16] | [bits 16] | ||