flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > OS Construction > Getting the information of a partition

Author
Thread Post new topic Reply to topic
l4m2



Joined: 15 Jan 2015
Posts: 588
Getting the information of a partition
Jumping into DBR, needed to know where itself is.
I unassembled my win7 DBR and got

Code:
; (ds=0x07C0)
  eax = [11](rootcnt) + [1C](hidden sector in dos800L)
  push ds 0L eax(addresses bx(buffer1(count10(sizeofpack)
  int 13ah=42dl=[0E], ds=sssi=sp
  pop ecx(size&countbx dx(bufferecx 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]
Post 28 Jun 2016, 09:29
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.