www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/30/12:33:00

Message-ID: <000b01beda83$a7caa880$9d96d8d1@default>
From: "Kevin Durda" <kevind AT netcore DOT ca>
To: <djgpp AT delorie DOT com>
Subject: Re: 13h graphic mode width DJGPP
Date: Fri, 30 Jul 1999 08:04:16 -0400
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.0810.800
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
Reply-To: djgpp AT delorie DOT com

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.

Thanks,
Kevin

----- Original Message -----
From: conrad <conrad AT citeweb DOT net>
Newsgroups: comp.os.msdos.djgpp
To: <djgpp AT delorie DOT com>
Sent: Monday, July 26, 1999 9:48 PM
Subject: 13h graphic mode width DJGPP


>Is there's a faster way to copy 'buffer' to the screen than :
>
>________
>     for (int i=0;i<64000;i++){
>     _farpokeb(_dos_ds,0xA0000+i, *(buffer+i) ) ;}}
>________
>
>
>Isn't it possible to point to the video memory by another way than
>_farpoked(blabla) ?
>

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019