Re: [Freedos-devel] VGA/VESA vblank interrupt?

2018-07-03 Thread Mercury Thirteen via Freedos-devel
Enabling VSync should take care of tearing; I think the VESA spec has a way to enable that feature internally without you writing code for it. Also, proper double buffering will go a long way towards eliminating tear and flicker. Sent from ProtonMail mobile Original Message

Re: [Freedos-devel] VGA/VESA vblank interrupt?

2018-07-03 Thread TK Chia
Hello Mr. Bertho, Thanks for the tips. However, I suspect that knowing when exactly vertical retraces occur is still relevant to modern monitors (and OSes), where one needs to prevent "screen tearing" and other nasty artefacts. So I would think it is still useful to know how to do it right.