Running a DOS program in Wine

Questions about Wine on Linux
Locked
jeffneedle
Level 2
Level 2
Posts: 18
Joined: Tue Mar 06, 2012 8:09 pm

Running a DOS program in Wine

Post by jeffneedle »

I'm trying to run the Q&A database in Wine. I change to the QA
directory in terminal, type "Wine qa.com", and get this error:

err:dosmem:DOSMEM_MapDosLayout Need full access to the first megabyte
for DOS mode

I know this is some sort of DOS-type error. Any idea how to get past
it? Thanks.
Doug

Running a DOS program in Wine

Post by Doug »

On 06/09/2012 01:16 AM, Jeffrey Needle wrote:
I'm trying to run the Q&A database in Wine. I change to the QA
directory in terminal, type "Wine qa.com", and get this error:

err:dosmem:DOSMEM_MapDosLayout Need full access to the first megabyte
for DOS mode

I know this is some sort of DOS-type error. Any idea how to get past
it? Thanks.
I'm far from an expert, but if your Q&A db is truly a DOS program, not
a Windows program, it needs to run in DOSBox. WINE is for Windows
programs, of any vintage, but not DOS. I have both kinds of programs
on my PCLOS machine here, and they both work pretty much as
expected, altho not perfectly--I lost my full-screen Pinball (WINE) and
I don't know how to fix it--it used to work right. But other WINE routines
work OK, and DOS programs in DOSBox work OK also. You can even
have your old text-only BASIC, Turbo Pascal, Eureka, NODES, and so
on in DOSBox. (NODES even produces some simple graphics.)

If your Q&A is really a Windows program, you may have to tell
WINE which kind of Windows it is--WINE can be set to mimic Win 95,
for instance, if you need it to. Or so I'm told.

--doug

--
Blessed are the peacekeepers...for they shall be shot at from both sides. --A.M. Greeley
jeffneedle
Level 2
Level 2
Posts: 18
Joined: Tue Mar 06, 2012 8:09 pm

Post by jeffneedle »

Thanks! I responded privately to you -- saw that reply first.

I'll check out DOSBox and other solutions.
Martin Gregorie

Running a DOS program in Wine

Post by Martin Gregorie »

On Fri, 2012-06-08 at 22:16 -0700, Jeffrey Needle wrote:
I'm trying to run the Q&A database in Wine. I change to the QA
directory in terminal, type "Wine qa.com", and get this error:

err:dosmem:DOSMEM_MapDosLayout Need full access to the first megabyte
for DOS mode

I know this is some sort of DOS-type error. Any idea how to get past
it? Thanks.

Try adding the following two lines:

# Sets a value required by WINE in DOS emulation mode.
vm.mmap_min_addr = 0

to the end of /etc/sysctl.conf


Martin
jeffneedle
Level 2
Level 2
Posts: 18
Joined: Tue Mar 06, 2012 8:09 pm

Post by jeffneedle »

Thanks. I'll give it a try.
User avatar
André H.
Moderator
Moderator
Posts: 202
Joined: Sun Dec 07, 2008 8:33 am

Post by André H. »

Any update on this. I'd be interested. Further please tell us your Wine version
jeffneedle
Level 2
Level 2
Posts: 18
Joined: Tue Mar 06, 2012 8:09 pm

Post by jeffneedle »

Wine 1.3.28. It's the version that installed with Lubuntu, the light version of Ubuntu.

No more progress at this point. I've been occupied with other problems. Thanks for inquiring. When time allows, I'll report back.
User avatar
dimesio
Moderator
Moderator
Posts: 13228
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

jeffneedle wrote:Wine 1.3.28. It's the version that installed with Lubuntu, the light version of Ubuntu.
That version is old and no longer supported. The current development release is 1.5.6.
Locked