Mail Archives: djgpp/2000/02/28/22:23:22
From: | "Bob Bailey" <bbailey AT ficnet DOT net>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Running v1 programs: PBMPLUS utilities
|
Date: | Tue, 29 Feb 2000 10:38:54 +0800
|
Organization: | CWHKT Netvigator Taiwan News Server
|
Lines: | 55
|
Message-ID: | <89fbb6$7bj$1@jupiter.ficnet.net>
|
NNTP-Posting-Host: | as1po148.ht.ficnet.net.tw
|
X-Trace: | jupiter.ficnet.net 951791782 7539 202.145.173.148 (29 Feb 2000 02:36:22 GMT)
|
X-Complaints-To: | news AT netvigator DOT com DOT tw
|
NNTP-Posting-Date: | 29 Feb 2000 02:36:22 GMT
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Newsreader: | Microsoft Outlook Express 5.00.2615.200
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
How does one use programs compiled under djgpp v1 to run in a DOS window
under Windows 95/98?
I would like to use the PBMPLUS image utilities in a Windows/DOS box.
But I can't get it to work. It complains that it wants to run in
REAL mode. (See below) PBMPLUS stuff is compiled with djgpp v1.
Recompiling under v2 does not seem to be an option. Much too complicated,
unless someone else has already done it.
I thought the purpose of djgpp is to execute under protected mode. What
am I missing?
Here is what I have tried with one of the PBM programs:
D:\>pgmhist input.pgm
CPU must be in REAL mode (not V86 mode) to run this program without VCPI.
(If you are using an EMS emulator, make sure that EMS isn't disabled)
Same if I simply try to execute go32.exe (version 1).
Then I rename go32-v2 to go32 and put it in my path ahead of v1 go32,
as mentioned in the FAQ (copied below). Well, this does not change the
situation.
So, I try:
D:\>go32-v2 pgmhist.exe
CPU must be in REAL mode (not V86 mode) to run this program without VCPI.
(If you are using an EMS emulator, make sure that EMS isn't disabled)
Everything I try complains that it must be run in REAL mode.
From the FAQ:
* If you rename it to `go32.exe' and put on your `PATH' before the v1.x
`go32.exe', it can also run a v1 COFF images, by loading the v1.x
`go32'
and letting it do the job. With this setup, you can run v2 programs
from v1.x programs, because the v1.x program will load `go32-v2' (since
it found it first on the PATH) which knows how to run v2 images,
instead
the original `go32' which cannot.
--
Bob Bailey
bbailey AT ficnet DOT net
- Raw text -