nasm - boot loader disk buffer -


recently found simple source code of bootloader.the following simple 1 stage boot loader

bits 16 org 0x7c00 start:    mov ax,07c0h    add ax, 288    mov ss,ax    mov sp,4096    ...    ... 

from mikeos
memory layout reserve 4kb disk buffer.
this:
start 0x7c00

|mbr(512)........|4kb disk buffer............|4kb stack .....| 

what don't understand why disk buffer needed? can helps me. sorry stupid question, google long time , can not want.

the simple answer disk buffer used load first root directory , file allocation table in order load named file root directory.

the happy answer latest code available @ mikeos website.


Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -