Jumping into DBR, needed to know where itself is.
I unassembled my win7 DBR and got
; (ds=0x07C0)
eax = [11](rootcnt) + [1C](hidden sector in dos, 800L)
push ds 0L eax(address) es bx(buffer) 1(count) 10(sizeofpack)
int 13, ah=42, dl=[0E], ds=ss, si=sp
pop ecx(size&count) bx dx(buffer) ecx ecx ds
which means that the place is written into the DBR?(This is the first time when [1C] appear) So the partition can't be simply moved to another place without editing the DBR? Is there any way to get the place instead of using the stored value?[/code]