| delorie.com/archives/browse.cgi | search |
| From: | Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Help: What causes screen flash problem in Allegro 2.0? |
| Date: | Tue, 7 Jan 1997 20:21:50 +0000 |
| Organization: | None |
| Lines: | 16 |
| Distribution: | world |
| Message-ID: | <QVeXC0AeBr0yEwDh@talula.demon.co.uk> |
| References: | <32ccb401 DOT 3331475 AT news DOT diac DOT com> <5aqpf4$704 AT nntp DOT novia DOT net> |
| <32D10D3E DOT 52DB AT novia DOT net> | |
| NNTP-Posting-Host: | talula.demon.co.uk |
| MIME-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Dead_and_gone writes: >to add these two lines to your code to make it wait till the end of the >verical retrace- > >while (!(inportb(0x3DA)&0x08)); >while ((inportb(0x3DA)&0x08)); Not true. Allegro waits for the retrace automatically when you call scroll_screen(), or at least it should. If adding those two lines fixes the problem, there's a problem with Allegro, so please let me know what happens! /* * Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ * Ghoti: 'gh' as in 'enough', 'o' as in 'women', and 'ti' as in 'nation'. */
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |