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

Emulator can't load roms larger than 40kb #22

Open
ghost opened this issue Nov 17, 2019 · 2 comments
Open

Emulator can't load roms larger than 40kb #22

ghost opened this issue Nov 17, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 17, 2019

Emulator simply crashes without any clue

@TediusTimmy
Copy link

TediusTimmy commented Nov 22, 2019

That they are greater than 40k implies that they are not using iNES mapper 0, which is the only one he has pushed code for.

The ImageValid function should be returning false, and his example OnUserCreate functions then return false. I don't know why it crashes, but I do know that it shouldn't even try to run such a ROM.

@SirGouki
Copy link

Theoretically, with proper bank switching, a ROM could be any size in multiples of the limit of the memory the NES could access from the ROM. You'd only load the bank that the switcher points to at once. Realistically, you'd be limited by the amount of power that such a board could draw from the NES without burning it up, and the size of the board you'd be placing these chips on.

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

2 participants