Skip to content
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

Garbled graphics in demo when using FME-7 mapper #1

Open
Kagamiin opened this issue Feb 21, 2023 · 0 comments
Open

Garbled graphics in demo when using FME-7 mapper #1

Kagamiin opened this issue Feb 21, 2023 · 0 comments

Comments

@Kagamiin
Copy link
Owner

image

Due to the FME-7 mapper handling being very CPU-intensive during the sample interrupts, there's not enough time during VBlank to copy 64 bytes to nametable RAM. As such, the PPU stripe routine ends up running into active screen time and corrupting nametable RAM as well as the vertical scroll position.

Setting the amount of bytes to copy per frame to 32 does make the issue disappear. The problem is I didn't find a way to define the amount of bytes to copy to 32 at link time, since the MAPPER_FME7 declaration in the linker config seems kinda useless.

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

No branches or pull requests

1 participant