[iyonix-support] Re: 16 colour screen modes on the Iyonix

>Paul Vigay wrote on 27 Jun 2006 10:15:58 +0100
>
>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?

Yes, as long as you don't want flashing colours. You select a 256 colour
screen mode that has a full palette mode. Then you can use the palette
switching code as normal. Use OS_SetColour to set the colours and you
can continue to use colours 0 to 15 as you were doing before.

I did it when getting Chuckie Egg to work for the Iyonix. See the Iyonix
source download from Michael Foot's web page. Look in r6502main.c
subroutine setscreenmode for setting up the mode.

If you have any question, feel free to email me.

Regards,
Alan


---
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

Other related posts: