Re: MBR
Bill Cunningham wrote:
> 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.
With the Win32 API, you would open (CreateFile()) the special name
"\\.\A:" to open a floppy or partition. In case that's mangled, that's
slash, slash, dot, slash, A, colon.
To open a physical disk, it's "\\.\PHYSICALDRIVEn", where "n" is the
drive number (base zero). (Again there's a slash, slash, dot, slash at
the beginning of that).
You can then read and write sectors.
If you're trying to open a hard disk, you'll need to be an Admin.
.
Relevant Pages
- Re: lm-sensors
... > i'm trying to install lm-sensors in a debian woody 2.4.25 ... > # modprobe unknown adapter Philips Parallel port adapter using Bit-shift ... You can see jpeg's of that one here: http colon slash slash esquipulas ... dot homeunix dot com slash modtempdisp dot nz dot jpeg ... (Debian-User) - Re: Cycle Sport meets BrokeBack Mountain
... Steven L. Sheffield stevens at veloworks dot com bellum pax est libertas servitus est ignoratio vis est ess ay ell tea ell ay kay ee sea eye tee why you ti ay aitch aitch tee tea pea colon slash slash double-you double-yew double-ewe dot flahute dot com slash. ... (rec.bicycles.racing) - Re: Atmel AT91 (ARM) Family
... > Does anybody know if there are free developing tools: ... Yes, you can use free schematic capture, layout, compiler and debugger. ... slash slash pcb dot linnix dot com slash sbc1 dot html ... (comp.arch.embedded) - Re: Pronounc(e (sic))ing a URL
... "doubleyou doubleyou doubleyou dot" ... "b forward slash" ... "wuh wuh wuh" ... unlike the TV people who pronounce them as suffixes. ... (alt.usage.english) - Re: FireFox download directory
... For some reason Firefox always put a dot ... > I had to change it to the forward slash myself, ... (comp.sys.acorn.apps) |
|