www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/24/01:25:31

From: j DOT aldrich6 AT genie DOT com
Message-Id: <199606240520.AA143923651@relay1.geis.com>
Date: Mon, 24 Jun 96 04:45:00 UTC 0000
To: <@inet#@relay1.geis.com>, rocksolid AT wave DOT net
Cc: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Re: Four Trivial Questions and

Reply to message 5586869    from ROCKSOLID AT WAVE DOT NET on 06/23/96  7:08PM

>What does GNU stand for?

I don't know.  I think it might be just a word unto itself, as I have never
seen
or heard any acryonymic expansion.  I am also unclear as to the exact
relationship between GNU and the Free Software Foundation.  I am sure
someone here can clear this up.  :)

>What exactly is DPMI?

DPMI = DOS Protected Mode Interface, a method of breaching the 16-bit
boundary that has confounded programmers for ages.  Under DPMI, the
processor runs in true 32-bit mode, and all memory (physical and virtual) is
combined into one large pool of memory that is limited only by the size of
your machine.  You don't have to worry about segments, 64K blocks, or
fitting your program into the lower 640K of RAM.  The DPMI host takes care
of all of that for you.

Plain, vanilla DOS doesn't allow you to use DPMI.  You have to use a
program which provides DPMI services before your 32-bit pmode programs
can run.  The readme.1st file contains a complete list of the programs which
provide DPMI; the most common are QDPMI, 386MAX, and Windows.  DJGPP
comes with a free DPMI host called CWSDPMI that is automatically loaded
by your programs if no other host is available.

To answer two common questions asked by many people about this:

1) No, you can't force CWSDPMI to be loaded over whatever DPMI is already
active.

2) No, you can't make DJGPP produce realmode programs.

Read the FAQ (faq200b.zip from your favorite simtel site) for more info on
DPMI.

>Is there a way I can code in Intel assembly instead of AT&T?

Not without rewriting gas (the GNU assembler).  AT&T works well enough
once you understand it.

>I want to move DJGPP from it's current directory in D:\DJGPP to
>D:\GARAGE\DJGPP. I can't figure out what files to alter to get it running
>right. I changed the line in DJGPP.ENV:
>
>DJDIR=%:/>DJGPP%
>
>To:
>
>DJDIR=%:/>GARAGE/DJGPP%
>
>And it doesn't work. (even when I change the reference to DJGPP.ENV in my
>autoexec.bat.
>
>What is the correct syntax or what do I need to do to move my big DJGPP
>directory.

This may sound silly, but did you reboot after changing autoexec.bat?
The old environment variable is still there until you rerun autoexec.
Also make sure that you change your PATH to reflect the new location
of DJGPP\BIN.

Actually, I'm not sure that you are supposed to change the DJDIR variable
in djgpp.env.  Try running things both with and without this change.  Eli?

John

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019