Hello all,
My emu is becoming extremely complex. Especially now that I've implemented a bunch of mappers. The code is very modular but there's always the chance that making a change in one module will drastically affect another - and not necessarily in a good way.
Whenever I make a fairly large number of changes to my design (especially if it's a PPU/CPU core change/fix) I very tediously go through and test a subset of all of the games that I have available and ensure that I didn't break one that was previously working. As you can imagine this takes a considerable amount of time....and to be honest, it's starting to wear me out.
Can any of you suggest a better way of verifying my emu? Keep in my that I have the fairly unique case that my emu is implemented in hardware (FPGA) not software. Right now I have the ability to load ROMs over a UART port on the board. I could at a minimum write a script to load the various ROMs one after another...but is there a way to automatically have a script determine that the game actually "worked" without me have to look at (and/or play) each one?
Maybe I shouldn't even worry about actual games right now...maybe just the available CPU/PPU test ROMs (e.g. Blargg's)?
Any suggestions would be very much appreciated.
Thanks!
Jonathon
My emu is becoming extremely complex. Especially now that I've implemented a bunch of mappers. The code is very modular but there's always the chance that making a change in one module will drastically affect another - and not necessarily in a good way.
Whenever I make a fairly large number of changes to my design (especially if it's a PPU/CPU core change/fix) I very tediously go through and test a subset of all of the games that I have available and ensure that I didn't break one that was previously working. As you can imagine this takes a considerable amount of time....and to be honest, it's starting to wear me out.
Can any of you suggest a better way of verifying my emu? Keep in my that I have the fairly unique case that my emu is implemented in hardware (FPGA) not software. Right now I have the ability to load ROMs over a UART port on the board. I could at a minimum write a script to load the various ROMs one after another...but is there a way to automatically have a script determine that the game actually "worked" without me have to look at (and/or play) each one?
Maybe I shouldn't even worry about actual games right now...maybe just the available CPU/PPU test ROMs (e.g. Blargg's)?
Any suggestions would be very much appreciated.
Thanks!
Jonathon