| delorie.com/archives/browse.cgi | search |
| From: | alaric AT oasis DOT novia DOT net (Alaric Dailey) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Help: What causes screen flash problem in Allegro 2.0? |
| Date: | 6 Jan 1997 11:59:32 GMT |
| Organization: | Novia Internetworking <> 28.8kbps dialup; 402/390-2NET |
| Lines: | 17 |
| Message-ID: | <5aqpf4$704@nntp.novia.net> |
| References: | <32ccb401 DOT 3331475 AT news DOT diac DOT com> |
| NNTP-Posting-Host: | oasis.novia.net |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
radams AT mail DOT diac DOT com wrote:
: void flip_page() {
: if (active_page==page1) {
: scroll_screen(0,0);
: active_page=page2;
: inactive_page=page1;
: }
: else {
: scroll_screen(0,SCREEN_H);
: active_page=page1;
: inactive_page=page2;
: }
: }
:
does scroll_screen() wait for a vertical retrace if not that is probably
your problem, otherwise I don't know let me ponder and I will try to come
up with something else.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |