Mail Archives: djgpp/1995/08/13/17:12:12
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 -