home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!bnr.co.uk!uknet!turing!broom!patrick
- From: patrick@broom.turing.ac.uk (Vorgers)
- Newsgroups: comp.graphics
- Subject: Re: vga animating w/o flicker
- Message-ID: <1992Dec16.122025.19851@turing.ac.uk>
- Date: 16 Dec 92 12:20:25 GMT
- References: <1992Dec10.4387.20691@dosgate>
- Sender: patrick@broom (Vorgers)
- Distribution: comp
- Organization: The Turing Institute, Glasgow, Scotland.
- Lines: 24
-
- In article <1992Dec10.4387.20691@dosgate>, danny.hawrysio@canrem.com (danny hawrysio) writes:
- |>
- |> Does anybody know how to eliminate flicker while animating in VGA
- |> modes?
- |> --
- |> Canada Remote Systems - Toronto, Ontario
- |> World's Largest PCBOARD System - 416-629-7000/629-7044
-
- You have to wait for the vertical retrace and then you can update your screen
- without flickering. You also have to use this when you install a new colormap.
-
- PASCAL-ASM.
-
- procedure waitretrace; assembler;
- Label wait0,wait1;
- asm
- mov dx,3dah
- wait0: in al,dx
- test al,8
- jnz wait0
- wait1: in al,8
- test al,8
- jz wait1
- end;
-