NROM Mirroring

Are you new to 6502, NES, or even programming in general? Post any of your questions here. Remember - the only dumb question is the question that remains unasked.

Moderator: Moderators

Post Reply
User avatar
battagline
Posts: 152
Joined: Wed Sep 05, 2018 11:13 am
Location: Colorado
Contact:

NROM Mirroring

Post by battagline »

Can an NROM cart change it's mirroring on the fly? Or can that only be done with a mapper?

Thanks
A few of my web games
https://www.embed.com
Or if you're bored at work
https://www.classicsolitaire.com
lidnariq
Posts: 11429
Joined: Sun Apr 13, 2008 11:12 am

Re: NROM Mirroring

Post by lidnariq »

Only with some mapper.

FDS might pedantically count as close enough to NROM, with mirroring control, for your purposes. Maybe.
User avatar
battagline
Posts: 152
Joined: Wed Sep 05, 2018 11:13 am
Location: Colorado
Contact:

Re: NROM Mirroring

Post by battagline »

lidnariq wrote:Only with some mapper.

FDS might pedantically count as close enough to NROM, with mirroring control, for your purposes. Maybe.
I was going to make the largest asteroids in my asteroids clone background tiles. They would all have to more in the same direction, but if I had it set up to mirror in all directions, the asteroids could loop around pretty easily even if I had them moving at odd angles. The only problem was I used horizontal mirroring to scroll in the name of the game on the start screen. Anyway, if I can't change the mirroring I can just have the largest asteroids move horizontally only. Kinda boring, but this is just a learning project so it's not the end of the world.

Thanks.
A few of my web games
https://www.embed.com
Or if you're bored at work
https://www.classicsolitaire.com
lidnariq
Posts: 11429
Joined: Sun Apr 13, 2008 11:12 am

Re: NROM Mirroring

Post by lidnariq »

If you just want fixed 1-screen mirroring, you could target MMC1, ANROM, or mapper 28.
User avatar
battagline
Posts: 152
Joined: Wed Sep 05, 2018 11:13 am
Location: Colorado
Contact:

Re: NROM Mirroring

Post by battagline »

lidnariq wrote:If you just want fixed 1-screen mirroring, you could target MMC1, ANROM, or mapper 28.
I'm not going to use a mapper for this game. I'm just trying to get something done and trying to keep it as simple as possible.

I want to figure out Mappers soon, but I'd like to get this game finished up this week, and I'm just not ready for mappers quite yet... soon though :-)

Thanks
A few of my web games
https://www.embed.com
Or if you're bored at work
https://www.classicsolitaire.com
lidnariq
Posts: 11429
Joined: Sun Apr 13, 2008 11:12 am

Re: NROM Mirroring

Post by lidnariq »

Sure. I meant that you can use some conceptual mapper produce something that looks like NROM with fixed 1-screen mirroring. The actual hardware would still be NROM with fixed 1-screen mirroring.
User avatar
battagline
Posts: 152
Joined: Wed Sep 05, 2018 11:13 am
Location: Colorado
Contact:

Re: NROM Mirroring

Post by battagline »

yaros wrote:
battagline wrote:Anyway, if I can't change the mirroring I can just have the largest asteroids move horizontally only. Kinda boring, but this is just a learning project so it's not the end of the world.
Thanks.
If you asteroid is smaller than the screen, you can still scroll vertically and dynamically load/unload rows of the image. You will have disappearing/appearing textures on the top and the bottom though.

Image below, if it makes sense. Green is when you load next part of the asteroid, when it's bottom is 8px above the bottom of the screen.
yes, but aren't you moving it 8 pixels at a time?
A few of my web games
https://www.embed.com
Or if you're bored at work
https://www.classicsolitaire.com
User avatar
tokumaru
Posts: 12427
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Re: NROM Mirroring

Post by tokumaru »

battagline wrote:yes, but aren't you moving it 8 pixels at a time?
You can move it smoothly, but the NT will only be changed every 8 pixels, which will cause a "pop" effect if the TV doesn't hide a portion of the picture at the edges of the screen. Lots of programmers (including programmers that worked in commercial games back in the day) counted on these kinds of glitches near the edges of the screen to be hidden, or at least not too distracting, because MANY games suffer from this.
Post Reply