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 To: djgpp AT delorie DOT com In-reply-to: (sjmccaug AT bluestem DOT prairienet DOT org) Subject: Re: Generate real-mode 386 DOS executables? References: <3pii1vkro878ujd0dlsa95mqgudtp86lvs AT 4ax DOT com> 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 Precedence: bulk > 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.