I have spent hours and hours working with my dosemu setup because
no matter how I configure it, I could not access floppy A: This
is version 0.98.6
If I used _vbootfloppy the BOOTOFF.COM program was
non-functional. I could never see anything but the boot image.
So yesterday I made a hard drive image to boot from instead.
When I use that, then everytime I try to read or write from the
floppy drive it spins for just a moment and locks up. (Just
dosemu, of course, not the whole machine).
So I tried the new "boot directory" option. Unfortunately it was
just as with the hard drive image. The floppy spins for a moment
and locks the emulator.
I finally found an answer tucked in the mail archives (where I
must have missed it before). It was the following patch to
0.98.6
--- dosemu-0.98.6/src/base/misc/utilities.c~ Sat Mar 20
23:52:30 1999
+++ dosemu-0.98.6/src/base/misc/utilities.c Tue Mar 23
10:31:29 1999
@@ -509,7 +509,7 @@
static struct itimerval itv_old_;
static struct itimerval *itv_old = &itv_old_;
static struct itimerval itv;
- if (on) setitimer(TIMER_TIME, itv_old, NULL);
+ if (on) setitimer(TIMER_TIME, &itv_old_, NULL);
else {
itv.it_interval.tv_sec = itv.it_interval.tv_usec = 0;
itv.it_value = itv.it_interval;
I applied the patch and it worked for me. I am still booting
from a "boot directory" now.
I tried switching back to _vbootfloppy, but still I find that
BOOTOFF.COM is non-functional. But I can at least write to the
floppy drive now with the "boot directory" approach. If you are
having problems with your floppy and happen to be running the
most recent "stable" version you might consider the patch and use
some other boot method than _vbootfloppy.
Don