Re: MBR
- From: Randy Howard <randyhoward@xxxxxxxxxxxxxxxxx>
- Date: Tue, 29 Nov 2005 21:34:17 GMT
Bill Cunningham wrote
(in article <N63jf.11891$KZ2.2169@trnddc05>):
>
> "Sc0rpi0" <sc0rpi0@xxxxxxxxxxxxxx> wrote in message
> news:dmgvqq$ijo$1@xxxxxxxxxxxxxxxxxxxx
>> Bill Cunningham uderzy³(a) g³ow± w klawiaturê i wysz³o takie co¶:
>>
>>>> And single partition descriptior draft is easy to find with Google.
>>
>> So search the net. Some example:
>>
>> http://www.dewassoc.com/kbase/hard_drives/master_boot_record.htm
>>
>>> I am using win98 now. Sometimes linux but win98 is what I'm using.
>>
>> Hmm, with Win98 you probably still use int 13h as I remember,
>> but you have to write interface between C and BIOS so registers
>> you need to set is BX=adress_offset ES=adress_segment,
>> CX=0x0001,DX=0x00drive where drive=HDD0=0x80,HDD1=0x81 etc.,
>> AX=0x0201 to read, 0x0301 to write.
>> Anyway do check if is there any function in API that can read
>> psychical sectors. If not then you may be forced to use int13h.
>> Now I have no any WinAPI help here so can't say, and don't
>> remember if these kind of functions were accesible to users.
>
> I considered the Win32API. I don't know if there are any functions
> provided there. What does the int 13h mean? I understand the register values
> just use assembly perhaps? fread and other C functions would be too large I
> would think.
disassemble fixmbr.
--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw
.
- References:
- Prev by Date: Re: Chickens in the Hen house
- Next by Date: Re: MBR
- Previous by thread: Re: MBR
- Next by thread: Re: MBR
- Index(es):
Relevant Pages
|