Direct access to floppy?

  • Thread starter Thread starter William W. Plummer
  • Start date Start date
W

William W. Plummer

I have VC++ 6.0 on Win2Kp and want to write a program to access specific
sectors on a floppy disk. This used to be straight forward using MASM
and calls to the BIOS. Do I need the Windows DDK to get the right
libraries? How do I get around the protection that Windows has that
prevents direct access to hardware?
 
I think you can't to this in Windows 2000. You will have to write a VM DLL
for it whose code runs in ring 0.

--
Winners dont do different things, they do things differently.

Madhur Ahuja
India

Homepage : http://madhur.netfirms.com
Email : madhur<underscore>ahuja<at>yahoo<dot>com
 
Madhur said:
I think you can't to this in Windows 2000. You will have to write a VM DLL
for it whose code runs in ring 0.

--
Winners dont do different things, they do things differently.

Madhur Ahuja
India

Homepage : http://madhur.netfirms.com
Email : madhur<underscore>ahuja<at>yahoo<dot>com

Where can I get info on how to write a VM DLL that suits my needs?
 
William W. Plummer said:
Where can I get info on how to write a VM DLL that suits my needs?

Hello

You can get the excellent tutorial on writing these DLL's at
www.win32asm.cjb.net. -> tutorials -> vxd tutorials.
But remember these are for Assembly language, but what matters is API
function calls.
I think you can easily port them to you language , by understanding the
concepts.

--
Winners dont do different things, they do things differently.

Madhur Ahuja
India

Homepage : http://madhur.netfirms.com
Email : madhur<underscore>ahuja<at>yahoo<dot>com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top