On Fri, 17 Nov 2000, David Elliott wrote:

> Joerg Mayer wrote:
> > On Fri, Nov 17, 2000 at 12:57:18PM +0100, Frank Cornelis wrote:
> > > I wrote a little patch to support INT 13 read/writing of sectors on a
> > > floppy disk.
> > > If it's OK, please merge it with the CVS tree.
> > ...
> > > +                     sprintf (dev_name, "/dev/fd%d", drive_nr);
> > ...
> > > +                     sprintf (dev_name, "/dev/fd%d", drive_nr);
> > ...
> >
> > Is there a reason why you don't use the devices from the wine.conf file?
> > (Sometimes it might be helpful to work with a loop device instead of
> > the real drive).

> I am guessing one reason is that the devices in the wine.conf generally
> point to a partition.  Now obviously with floppies the device would match,
> but for a hard-drive it's different.  In fact, it really ought to allow
> assigning a numbered BIOS INT13 device to a specific device seperate from
> the drive letter definitions.  Like:
> 
> [Int13]
> Bios0=/dev/fd0
> Bios1=/dev/fd1
> Bios80=/dev/hda
> Bios81=/dev/hdb
> 
> Or something like that assuming that I am remembering correctly that floppy
> drives are 0-7f and hard drives are 80-ff.

For now, wine.conf only lists logical devices.
What we need for low level INT13 access are physical devices.
An [Int13] section can indeed provide in a good configuration for INT13
services.

Frank.


Reply via email to