From: aleksi AT kalliot DOT pp DOT fi (Aleksi Kallio) Newsgroups: comp.os.msdos.djgpp Subject: Re: graphics Date: Sat, 28 Dec 1996 19:22:24 GMT Lines: 30 Message-ID: <32c3e184.1226804@news.eunet.fi> References: <1 DOT 5 DOT 4 DOT 16 DOT 19961218230509 DOT 19f7ab66 AT mail DOT algonet DOT se> NNTP-Posting-Host: kalliot.pp.fi To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp >I know how to use graphics in Borland: initgraph(....... >bgi-graphics don=B4t work whit djgpp for me so how do you do it? It's Borlands own(and slow and useless) feature. If you want do something "real", forget it. The better way to do that is: Initialize graphicsmode (13h) like this: #include textmode(0x0013); Then draw pixels in this way: #include #include _farpokeb(_dos_ds, 0xA0000+y*320+x, color); x and y are coordinates, color is color between 1 and 256 And back to textmode(3h): textmode(0x03); >The question might seem a bit elementary but I=B4m exreamly new=20 >whit this.=20 Well, there is a finnish saying "Kukaan ei ole seppä syntyessään." It's something like "No one is pro when born", but it sounds better in finnish. Aleksi Kallio