I'm working on a cart for the FC jam, but got this really annoying bug, that doesn't allow me to use 128x64 map space without breaking the sprites. If I will try to mset(0,32), it will corrupt my sprites on page 2. I really need that sprite space, does anyone know a quick solution?
But 0,32 is second half, not second quarter.
You said if you mset(0,32) you corrupt sprites, and you show map space as being 64 tiles tall, which it is. That puts tile 0,32 just inside in the second half, so yes, you'd corrupt sprite memory.
You're doing an extra factor of 2 in your head somewhere. You only get map tiles with y=0..31 if you're using all of sprite memory.
If you want to use, say, a map with y=0..47, which means sharing 0x1000..0x1800 with sprites, then you can't use sprites 128..191. Rows 32..47 share space with sprites 128..191.
[Please log in to post a comment]