On Fri, Jul 13, 2001 at 02:50:38PM +0200, Frederik Boelens wrote:

-snip-

> I fixed the problem.
> a little test in basic told me that reg 5 should be %11101111
> in stead of %11101100. I don't know what i've done wrong with my calcultion,
> but at least it works ok now ;)

In Sprite Mode 2, bits 0 and 1 of reg 5 should be set (according to the
V9938 Technical Data book). If you reset them, funky stuff happens. :-)

The behaviour I found was exactly like what you observed. Bits 1 and 0 are
a mask over the sprite number, before the look-up in the sprite colour 
table is made. 

If bit 2 is reset, the colour table and attribute table are at the same
address (which is hardly useful).


Sean

--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html

Reply via email to