DOSemu developers,
Earlier, I reported that Phar Lap's DOSXNT.EXE won't
work with DOSemu > 0.66.7. The solution is to enable DPMI
in dosemu.conf.
I also wrote a patch to report the century (19h or 20h)
when CMOS byte 50 is read. Some stupid applications report
the year as "0099" without this patch.
With DOSemu 0.98 or 0.99 on a Linux 2.2 kernel, Micro-
soft LINK 5.01.20 cannot write to a file. I tracked down
the following report, which describes the problem better
than I can:
http://www.penguin.cz/~stano/en/dosemu-0.98.4-denyany.html
His patch works for me.
Also, I like how 0.99.11 lets me use a regular UNIX
directory as my C: drive. Quite a useful feature.
These patches may be applied to either 0.98.6 or 0.99.11:
--- dosemu-0.99.11/src/base/dev/misc/cmos.c Fri Jan 8 20:05:19 1999
+++ dosemu-0.99.11/src/base/dev/misc/cmos.c Thu Apr 29 19:16:34 1999
@@ -60,6 +60,7 @@
case CMOS_DOM: /* day of month */
case CMOS_MONTH:
case CMOS_YEAR:
+ case CMOS_CENTURY:
holder = cmos_date(cmos.address); goto quit;
case CMOS_CHKSUML:
--- dosemu-0.99.11/src/base/dev/misc/rtc.c Fri Jan 8 20:05:19 1999
+++ dosemu-0.99.11/src/base/dev/misc/rtc.c Thu Apr 29 19:17:18 1999
@@ -76,6 +76,9 @@
else
return BCD(tm->tm_year);
+ case CMOS_CENTURY:
+ return BCD(tm->tm_year/100 + 19);
+
default:
h_printf("CMOS: cmos_time() register 0x%02x defaulted to 0\n", reg);
return 0;
--- dosemu-0.99.11/src/dosext/mfs/mfs.c Thu Apr 22 16:47:42 1999
+++ dosemu-0.99.11/src/dosext/mfs/mfs.c Thu Apr 29 22:31:15 1999
@@ -3132,7 +3132,7 @@
fl.l_type = ( unix_mode == O_RDONLY ) ? F_RDLCK : F_WRLCK;
break;
case DENY_ANY:
- fl.l_type = F_RDLCK;
+ fl.l_type = ( unix_mode == O_RDONLY ) ? F_RDLCK : F_WRLCK;
break;
default:
fl.l_type = F_WRLCK;
Dave Coffin 5/3/99
--
Dave Coffin, BIOS Engineer, Linux & Internet guru
Microid Research / Unicore Software
1538 Turnpike Street, North Andover, MA 01845-6221
E-mail: [EMAIL PROTECTED] Lat: 42 38'32"N
Phone: 978-686-6468x341 Lon: 71 05'00"W
Fax: 978-683-1630 Alt: 57 meters