www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/08/12:11:51

Message-Id: <200010081611.LAA14033@darwin.sfbr.org>
From: jt williams <jeffw AT darwin DOT sfbr DOT org>
To: djgpp AT delorie DOT com
Subject: When is a DOS app a "32-bit DOS" app?
Date: Sun, 8 Oct 2000 11:17:02 -0600
X-Mailer: EPOC32 Email Version 1.50
Reply-To: djgpp AT delorie DOT com

Strange question:  When is a DOS app a "32-bit" app?  Or does "32-bit DOS" 
have meaning only with respect to the kernel and protected mode?

Suppose a certain application program 'foo.c' is written to compile using 
16-bit tools (e.g., Borland).  And suppose that by using '#ifdef __DJGPP__' 
statements and DOS-specific DJGPP functions (e.g., _get_dos_version(), etc), 
the code is also made to compile with DJGPP and to generate an executable that 
works (with cwsdpmi).

Is 'foo.exe' now a 32-bit DOS app? If not, why?  Do these questions have any 
meaning?

TIA---jtw

- Raw text -


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