From: Bryan J Smith <b.j.smith@ieee.org>
To: Steve Cohen <stevecoh1@comcast.net>,
Mike McCarty <Mike.McCarty@sbcglobal.net>,
linux-msdos@vger.kernel.org
Subject: Re: EMM386 not installed - protected mode software already running.
Date: Tue, 19 Oct 2010 10:48:44 -0700 (PDT) [thread overview]
Message-ID: <77552.59460.qm@web110812.mail.gq1.yahoo.com> (raw)
In-Reply-To: <4CBDCD49.8070905@comcast.net>
Most of the 386, and all of the 286, PharLap Extenders required not just EMS
and/or XMS, but pre-date DPMI (DOS Protected Mode Interface) APIs. They would
use an earlier approach called VCPI (Virtual Control Program Interface).
The main difference between DPMI and VCPI is that DPMI programs have a governing
Ring 0 manager they are serviced by. In DOS, this is HIMEM/EMM386. In NT, this
is the NTVDM. In Linux, this is the DOSEmu system. This allows multiple
programs to utilize memory extensions.
VCPI is where one program and only one program can take control of Ring 0 for
its own uses. And that makes it not only incompatible with DOSEmu, but also
NTVDM (i.e., won't run under Windows NT, 2000, XP, Vista, 7, etc...). DPMI
addressed the shortcomings with VCPI.
Only latter PharLap extenders supported DPMI, and all of them were 386 IIRC. My
knowledge is a bit aged, but I believe this information is correct. Attempting
to run the program under any 32-bit NT 4/5/6 release would also verify the same.
DOSBox _may_ be an option, as I've seen VCPI programs sometimes execute under
it.
--
Bryan J Smith Professional, Technical Annoyance
Linked Profile: http://www.linkedin.com/in/bjsmith
------------------------------------------------------------
"Now if you own an automatic ... sell it!
You are totally missing out on the coolest part of driving"
-- Johnny O'Connell
----- Original Message ----
From: Steve Cohen <stevecoh1@comcast.net>
To: Mike McCarty <Mike.McCarty@sbcglobal.net>; linux-msdos@vger.kernel.org
Sent: Tue, October 19, 2010 12:54:33 PM
Subject: Re: EMM386 not installed - protected mode software already running.
On 10/19/2010 10:55 AM, Mike McCarty wrote:
> Steve Cohen wrote:
>> More on the "Hoo Boy this is going to be interesting" front:
>
> [...]
>
>> DEVICE=C:\DOS\EMM386.EXE frame=none x=C000-C7FF x=E000-E7FF [Y,N]?Y
>> EMM386 not installed - protected mode software already running.
>>
>> What does this mean? What protected mode software is already running?
>
> None. The environment of DOSEMU provides a DPMI w/o having to
> load a driver, so it has the same effect as though a driver
> were loaded, however.
>
> Mike
OK, trying to wrap my head around this though the 20-year fog. EMS, XMS, UMB,
DPMI. Yecch.
I've tried commenting out the
DEVICE=C:\DOS\EMM386.EXE frame=none x=C000-C7FF x=E000-E7FF
line. This gives me the "No UMBs" error on the first devicehigh= call
As can be seen from my earlier posts, this application, as designed, made use of
HIMEM.SYS, EMM386.EXE, etc. This does not appear to be compatible with DOSEMU
as configured out of the box.
Looking for opinions here. Would you think I am best off trying start from
Freedos and tweak memory as needed or from MS-DOS? If I use MS-DOS under DOSEMU
what is the solution to add UMBs? Or, am I best advised to avoid all this UMB
and devicehigh stuff and just try to load them "normally"?
Here is the config.sys I am trying to load:
BREAK=OFF
FILES=30
BUFFERS=30
STACKS=9,256
DOS=HIGH,UMB
LASTDRIVE=V
DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE frame=none x=C000-C7FF x=E000-E7FF
DEVICEHIGH=C:\DOS\SETVER.EXE
SHELL=c:\command.com c:\dos\ /E:1024 /P
DEVICEHIGH=C:\NFS\PCNFS.SYS
DEVICE=C:\NFS\SOCKDRV.SYS
DEVICE=C:\LANMAN\PROTMAN.SYS /I:C:\LANMAN
REM INTEL ETHERPRO16
DEVICEHIGH=C:\LANMAN\EXP16.DOS
DEVICE=C:\LANMAN\NFS-NDIS.SYS
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-10-19 17:48 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-19 13:49 EMM386 not installed - protected mode software already running Steve Cohen
2010-10-19 14:28 ` Steve Cohen
2010-10-19 16:09 ` Frank Cox
2010-10-19 16:16 ` Frank Cox
[not found] ` <4CBDBF81.8010601@sbcglobal.net>
2010-10-19 16:54 ` Steve Cohen
2010-10-19 17:48 ` Bryan J Smith [this message]
2010-10-19 19:34 ` Bryan J Smith
2010-10-19 19:43 ` Bryan J Smith
2010-10-20 2:36 ` Steve Cohen
2010-10-20 15:19 ` Bryan J Smith
2010-10-20 16:14 ` Steve Cohen
2010-10-20 17:00 ` Bryan J Smith
2010-10-20 18:22 ` Mike McCarty
2010-10-20 20:11 ` Frank Cox
[not found] ` <AANLkTinVjXgQaH939Kq1H1B6g=f1ty16bGFdULUqSHDb@mail.gmail.com>
2010-10-20 20:56 ` solarflow99
2010-10-20 21:06 ` Mike McCarty
2010-10-20 23:23 ` solarflow99
2010-10-21 6:42 ` Paul Crawford
2010-10-21 12:29 ` Steve Cohen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=77552.59460.qm@web110812.mail.gq1.yahoo.com \
--to=b.j.smith@ieee.org \
--cc=Mike.McCarty@sbcglobal.net \
--cc=linux-msdos@vger.kernel.org \
--cc=stevecoh1@comcast.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox