I've just been attempting to use 2D mode 5 on the sub video which should supply me with two ER backgrounds at location 2 and 3. My issue is that the map base which should be in 16k increments for a bit-mapped background is only moving up in the tiled 2k increment. As I'm limited to 32 bases I can't fit in my second background. Is this a bug?
Code: Select all
int bg2 = bgInitSub( 2, BgType_Bmp16, BgSize_B16_256x256, 0, 0 );
int bg3 = bgInitSub( 3, BgType_Bmp16, BgSize_B16_256x256, 8, 0 );
for( int i = 0; i < 256*256; ++i )
{
bgGetMapPtr( bg2 )[i] = RGB15(0,31,0) | BIT(15);
bgGetMapPtr( bg3 )[i] = RGB15(0,0,31) | BIT(15);
}
Alistair Lowe