I didn't find anything obvious about this on the board. Neither on API reference (it just bobbles around IOCTL, readfile and writefile... :(

Only start point I have found is the API Disk_Geometry (or something... cant remember) wich tells you how many clusters, sectors, etc. the disk has...

My idea is to access disk by the byte number in the direct (what I call DIRECT ;)

Any ideas are welcome!
Posted on 2002-10-30 14:31:01 by wicr0s0ft
Search read disk sector. There is a lot of discussion.
For NT I found:
http://www.asmcommunity.net/board/attachment.php?s=&postid=42845

For 9x I found:
http://www.asmcommunity.net/board/index.php?topic=3773
which has a link at http://www.geocities.com/freehafer/pj.html
for a floppy disk sector read download. If you call i21h_f7305h_procedure
you can look at big hard disk drives in 9x

There are ways to do it in the two operating systems from ring 0.

For 95:
http://www.asmcommunity.net/board/index.php?topic=6638&highlight=ring
Take out the * and this is a download: h*ttp://freehafer.tripod.com/zip/zrngzer.zip
A more formal vxd is linked at:
http://www.asmcommunity.net/board/index.php?topic=3473
to http://freehafer.tripod.com/pf.html press Assembly program reads master boot sector in XP/2000/95/98/ME.

For NT:
http://www.asmcommunity.net/board/attachment.php?s=&postid=26195
Posted on 2002-10-30 18:40:40 by roaknog