Mike McCormack  <[EMAIL PROTECTED]> writes:

> For example, currently calling DeviceIoControl VWIN32_DIOC_DOS_INT_13
> on the VWIN32 device calls to the real mode interrupt INT 13. It could
> be re-implemented so that INT_Int13Handler does a DeviceIoControl and
> the low level disk access code moved into the VWIN32 device
> implemetation.

VWIN32_DIOC_DOS_INT_13 is not really different from int 13, so it
wouldn't make much difference either way. Much better would be to
implement the higher level calls that are needed to reimplement the
DOS interrupts; for instance int 13 should use the IOCTL_DISK calls of
DeviceIoControl, int 25/26 should be replaced by Win32 device access
(CreateFile("\\.\PHYSICALDRIVEx")+Read/WriteFile), etc.

-- 
Alexandre Julliard
[EMAIL PROTECTED]


Reply via email to