Commit Graph

5 Commits

Author SHA1 Message Date
Warner Losh 1b1101e52f o for unknown int21 functions, set the CY bit to indicate failure
o When reporting a int21 function we don't know about yet, report
  AH as the major and AL as the minor, as opposed to reporting AL
  as the major.
o Add support for 21:44:7: ioctl check output status.  We
  optimistically say that output is always ready.
o Add half support for 21:23: get file size.  We always now return
  failure.  This function isn't supported, according to the interrupt
  list, by the DOS box in windows, so I don't feel too bad.
1998-07-17 00:18:52 +00:00
Warner Losh 10f1d28ac1 o remove -f from doscmd man page, as it is not implemented.
o Remove init printf
o Don't set optind from return value for do_args.  getopt has already
  done this.
o Bump EMS memory from 1M to 10M (this really should be a command line
  option).
o Open /dev/null when requested to open emmxxxx0 to allow many programs
  checking to see if EMS is installed to find it.
o Route int67 to ems_entry to allow EMS to be used when DOS is emulated
  as well as when DOS is booted.  This may obviate the need for the
  driver doing anything at all in a really booted situation and won't
  hurt that case.

I can now run the DOS program I'm interested in running with enough
EMS memory that its "advanced" functions are enabled and working.
1998-07-16 23:54:26 +00:00
Warner Losh cf0ad320e4 o fix bug in conversion of DOS 32-bit signed number to FreeBSD's 64-bit
off_t.

This fixed the primitive 'copy protection' that the program I'm using.
1998-07-02 05:12:53 +00:00
Warner Losh 39a1ad8654 Make sourcer's main program execute in X mode.
o Make the dos emulation treat c: and C: the same way.  Sourcer was doing
  a chdir("c:\\") rather than a chdir("C:\\");
o use drlton() in all places where we used to use -'A' so that we're always
  case independent.
o use drntol() in all places where we used to use + 'A' for similar reasons
1998-07-01 19:56:17 +00:00
John Dyson 90c38ed200 Add our doscmd to the tree. This is a result of work from BSDI, and
a group of dos emulator developers.
Submitted by:	Jonathan Lemon <jlemon@americantv.com>
Obtained from:	BSDI
1997-08-09 01:43:15 +00:00