From: "Michael Stewart" Newsgroups: comp.os.msdos.djgpp Subject: Re: 13h graphic mode width DJGPP Date: Mon, 2 Aug 1999 10:37:01 +0100 Organization: (Posted via) Netcom Internet Ltd. Message-ID: <7o3os5$h86$1@taliesin.netcom.net.uk> References: <000b01beda83$a7caa880$9d96d8d1 AT default> NNTP-Posting-Host: hgty.capgemini.co.uk X-Trace: taliesin.netcom.net.uk 933586629 17670 194.42.240.2 (2 Aug 1999 09:37:09 GMT) X-Complaints-To: abuse AT corp DOT netcom DOT net DOT uk NNTP-Posting-Date: 2 Aug 1999 09:37:09 GMT X-Newsreader: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Lines: 16 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Kevin Durda wrote in message <000b01beda83$a7caa880$9d96d8d1 AT default>... >The best way is to turn of protected memory and create a pointer to the >video memory. Then you can use memcpy(pointer_to_screen, pointer_to_buffer, >64000). If you send me a more complete example of what you are doing, I >might be able to offer a little more detailed help. This is not a better way. By switching off the protection you loose one important aspect of pmode, plus it will not be very useable in NT or Linux. As far as speed is concerned you'll only gain a few cycles by using `near pointers'. The best way (IMHO) is to use double buffering and flip the page using dosmemput.