[net.sources.d] changes to MicroEmacs for Microsoft C V3

rer@panda.UUCP (Ron Roetzer) (05/14/86)

these changes allow MicroEmacs 3.6 to be compiled under Microsoft C V3
the editor can be compiled with either the small model allowing aprox.
32Kbyte files or the large model allowing files as large as memory to be
edited.

x**********  error in epath.h  *************
x42c42
x< 
x---
x> 	};
x
x
x**********   changes to estruct.h *********
x28a29
x> #define MSC	0	/* Microsoft C V3 */
x
x**********  changes to spawn.c    *********
x8a9
x> 
x27a29
x> #include  	"process.h"
x30a33,36
x> #if	MSDOS & MSC
x> #include	<process.h>
x> #endif
x> 
x58a65
x> 
x65a73
x> 
x68a77
x> 
x75a85,93
x> 
x> #if     MSDOS & MSC
x>         movecursor(term.t_nrow, 0);             /* Seek to last line.   */
x>         (*term.t_flush)();
x> 	system("command.com");
x>         sgarbf = TRUE;
x>         return(TRUE);
x> #endif
x> 
x82a101
x> 
x89a109
x> 
x129a150
x> 
x132d152
x< 
x141a162
x> 
x153a175
x> 
x157a180
x> 
x166a190
x> 
x226c250
x< #if	~AZTEC & MSDOS
x---
x> #if	~AZTEC & ~MSC & MSDOS
x251c275
x<         return forklp(cmd, tail, NULL);
x---
x>         return forklp(cmd,tail, NULL);
x
x************  changes to termio.c *************
x
x42a43,47
x> #if MSDOS & MSC
x> #include	<dos.h>
x> union REGS rg;		/* cpu register for use of DOS calls */
x> #endif
x> 
x138a144,150
x> #if     MSDOS & (HP150 == 0) & MSC
x> 	/* kill the ctrl-break interupt */
x> 	rg.h.ah = 0x33;		/* control-break check dos call */
x> 	rg.h.al = 1;		/* set the current state */
x> 	rg.h.dl = 0;		/* set it OFF */
x> 	intdos(&rg, &rg);	/* go for it! */
x> #endif
x190a203,209
x> #if     MSDOS & (HP150 == 0) & MSC
x> 	/* restore the ctrl-break interupt */
x> 	rg.h.ah = 0x33;		/* control-break check dos call */
x> 	rg.h.al = 1;		/* set the current state */
x> 	rg.h.dl = 1;		/* set it ON */
x> 	intdos(&rg, &rg);	/* go for it! */
x> #endif
x224c243
x< #if     MSDOS & CWC86
x---
x> #if     MSDOS & MWC86
x226a246,248
x> #if     MSDOS & MSC
x>         bdos(6, c, 0);
x> #endif
x345a368,370
x> #endif
x> #if     MSDOS & MSC
x>         return (bdos(7, 0, 0) & 0xff);