summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/intff.c
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>1997-09-30 22:04:06 +0000
committerjlemon <jlemon@FreeBSD.org>1997-09-30 22:04:06 +0000
commitd41bb2bc87f29068e4d03f319a4989911f2cd73c (patch)
tree648a56a6242ed5ba9d08e736053edb3c7c0a6194 /usr.bin/doscmd/intff.c
parent0f45f2fb69fa51d32a49bcda72f6de056fdf4b0a (diff)
downloadFreeBSD-src-d41bb2bc87f29068e4d03f319a4989911f2cd73c.zip
FreeBSD-src-d41bb2bc87f29068e4d03f319a4989911f2cd73c.tar.gz
Add support for EMS emulation to doscmd. This requires changing the
interface for callbacks to doscmd from DOS, obsoleting the instbsdi redirector. (redir.com replaces it) A temporary hack is in place so the instbsdi program will (hopefully) work in the short term. Submitted by: Helmut F. Wirth <hfwirth@ping.at>
Diffstat (limited to 'usr.bin/doscmd/intff.c')
-rw-r--r--usr.bin/doscmd/intff.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/doscmd/intff.c b/usr.bin/doscmd/intff.c
index e27ac0e..0633246 100644
--- a/usr.bin/doscmd/intff.c
+++ b/usr.bin/doscmd/intff.c
@@ -29,7 +29,7 @@
*
* BSDI intff.c,v 2.2 1996/04/08 19:32:56 bostic Exp
*
- * $Id: intff.c,v 1.8 1996/09/23 09:59:25 miff Exp $
+ * $Id: intff.c,v 1.1 1997/08/09 01:42:51 dyson Exp $
*/
#include "doscmd.h"
@@ -787,17 +787,17 @@ init_drives(void)
}
}
+
void
intff(regcontext_t *REGS)
{
- if (lol && sda) { /* already been called? */
+ if (lol && sda) { /* already been called? */
debug(D_REDIR, "redirector duplicate install ignored\n");
return;
}
- lol = (LOL *)N_GETPTR(R_ES, R_DI); /* where DOS keeps its goodies */
- sda = (SDA *)N_GETPTR(R_DS, R_SI);
-
+ lol = (LOL *)N_GETPTR(R_BX, R_DX); /* where DOS keeps its goodies */
+ sda = (SDA *)N_GETPTR(R_DI, R_SI);
init_drives();
/* initialise dispatcher */
OpenPOWER on IntegriCloud