NESDev and Strangulation Records messageboards
Forum Index | FAQ | New User | Login | Search

Previous ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectRe: Emulator testing ROMs?  
Posted byteaguecl
Posted on5/29/03 3:47 PM
From IP136.182.2.221  



Nestress (and all other test roms I've seen) require a great deal of stuff to be working before they are helpful. They are great for checking high level stuff, like sprite 0 detection, number of sprites on a scanline etc. They are not good at, or intended for, testing lower level things like the correctness of each opcode. I had begun to design such a ROM last summer, but quickly lost interest. The idea was to manually test 3 or 4 opcodes to guarantee that they worked. Then, a set of test ROMS could be run. The first ROM in the set assumed that the opcodes which were manually tested worked, and used them to validate several more opcodes. Each successive ROM in the set assumed that all of the opcodes covered by the previous ROMs worked 100% flawlessly, and used them to test some others. What I found was that the bookkeeping required to figure out which tests required which instructions was way more complicated than I originally thought. Additionally, you need to run several tests for each opcode to make sure the flags are set correctly in all situations. I would be interested in continuing this work if there is anyone who would find it useful. I was originally writing it to test my CPU core, but it turns out that running demos and games tests that stuff well enough to get good results.



-
Entire Thread
Subject  Posted byPosted On
*Emulator testing ROMs?  Anonymous5/28/03 9:19 PM
..Re: Emulator testing ROMs?  teaguecl5/29/03 3:47 PM
.*Re: Emulator testing ROMs?  Andimoth5/29/03 01:54 AM
..*Re: Emulator testing ROMs?  Anonymous6/1/03 00:39 AM
...*Re: Emulator testing ROMs?  teaguecl6/2/03 2:47 PM
....*Re: Emulator testing ROMs?  Big Time6/2/03 5:58 PM
..*Re: Emulator testing ROMs?  quietust5/29/03 02:49 AM
Jump to

Memblers' homepage             Contact Me

Forums powered by WWWThreads Demo