>you would need to use a hblank to change the char base block value at
the correct position down >the screen. either that or use two layers and
have the first set to the first char block (showing >the top half) and
the second set to display the second char block (showing the bottom
half)
I really see no point to this as you can access the entire video ram by
setting your base block to zero. Since tile numbers are 0-1023 that's
all 64KB of memory. The only time "bank switching" would be necessary
is if you have more than 1024 tiles on screen at the same time and that
is only possible using multiple layers of 16 color background tiles.
Changing the charbase block during the hblank is never necessary unless
you are trying to do some special effect or split mode operation. I
have heard it said that tile numbers use even-indexing (like sprites in
256 color mode) and I do not know where this misconception is from but
it is not true. The simplest form of memory management is to use only
character base block zero when using 256 color backgrounds and load the
map data (indexes) to the upper portion of video memory. This assures
that character data and map index data never overlap and allows complete
access to all available tile space.
-jason
www.thepernproject.com
[Non-text portions of this message have been removed]