I believe that I have pinpointed the problem with SMB1 and Zelda2's in and out status bar, I am positive that I am not getting the correct nametable. I tried using loopy's doc and was somewhat sucessful (the bar would stay, but the rest of the graphics messed up, possibly due to mirroring problems). When should vram be set for mirroring and what value should be passed as the address? How do I obtain the nametable address from loopy_v? I currently have this code snippet:
this is in Delphi:
ntbl := $2000 + (loopy_v and $0FFF);
this is in C:
ntbl = 0x2000 + (loopy_v & 0x0FFF);
what is the problem with this? and it may not be this, it may be the way I am interpreting the loopy doc. Any help would be appreciated.
Thanks for everything before (I finally got the sprite priority to work about 80%).