From: AndrewJ Newsgroups: comp.os.msdos.djgpp Subject: Re: Newbie GFX Message-ID: References: <01c004b9$f4bc0ec0$ac7297d4 AT grebo> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 28 Date: Mon, 14 Aug 2000 13:20:17 GMT NNTP-Posting-Host: 24.42.120.18 X-Complaints-To: abuse AT home DOT net X-Trace: news2.rdc1.on.home.com 966259217 24.42.120.18 (Mon, 14 Aug 2000 06:20:17 PDT) NNTP-Posting-Date: Mon, 14 Aug 2000 06:20:17 PDT Organization: Excite AT Home - The Leader in Broadband To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >Im trying to learn gfx programming in c++ but with no actual result... >I know streams arrays and all of the basic programming but when i see a gfx >tutorial i see all these strange words and calls ive never seen before. >theres several links to gfx tutorial but setting mode 13 doesnt work. >i take the example code and try to compile it with gpp but the compiler >complains about _ax* and such not being initiated. im no expert but i >believe thats a call to a lib i dont have or something like that. please >help me... Answers have already been given, so I'm going to give you some advice instead. Rather than diving right into such a complicated matter as graphics programming, I suggest you instead learn about the x86 architecture (its instruction set, registers, etc), and then move on to DOS/BIOS interrupts. If you don't know what _ax is (its the Accumulator Register), you probably shouldn't be trying to program graphics yet. Also keep in mind that unless a tutorial specifically states it's written for DJGPP (or that it uses no hardware/platform/compiler dependent code), it's probably written for a Borland or Microsoft compiler, making it (generally) incompatible with DJGPP. Reading about real mode and protected mode probably wouldn't hurt. ;) ------- AndrewJ "This is a wonderful answer. It's off-topic, it's incorrect, and it doesn't answer the question." - Richard Heathfield.