www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/13/17:12:12

Xref: news-dnh.mv.net comp.os.msdos.djgpp:1496
Path: news-dnh.mv.net!mv!news.sprintlink.net!simtel!lll-winken.llnl.gov!enews.sgi.com!decwrl!waikato!comp.vuw.ac.nz!tao.sans.vuw.ac.nz!empty
From: empty AT sans DOT vuw DOT ac DOT nz (Malcolm Taylor)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Thinking of switching to DJGPP
Date: 12 Aug 1995 09:56:20 GMT
Organization: SANS, Student Access Network System
Lines: 39
References: <Pine DOT SUN DOT 3 DOT 91 DOT 950812033227 DOT 29872B-100000 AT light DOT lightlink DOT com>
Nntp-Posting-Host: tao.sans.vuw.ac.nz
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

Lars Friend (larsfrnd AT light DOT lightlink DOT com) wrote:
: I'm writing a game that I hope I will get around to publishing provided 
: my computer keeps functioning.  I have encountered a point where I have 
: to throw out real mode, or so it seems...  I have a 486sx33 with 2 meg of 
: ram, and I want to know the following:

: 1) Can DJGPP be forced to compile in 2 meg of ram (under normal DOS)?

Yes, but I don't envy you. I find compiling under four megs to be slow 
enough (500K cache halps alot though). If I remember right djgpp could 
even be executed with 1M. You just have to have enough disk space.

: 2)If I port my code and compile it under DJGPP, are there any legal strings 
:   attatched in terms of distributing the program as a comercial game or
:   as shareware?

If it uses the iostreams c++ library there may be some, check the faq. 
The normal c library doesn't live under the GNU liscence, so any C 
program is yours to do what you want with.

: 3)How does it's compiled code compare speed-wise to Borland C 4.5's 
:   compiled code?

The general consensus is that djgpp is much faster (with full 
optimization) than Borland. It compares to Watcom for speed.

: 4)Are there any serious obsicles to writing to video memory directly like 
:   I can do in real mode?

There are a few tricks that must be learned, and there are several ways 
to do it. I think that most of the methods are outlined in the faq.

: Please reply by E-mail to avoid cluttering up discussion with my Newby 
: question more than needed... Thank you very much...

E-Mail replies to news don't work for me at preset :-( Sorry.

Malcolm

- Raw text -


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