| Andrew Culver ( @ 2005-02-03 15:03:00 |
CPU cycle limitations, debugging, etc.
Alright, thanks to Zooka and joat of #nesdev on EFnet, I've learned that my routine has to be small enough to fit into a VBlank period, which it doesn't even come close to doing right now. Time to figure out how many CPU cycles I have to waste, then try to see if I can cut the buffer size in half in order to gain some more.
Updated: So apparently vertical blank time is "precious" and should pretty much only be used to communicate with the PPU, which for some reason is where the original text loading routine is. Anyways, the lesson is that this is not the place to implement my decompression scheme, and instead I'll have to implement it somewhere else. At least we're getting closer to some closure here.
And still, my relationship with the NES is slowly growing up. :)
Alright, thanks to Zooka and joat of #nesdev on EFnet, I've learned that my routine has to be small enough to fit into a VBlank period, which it doesn't even come close to doing right now. Time to figure out how many CPU cycles I have to waste, then try to see if I can cut the buffer size in half in order to gain some more.
Updated: So apparently vertical blank time is "precious" and should pretty much only be used to communicate with the PPU, which for some reason is where the original text loading routine is. Anyways, the lesson is that this is not the place to implement my decompression scheme, and instead I'll have to implement it somewhere else. At least we're getting closer to some closure here.
And still, my relationship with the NES is slowly growing up. :)