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 on6/2/03 2:47 PM
From IP129.188.33.222  



One technique I used was to test against a known working core. I fitted my emulator engine to output in text form the contents of each register after every instruction. Then, I did the same thing with Neil Bradley's cpu core. I ran some test programs, which generated huge text files with the register values in them. I did a file compare to see where my results deviated from the known working core. This technique is easy to implement and will catch nearly every register and flag related problem. It will not catch problems which modify memory incorrectly, as logging the entire contents of memory on each instruction would consume too much disk space.



-
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