home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dove!gilligan
- From: gilligan@bldrdoc.gov (Jonathan M. Gilligan)
- Newsgroups: comp.text.tex
- Subject: Re: EmTeX with 386MAX ?
- Message-ID: <8215@dove.nist.gov>
- Date: 22 Jan 93 03:40:11 GMT
- References: <93020.171531HARVEY@SLACVM.SLAC.STANFORD.EDU>
- Sender: news@dove.nist.gov
- Organization: National Institute of Standards and Technology
- Lines: 42
-
- In article <93020.171531HARVEY@SLACVM.SLAC.STANFORD.EDU> HARVEY@SLACVM.SLAC.STANFORD.EDU writes:
- >Has anyone been able to run EmTeX 3.14l Beta to run with 386MAX 6.01?
- >I keep getting 'DMPI not supported'. I know that 386MAX supports VCPI
- >mode.
-
- This should probably go in the FAQ (or in the documents for emtex386).
- Anyway, the emx extender used by tex386 is not smart enough to ask
- whether VCPI is supported in addition to DPMI, so it doesn't look any
- farther after it finds that DPMI is supported (why Mattes doesn't ask
- someone with access to a DPMI-compliant 32-bit C compiler to compile
- emtex for him is a mystery to me).
-
- Anyway, there is a solution. You tell 386max to turn off its DPMI support.
- There's a utility that comes with 386max, called memlimit, and you can tell it
-
- memlimit nodpmi,N
-
- where N is the number of DPMI requests to refuse. If N=0, then it will
- refuse all further requests. If you change your mind later and want to
- turn DPMI support back on, you can say, ``memlimit nodpmi,1'' The next
- DPMI request will be refused, but the second and all subsequent
- requests will be granted.
-
- Thus, I use a batch file, tex.bat, that reads:
-
- rem a loop in case I have more than 9 arguments
- set __ARGS__=
- :start
- if "%1"=="" goto endloop
- set __ARGS__=%__ARGS__% %1
- shift
- goto start
- :endloop
- memlimit nodpmi,1
- tex386 %__ARGS__%
- set __ARGS__=
-
- Good luck,
- Jon
- --
-
- Disclaimer --- The government probably disagrees with my opinions.
-