From: "Cody" Newsgroups: comp.os.msdos.djgpp Subject: bitblt and graphics Lines: 35 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Original-NNTP-Posting-Host: tel-ppp0125.ktsnet.com Message-ID: <3a763783@leia.ktsnet.com> Date: Mon, 29 Jan 2001 21:36:38 -0600 NNTP-Posting-Host: 216.60.177.225 X-Complaints-To: abuse AT swbell DOT net X-Trace: nnrp2.sbc.net 980825670 216.60.177.225 (Mon, 29 Jan 2001 21:34:30 CST) NNTP-Posting-Date: Mon, 29 Jan 2001 21:34:30 CST Organization: SBC Internet Services To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Although this doesn't have much to do with djgpp, it has something to do with programming general, and I think that many people in this newsgroup would know the solution to my problems. I program mostly in dos, and only for less than a year in it. I was wondering what does the term bitblt mean? I have seen it in windows and dos newsgroups. How exactly does it work, the exact specifications of it, such as how does it work, how can I implement it the fastest (speed wise for my programs) in a 16-bit application? I am asking this because I need to know it for my (small) graphics library that I'm making. I program mostly in turbo pascal, but if somebody here can explain everything I need in c++ then I understand it also. I'm tired of using the slow and cumbersome borland's graphical interface (egavga.bgi). However, I found some procedures such as xorput, orput, copyput, etc. in the .bgi that I believe are somewhat faster in doing animation than simply drawing a picture, putting black pixels all over the original spot, drawing it somewhere else, erasing that with black pixels.... you get the picture. If anyone in here has experience with bitblt, orespecially if you have experience with dos graphics, then please email me or reply to this newsgroup with help. Thanks for your time, and I look forward to all constructive replies. Also, if anyone knows the fastest routines/algorithms for basic graphical functions in dos, then I'd be more than happy to discuss then with you. If anyone is on msn messenger and knows something about graphics in dos, then I wish I could ask you some questions. Also, if anyone knows the FASTEST way to put a pixel in a 16-bit app, I would like to know it also. I also need to know how to change to the following video modes (keep in mind it's 16-bit... if that has anything to do with it): 320x200x256,320x240x256,640x480x256,800x600x256, although the last one's not as important. I also need to know how to change make to text mode (80x25). Any help on these topics would be much appreciated. p.s. I have the allegro gaming library, and djgpp, and they are both excellent resources. However, I'm trying to create my own from scratch (nothing like allegro of course) so that I have a better understanding of how it all works. Thanks for your time all, and I hope that noone's pissed at me for putting this in djgpp newsgroup.