Rapid and clean frame painting.

Search this archive.

From: Kevin D. Quitt (KQuitt@ieeinc.com)
Date: Sat 19 May 2001 - 23:16:09 IDT


I'm working with a 65535 with 1M of video RAM.  It's at 640x480/256 via
VESA mode 101.  The actual display is a 320x240 color LCD.  I need to be
able to show a short sequence of slides rapidly enough for animations to
work.  The frames are already decoded into bitmap form, and each frame can
have a different palette.

I was thinking I could use the 640x480 screen as 4 320x240 images, paint
into the undisplayed area, and change what quadrant is being displayed (and
update the palette) during vertical refresh.  I also need to be able to do
those latter two based on an interrupt from the 65545 at the start of
vertical retrace - I cannot buzz for the status.

How do I change the palette the fastest possible way, or is there any
chance the 65545 has a second palette?

The scroll demo program is vaguely close to what I want to do, except I
wouldn't be panning or scrolling anything less than 1/4 of the image, and I
need to be changing the palette.

This is an embedded system with no MMU; it runs about 33 bogomips.


--
 _
Kevin D. Quitt					             KQuitt@ieeinc.com
		      96.37% of all statistics are made up



------------------------------------------------------------------
Unsubscribe:  To:   listbot@svgalib.org
              Body: unsubscribe linux-svgalib


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:23 IST