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

Add some tests #19

Open
AndreaOrru opened this issue Nov 29, 2016 · 5 comments
Open

Add some tests #19

AndreaOrru opened this issue Nov 29, 2016 · 5 comments

Comments

@AndreaOrru
Copy link
Owner

AndreaOrru commented Nov 29, 2016

At least check if it compiles correctly.

@kraln
Copy link
Contributor

kraln commented Nov 29, 2016

I would be super interested in tiny unit tests for each mapper. They'd have to be 6502, and the unit test suite would load each up. Then they would run their tests, and write the result to a special memory address to let the test suite know.

Does this even make sense?

@AndreaOrru
Copy link
Owner Author

Yes it does. Good stuff.

@kraln
Copy link
Contributor

kraln commented Dec 29, 2016

I found a fairly exhaustive set of tests called "Holy Diver Batman" It covers SxROM (1), UxROM (2), TxROM (4), AxROM (7), PNROM (9), FxROM (10), INL-ROM Action 53 (28), BNROM (34), NROM/CNROM/GNROM (66), JxROM (69), IF-12 (78.3), TxSROM (118), UxROM (180)

Binaries: http://pineight.com/nes/holydiverbatman-bin-0.01.7z
Source: http://pineight.com/nes/holydiverbatman-0.01.zip

@kraln
Copy link
Contributor

kraln commented Dec 30, 2016

Note: seems MMC1 and MMC3 fails the holy diver tests

More on testing here: https://wiki.nesdev.com/w/index.php/Emulator_tests

@kraln
Copy link
Contributor

kraln commented Dec 30, 2016

Also good targets for testing: http://wiki.nesdev.com/w/index.php/Tricky-to-emulate_games

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants