🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #1861

Re: Colour cycling - I get flicker

#1861
From: John A. Slagel
Date: Mon, 25 Jan 1993 15:52
20 lines
1558 bytes
bromage@mullauna.cs.mu.OZ.AU (Andrew Bromage) writes:

>I've got some code for cycling the VGA palette, but I have problems with
>flicker. The main problem is that I can't disable interrupts during the
>"rep outsb" (did I mention I was using the 286 instructions?) because I've
>got music playing in the background. The result is that I get terrible flicker
>over the top quarter or so of the screen.

>Does anyone know a cure for this?

   The problem is that you can only write to the palette registers during
   verticle retrace, or else snow results... so, you might need to wait 
   for retrace, send 1/2 of them, wait again, and send the other half if
   you can't send them all in one retrace period.

-- 
-----------------------------------------------------------------------------
 John A. Slagel              "My old man used to tell me, before he left this
 j-slagel1@uiuc.edu           shitty world, never chase buses or women- you
 (217) 337-7930               always get left behind." -The Marlboro Man
Technical Details
Message-ID: <C1F2r5.4on@news.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!howland.reston.ans.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!jas37876
References: <9302511.29461@mulga.cs.mu.OZ.AU>

Show Full Headers
Complete Article Headers
Newsgroups: rec.games.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!howland.reston.ans.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!jas37876
From: jas37876@uxa.cso.uiuc.edu (John A. Slagel)
Subject: Re: Colour cycling - I get flicker
References: <9302511.29461@mulga.cs.mu.OZ.AU>
Message-ID: <C1F2r5.4on@news.cso.uiuc.edu>
Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
Organization: University of Illinois at Urbana
Date: Mon, 25 Jan 1993 15:52:15 GMT
Lines: 20