I have a very simple test program, that has 2 backgrounds and two sprites
but it does not work on any hardware, but runs fine on vba/ba
the setup is simple, one bg(0) priority 3, bg(1) prio 2
the sprites (OAM entryies 0,1) are such that 0 is a charactor, and 1 is the
outline.
initially oam[0] prio is 3 and oam[1] is 2;
depending on if my code thinks the charactor is "obscured" it changes the
priority of oam[0]
to be either 3 or 2, thus allowing bg(1) to either under or over the char,
but at all times the outline of the char is visible.
this works fine on all the emulators I've tried, but up the hardware, bg(1)
is always under the charactor.
I did see the same problem occur some times in my "torn desktop" demo and in
both it only occurs on
real hardware, is there more to obj/bg priorites than meet the eye ?
Mike.