Article View: rec.games.programmer
Article #1857Re: VGA Palette flicker
From: DANIEL SJBERG
Date: Mon, 25 Jan 1993 11:09
Date: Mon, 25 Jan 1993 11:09
23 lines
1138 bytes
1138 bytes
> 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 > flickerover the top quarter or so of the screen. > Does anyone know a cure for this? Which IRQ does the player use. When you know which IRQ you just: Mov al,11111111b ; Set the IRQ number for the player to zero in al and the rest to 1 while you you're setting the palette Out 21,al rep outsb xor al,al ; Turn on all IRQ's out 21h,al /Daniel, Member of The Yellow Ones E-Mail: D91-SJD@TEKN.HJ.SE
Technical Details
Message-ID:
<d91-sjd.15.727960173@tekn.hj.se>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!chalmers.se!news.chalmers.se!pc9_b109.et.hj.se!d91-sjdShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!chalmers.se!news.chalmers.se!pc9_b109.et.hj.se!d91-sjd From: d91-sjd@tekn.hj.se (DANIEL SJBERG) Newsgroups: rec.games.programmer Subject: Re: VGA Palette flicker Message-ID: <d91-sjd.15.727960173@tekn.hj.se> Date: 25 Jan 93 11:09:33 GMT Sender: news@news.chalmers.se Organization: H|gskolan i J|nk|ping Lines: 23 Nntp-Posting-Host: pc9_b109.et.hj.se