vbt
Staff member
anybody would have a sample on how to setup NBG1/NBG2 with 2 Word pattern name ?
With one word it's quite easy to display all tiles like this :
for (i=0;i<0x900;i++ )
{
ss_map2=i; //pointer to SCL_VDP2_VRAM_B0
ss_map=i; //pointer to SCL_VDP2_VRAM_A0
}
With two word set up, I tried this :
for (i=0;i<0x900;i++ )
{
ss_map2[(i*2)+1]=i;
ss_map[(i*2)+1]=i;
}
but it doesn't diplay correct tiles or it's garbage, I don't know
With one word it's quite easy to display all tiles like this :
for (i=0;i<0x900;i++ )
{
ss_map2=i; //pointer to SCL_VDP2_VRAM_B0
ss_map=i; //pointer to SCL_VDP2_VRAM_A0
}
With two word set up, I tried this :
for (i=0;i<0x900;i++ )
{
ss_map2[(i*2)+1]=i;
ss_map[(i*2)+1]=i;
}
but it doesn't diplay correct tiles or it's garbage, I don't know
