Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 18835, Write physical drive under win95

by Ghislain Bockassa Email: Anonymous


Dll 16 bits for Write physical drive under win95
This Dll implements the "Simulate Real Mode Interrupt" function
of the DPMI specification v0.9.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 1.0  to 6.0 193 downloads
Copyright: Open Source or other


Size: 108,206 bytes
Updated on Thu, 12 Sep 2002 14:14:05 GMT
Originally uploaded on Thu, 12 Sep 2002 14:10:06 GMT
SHA1 Hash: 68DEFD0679AF3009841B7048F83774D9A5D12B41
MD5 Hash: 65B307337146C1AF3248C9A528C334D1

    Explore the files in this upload

Description
This 16 bit DLL will be compiled with Delphi 1.
The original code is from the Microsoft KnowledgeBase.

Code modifications made by John Newbigin (jn@it.swin.edu.au).

Delphi translation made by Ghislain Bock (gbock@noos.fr).

Basicly, it is not possible to read raw sectors of a hard disk from
an Win32 application under Windows 95.
Microsoft suggest that the workaround is to thunk a 16 bit DLL
which uses DPMI to do an interrupt 13h.

Ghislain Bock
Update September 12 2002
========================
Notes:
======
First Allocate the buffer that the Int 13h function will put the sector data into. As this function uses DPMI to call the realmode BIOS, it must allocate the buffer below 1 MB, and must use a real-mode
paragraph-segment address.

After the memory has been allocated, create real-mode and
protected-mode pointers to the buffer. The real-mode pointer
will be used by the BIOS, and the protected-mode pointer will be
used by this function because it resides in a Windows 16-bit DLL,
which runs in protected mode.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC04