home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / rec / games / programm / 5516 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.5 KB  |  32 lines

  1. Newsgroups: rec.games.programmer
  2. Path: 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
  3. From: jas37876@uxa.cso.uiuc.edu (John A. Slagel)
  4. Subject: Re: Colour cycling - I get flicker
  5. References: <9302511.29461@mulga.cs.mu.OZ.AU>
  6. Message-ID: <C1F2r5.4on@news.cso.uiuc.edu>
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Organization: University of Illinois at Urbana
  9. Date: Mon, 25 Jan 1993 15:52:15 GMT
  10. Lines: 20
  11.  
  12. bromage@mullauna.cs.mu.OZ.AU (Andrew Bromage) writes:
  13.  
  14. >I've got some code for cycling the VGA palette, but I have problems with
  15. >flicker. The main problem is that I can't disable interrupts during the
  16. >"rep outsb" (did I mention I was using the 286 instructions?) because I've
  17. >got music playing in the background. The result is that I get terrible flicker
  18. >over the top quarter or so of the screen.
  19.  
  20. >Does anyone know a cure for this?
  21.  
  22.    The problem is that you can only write to the palette registers during
  23.    verticle retrace, or else snow results... so, you might need to wait 
  24.    for retrace, send 1/2 of them, wait again, and send the other half if
  25.    you can't send them all in one retrace period.
  26.  
  27. -- 
  28. -----------------------------------------------------------------------------
  29.  John A. Slagel              "My old man used to tell me, before he left this
  30.  j-slagel1@uiuc.edu           shitty world, never chase buses or women- you
  31.  (217) 337-7930               always get left behind." -The Marlboro Man
  32.