Skip to content

Updated Vs. System Mapper - #4812

Merged
YoshiRulz merged 2 commits into
TASEmulators:masterfrom
100thCoin:TEMP
Aug 14, 2026
Merged

Updated Vs. System Mapper#4812
YoshiRulz merged 2 commits into
TASEmulators:masterfrom
100thCoin:TEMP

Conversation

@100thCoin

@100thCoin 100thCoin commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Prevented array index out of bounds error, and corrected nametable mirroring.

  • If you attempted to read from VRAM address $3000 through $3EFF, instead of reading from a mirror of the nametable, bizhawk would crash.
  • This crash can be reproduced in VS Super Mario Bros. using the attached .bk2 file.
    Crash.zip

Prevented the Vs. System from reading from $2004.

  • The RGB PPU found inside the Vs. System never had any revisions capable of reading from OAM DATA.

The RGB PPU would also be incapable of reading from Palette RAM, though I have not made that change.

Check if completed:

Prevented array index out of bounds error, and corrected nametable mirroring.

Prevented the Vs. System from reading from $2004.

The RGB PPU would also be incapable of reading from Palette RAM, though I have not made that change.
@YoshiRulz YoshiRulz added the Core: NesHawk Nintendo Entertainment System (NES) / Famicom / Famicom Disk System (FDS) core label Aug 10, 2026
Comment thread src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/VS_M99.cs Outdated
@100thCoin

Copy link
Copy Markdown
Contributor Author

Is there any particular reason why you unchecked the "I have run any relevant test suites." box? I'm not aware of any test roms covering the nametable mirroring, though I did check the resulting behavior with a tracelogger to make sure the changes to $2004 reads were working as expected.

@YoshiRulz

Copy link
Copy Markdown
Contributor

There are no relevant test suites. (I looked into adding some, starting with your AccuracyCoin testrom, but struggled to get the compiler chain to work in Nix.)

@YoshiRulz
YoshiRulz merged commit f9316af into TASEmulators:master Aug 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Core: NesHawk Nintendo Entertainment System (NES) / Famicom / Famicom Disk System (FDS) core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants