background/sprite functions, and OFFSET in vram banks

Post Reply
Discostew
Posts: 103
Joined: Sun Mar 08, 2009 7:24 pm

background/sprite functions, and OFFSET in vram banks

Post by Discostew » Sun Sep 06, 2009 10:03 pm

After addressing an issue in a recent thread here, it has been seen that unless the VRAM banks are set up so that there are no offsets used, graphic corruption (or no graphics) will occur.

Example:

As in the thread listed, by using VRAM_B_MAIN_SPRITE, the sprites wouldn't show up because there is an offset included in it, pushing the actual pointer from 6400000h to 6420000h. The sprite function doesn't take into account this offset, and continues to use 6400000h as it's starting pointer position.

So, would it be possible (or reasonable) to including a check on the VRAM states when determining graphic allocation?

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest