News for hackers. Stuff that matters.
Re:How to program an NES game in C by digi_owl on Sunday August 13, 2017 @11:48AM (#15003351)
My impression is that the banking was more often used for graphics rather than logic.
Re:How to program an NES game in C by Drakim on Sunday August 13, 2017 @12:18PM (#15003469)
It's used for both. Take for instance Super Mario Bros 3, different banks holds different data for the various enemies, and the same banks also contains the subroutines of logic for those enemies.

That's why, even if you hacked so that Goomba's death behavior should point to the same as that of a Drybones, it would fail as the subroutine for that behavior isn't in the same bank as the Goomba.

Re:How to program an NES game in C by DSMan195276 on Sunday August 13, 2017 @01:25PM (#15003846)
This approach can be used for code and resources. For simpler games it is easier to just not bank the code, but for more resource intensive games you can end up banking code and resources.