www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/23/06:45:23

Date: Tue, 23 Jan 2001 13:42:12 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: TC-->DJGPP
In-Reply-To: <94jdoi$6tu$1@s1.read.news.oleane.net>
Message-ID: <Pine.SUN.3.91.1010123133241.9801I-100000@is>
MIME-Version: 1.0
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

On Tue, 23 Jan 2001, PSF wrote:

> I have a big application in TC++ in 16 bits under DOS6. I want translate
> this in 32 bits
> I have some question about DJGPP before download it.
> 1/ Am I obliged to change OS ?

??? Why?  DJGPP works on DOS and all versions of Windows.  You can switch 
the OS or you can stay with DOS, it's up to you.

> 2/ What about  ASM file in my application ?

You will have to rewrite it, or use NASM (which isn't part of DJGPP) to 
compile it.  Experience shows that in many cases ASM code should simply 
be rewritten in C instead.  Chapter 17 of the DJGPP FAQ deals with this
and related issues, see http://www.delorie.com/djgpp/v2faq/faq17.html

> 3/ I use TC librairies (VGA 16 colors) .I want use a VGA LCD with 256 colors
> : is it possible to have driver for it

You want the GRX library and the BCC2GRX interface, which provide 
compatibility to Borland graphics.  The .bgi drivers are not supported, 
but any graphics mode supported by GRX can be used, including the 
256-color modes.  See the docs of GRX and BCC2GRX for details.

> 4/ I use also a TCPIP socket in 16 bits .

Anything you use with a real-mode TC program can in principle be used 
with DJGPP.  However, if you use a third-party library with no sources, 
you cannot link it with DJGPP-compiled sources, since the object formats 
are incompatible.  An external TSR or device driver for TCP/IP is okay, 
though.

- Raw text -


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