[iyonix-support] Re: 16 colour screen modes on the Iyonix
- From: "David J. Ruck" <druck@xxxxxxxxxxxx>
- To: iyonix-support@xxxxxxxxxxxxx
- Date: Tue, 27 Jun 2006 11:01:00 +0100
Paul Vigay <lists-nospam@xxxxxxxxx> wrote:
> Is there any way to simulate 16 colour screen modes on the Iyonix?
>
> I'm trying to convert some old games to 32-bit compatibility, but a
> couple use 16 colour screen modes with palette switching to obtain
> animation effects.
>
> Whilst in terms of screen plotting etc., they seem to work when converted
> to 256 colours, the palette switching routines don't work in 256 colours
> which means the graphics and colours all go to pot. :-(
>
> Is there any way around this?
Redirect the game to plot into a 16 colour sprite back buffer, track change
rectangles on each update cycle, and then replot the changed area to the
screen. Invalidate the entire area on a palette change.
If you are doing this you might as well convert the game to run on the
desktop rather than full screen, as its very easy to put the sprite
backbuffer in to a window.
Cheers
---Dave
--
Email: druck@xxxxxxxxxxxx
Phone: +44- (0)7974 108301
Web: http://www.druck.org.uk/
---
To alter your preferences or leave the group,
visit http://www.freelists.org/list/iyonix-support
Other info via http://www.freelists.org/webpage/iyonix-support
- References:
- [iyonix-support] 16 colour screen modes on the Iyonix
- From: Paul Vigay
Other related posts:
- » [iyonix-support] 16 colour screen modes on the Iyonix
- » [iyonix-support] Re: 16 colour screen modes on the Iyonix
- » [iyonix-support] Re: 16 colour screen modes on the Iyonix
- » [iyonix-support] Re: 16 colour screen modes on the Iyonix
- » [iyonix-support] Re: 16 colour screen modes on the Iyonix
- » [iyonix-support] Re: 16 colour screen modes on the Iyonix
- [iyonix-support] 16 colour screen modes on the Iyonix
- From: Paul Vigay