delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/18/12:15:37

From: acottrell AT ozemail DOT com DOT au (Andrew Cottrell)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How do i port my code from 16bit DOS to 32bit djgpp DOS ?
Date: Tue, 18 Aug 1998 13:39:33 GMT
Organization: OzEmail Ltd.
Lines: 37
Message-ID: <35d98220.8955127@news.ozemail.com.au>
References: <35D8704F DOT 207A60B0 AT hotmail DOT com>
Reply-To: acottrell AT ozemail DOT com DOT au
NNTP-Posting-Host: slsdn1p25.ozemail.com.au
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

The porting depends on many issues. The main issues that I would
envisage are:
 1) Text windowing system used. There are various windowing systems
for DJGPP.
 2) Disk access API used, Long File Name support to be added.
 3) Memory limitations with 16 bit app compared to 32 bit flat memory
model. In 16 bit you have to watch it when allocating more that 64K.

If you want to have a look at a Xtree clone you could check out YTREE
for Linux which can be converted to work with DJGPP with about 1-2
hours work. As it has similar disk access as NC it may help in the
conversion process. If you want a copy of the modified YTREE or
PDcurses (Text Windowing system) email me and I will send you the
files.

I have been trying to find a NC clone that would come under the GNU
freeware, PD licenses. I would be willing to have a look at the code
if it is allowed to be used in a commercial enviroment without any
license fees.

Regards,
Andrew


On Mon, 17 Aug 1998 20:02:55 +0200, unknown <path_finder2 AT hotmail DOT com>
wrote:

>hi everyone,
>i have developed a "NC like" commander in 16bit DOS using Borland C++
>3.1 . I want to port my code to 32bit DOS , and i was wondering if
>someone knows something about it.
>
>thanks in advance,
>shay hatsor,
>path_finder2 AT hotmail DOT com
>

- Raw text -


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