Skip to content

[FDS] $4030 bit 3 should return nametable arrangement/mirroring mode from $4025 bit 3 #789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
TakuikaNinja opened this issue Apr 1, 2025 · 0 comments · May be fixed by #790
Open

[FDS] $4030 bit 3 should return nametable arrangement/mirroring mode from $4025 bit 3 #789

TakuikaNinja opened this issue Apr 1, 2025 · 0 comments · May be fixed by #790

Comments

@TakuikaNinja
Copy link

Describe the bug
I recently helped discover some previously undocumented behaviour on the FDS. Bit 3 of $4030 reads return the value from bit 3 of $4025, which is the nametable arrangement/mirroring mode. I wrote a test program to verify the behaviour, and it fails on FCEUX. Mesen2 and Nestopia have since implemented the behaviour.

To Reproduce

  1. Load the following test program: https://forums.nesdev.org/download/file.php?id=28216
  2. Test fails for $4030.D3 R.

Expected behavior
Both tests should pass, as shown in this capture from a Twin Famicom:

Image

(please complete the following information):

  • EndeavourOS on 6.13.8-zen1-1-zen
  • FCEUX Version 2.6.6 (QT)

Additional context
NESdev forum post: https://forums.nesdev.org/viewtopic.php?p=300488#p300488
Test program source code: https://github.com/TakuikaNinja/FDS-Mirroring-Test

@TakuikaNinja TakuikaNinja linked a pull request Apr 8, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant