[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: re-implementing real mode interrupts
From:       Alexandre Julliard <julliard () winehq ! com>
Date:       2001-09-21 18:25:34
[Download RAW message or body]

Mike McCormack  <mike_mccormack@start.com.au> 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
julliard@winehq.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic