cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/2003/02/08/11:58:11

Date: Sat, 8 Feb 2003 11:37:36 -0500
Message-Id: <200302081637.h18Gbax21760@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <b23b7e$bjk$1@wildfire.prairienet.org>
(sjmccaug AT bluestem DOT prairienet DOT org)
Subject: Re: Generate real-mode 386 DOS executables?
References: <BQ2S9.280216$a8 DOT 123208 AT news4 DOT srv DOT hcvlny DOT cv DOT net> <3pii1vkro878ujd0dlsa95mqgudtp86lvs AT 4ax DOT com> <b23b7e$bjk$1 AT wildfire DOT prairienet DOT org>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

>  The question remains: is DJGPP really for MS-DOS? If so, then I
>  should be able to make 16-bit INT 21h DOS function calls. If I
>  cannot make such calls, it is really not DOS-compliant. So which is
>  it?

DJGPP programs only run on DOS-based systems.  They are DOS programs.
However, DJGPP's purpose is to build a layer between DOS and your
application such that your application is itself a 32-bit flat model
program.

You can make 16-bit dos function calls directly if you wish, but you
must then take responsibility for moving any data to/from memory that
DOS has access to.  DJGPP normally does that for you if you let it.

- Raw text -


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