From: "yidaki" Subject: Re: Newbie GFX Newsgroups: comp.os.msdos.djgpp References: <01c004b9$f4bc0ec0$ac7297d4 AT grebo> <8n7hmv$md9$1 AT news DOT netvision DOT net DOT il> Message-ID: <01c007bd$3515ac00$ac7997d4@grebo> X-Newsreader: Microsoft Internet News 4.70.1155 Lines: 32 NNTP-Posting-Host: 212.151.121.172 X-Complaints-To: news-abuse AT swip DOT net X-Trace: nntpserver.swip.net 966456281 212.151.121.172 (Wed, 16 Aug 2000 22:04:41 MET DST) NNTP-Posting-Date: Wed, 16 Aug 2000 22:04:41 MET DST Organization: A Customer of Tele2 X-Sender: unknown AT d212-151-121-172 DOT swipnet DOT se Date: Wed, 16 Aug 2000 20:04:41 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Thanks Avi. It worked, now i have to figure out how. :) I now know that what i tried to do (learn gfx programming) was a bit rash. I should have started with something else. Something like really low programming or, i have no idea. My sister sells books, she might have some about graphics programming... Avi Berkovich skrev i inlägg <8n7hmv$md9$1 AT news DOT netvision DOT net DOT il>... > Hey > > The source code you tried to compile was designed for Borland compilers > (judging by the _ax). > The only way to compile it using GPP would be to rerwrite some or whole of > the code, and I don't think you want to do that. > > For your mode 13h problem, try this code: > > #include > > void somefunction() > { > __dpmi_regs r; > r.x.ax = 0x0013; > __dpmi_int(0x10, &r); > } > > > Avi >