Load sprites from differents chr banks

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems.

Moderator: Moderators

Post Reply
User avatar
Posts: 112
Joined: Sat May 26, 2018 6:14 am
Location: Italy

Load sprites from differents chr banks

Post by kikutano » Thu Feb 06, 2020 12:23 am

Hello to everyone,
I'm working a new project and this time I need more memory to store my sprites. I've always used NROM for my test, but now I think I will switch on an MMC3. My question is: Can I load sprites from a specific CHR bank and other sprites from another? For example, can I put all animation enemies sprites on a CHR bank, all animations sprites on another CHR bank and decide witch part of a CHR I want to load?

To be more specific:

CHR 0: Player Sprite and Standard Background
CHR 1: Enemies sprites and other Background
CHR 2: Icons, UI, other

So I can compose a scene with some piece from CHR 0, some from CHR1 and other from CHR2? Is too complicated?

Thanks a lot, and sorry if this is a dumb question. :)

Posts: 1156
Joined: Tue Oct 06, 2015 10:16 am

Re: Load sprites from differents chr banks

Post by calima » Thu Feb 06, 2020 1:17 am

With MMC3, you have 2kb banks for one half (bg or sprites) and 1kb banks for the other. So you can have BG from two or four parts, and sprites from two or four.

Post Reply