Hi,
I tried to use MMC1 to my project, but it works only under FCEU emulation. It failed on Nestopia and other nesters.
I tried to follow few documents, which were linked to in similar topics, but I can't implement the code properly.
To switch the CHR and leave the PRG untouched (I will switch it later) I used:
But it works only under FCEU. Nestopia doesn't care about mapper and don't change the CHR pages.
Can somebody try to explain me, what am I doing wrong? I suppose you will give me a code example.
EDIT:
after adding:
the code works also on Nester, but Nestopia still failed.
I tried to use MMC1 to my project, but it works only under FCEU emulation. It failed on Nestopia and other nesters.
I tried to follow few documents, which were linked to in similar topics, but I can't implement the code properly.
To switch the CHR and leave the PRG untouched (I will switch it later) I used:
Code:
LDA #$80
STA $FFFF
lda #0
sta $8000
lsr a
sta $8000
lsr a
sta $8000
lsr a
sta $8000
lsr a
sta $E000
lda #1
sta $8000
lsr a
sta $8000
lsr a
sta $8000
lsr a
sta $8000
lsr a
sta $A000
STA $FFFF
lda #0
sta $8000
lsr a
sta $8000
lsr a
sta $8000
lsr a
sta $8000
lsr a
sta $E000
lda #1
sta $8000
lsr a
sta $8000
lsr a
sta $8000
lsr a
sta $8000
lsr a
sta $A000
But it works only under FCEU. Nestopia doesn't care about mapper and don't change the CHR pages.
Can somebody try to explain me, what am I doing wrong? I suppose you will give me a code example.
EDIT:
after adding:
Code:
lda #%10000000
sta $8000
sta $A000
sta $C000
sta $E000
sta $8000
sta $A000
sta $C000
sta $E000
the code works also on Nester, but Nestopia still failed.