On Mon, 19 Jul 1999, Bobby Kolev wrote:
>
> Hello!
> 
> How long does it take to refresh the display when the starting address is
> being changed (double buffering) in 2bpp mode? Do I have to wait manually or
> I could continue running the program? I tried the second, but I got some
> flickering.

  if you are suggesting that you are manually changing the 'screen
  address' in order to do the double buffering.. good question.. :>

  this is a classic problem dating back to the old mode 13h days
  on MSDOS :>

  you need to wait for a vertical retrace.. how? good question. most
  of my double buffering is done by writing to an offscreen buffer,
  then using the WinCopyRectangle routine to update the screen.

  no flickering there.. :(

> What is your experience?

  have you tried WinCopyRectangle? (it is fast! - basically a BLTBLT)
  :> i dont know how it will work with 2bpp tho..

  your screen is twice the size then.. may take a bit longer..

az.
--
Aaron Ardiri 
Lecturer                       http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 352 8192           A/H: +46 26 10 16 11

Reply via email to