Date: Mon, 11 Mar 1996 08:08:12 +0200 (IST) From: Eli Zaretskii To: Ralph A Pope Cc: djgpp AT delorie DOT com Subject: Re: Newbie Questions In-Reply-To: <4hns27$b6l@news.csus.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 7 Mar 1996, Ralph A Pope wrote: > OK, I've got several questions I REALLY want to know about: Please download and read the DJGPP FAQ list (v2/faq200b.zip from the same site you get DJGPP). Most of the questions you've asked are answered there. The summary of answers is below. > -Can I use Turbo C++ 3.0 DOS libs with djgpp? If so how? You can't. Sorry. (FAQ section 17.5, also 17.4 and 17.6.) > -What's a good graphics/games library for djgpp (that's free)? Some are listed in the FAQ, section 22.2. > -How do I access video memory? I don't know how to create a pointer to > it, like I used to with MK_FP(0xA000,0) It's done differently in DJGPP. There are several possible methods, all varying in speed vs. memory protection trade-off. (FAQ sections 10.1, 18.4, 18.6). > -Will programs with the old keyword far, like in unsigned char far *, > still compile? It will, if you define `far' away, like this: #define far or on the compilation command line: gcc -Dfar= -c .... And review carefully the code fragments that use `far', because they frequently use other techniques that would crash your program in protected mode. See FAQ section 17.4 and chapter 18. > -How do I access the XMS? With malloc()? Or some other special way? If > so how? There is no XMS, EMS or any other MS in DJGPP; it's just memory. Call malloc(), calloc(), realloc() and forget (for a moment) that you run on 16-bit MS-DOS. See also FAQ chapter 15. > -Are there any books on DJGPP and it's ilk, or something I can apply to > DJGPP? Not that I know. But you can write one ;-). > Also, are there any IDEs out? v2/readme.1st suggests one such.