I completed the drive verify sectors work a little while ago, but keep running
out of space to compile wine. I'd like to check my work before submitting.
I added three new boolean variables which can be used for drives, since this
was simpler. BIOS tells wine that BIOS level access is allowed for this
device. RawWrite enables wine functions to write to the drive. I installed
this flag into the drive.c RawWrite and RawRead functions although I did not
change the RawWrite opening of the drives to allow actual writing, it still
opens the drive in read-only mode. I slipped in some error catching code that
both of these functions asked for.
Then I added a DRIVE_Verify function to the file since some of the
requirements of the drive verification interrupt didn't fit the types specified
in the DRIVE_RawRead function. The fsck program simply says that I try to read
the device in raw mode to verify the drive, and that's what I did.
My final boolean flag is BiosNoWarn. Include this in the drive specifications
for any drive and warnings are disabled for all drives. I could change that if
anybody thinks it's a bad idea. I wouldn't disable these warnings on any drive
unless I wanted it off for all drives. The BIOS access and RawWrite flags
actually are flags in the drive's flags and I set the interrupt to ignore
drives which are neither Hard Drives nor floppies with an 'unsupported device'
reply to the interrupt call.
-Robert 'Admiral' Coeyman
--
http://www.corner.net/admiral/
May you live as long as you wish and age but a single day.
[Telnet to telnet.corner.net]