User talk:Sour: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 84: Line 84:
| square_timer_div2 ||
| square_timer_div2 ||
|-  
|-  
| test_apu_2 ||
|-
| test_apu_env ||
| test_apu_env ||
|-  
|-  

Revision as of 14:32, 7 January 2017

CPU Tests

branch_timing_tests
cpu_dummy_reads
cpu_dummy_writes
cpu_exec_space
cpu_interrupts_v2 tests the behavior and timing of CPU in the presence of interrupts, both IRQ and NMI; see CPU interrupts.
cpu_reset tests CPU registers just after power and changes during reset, and that RAM isn't changed during reset.
cpu_timing_test6
instr_misc tests some miscellaneous aspects of instructions, including behavior when 16-bit address wraps around, and dummy reads.
instr_test_v5 tests official and unofficial CPU instructions and lists which ones failed. It will work even if emulator has no PPU and only supports NROM, writing a copy of output to $6000 (see readme). This more thoroughly tests instructions, but can't help you figure out what's wrong beyond what instruction(s) are failing, so it's better for testing mature CPU emulators.
instr_timing tests timing of all instructions, including unofficial ones, page-crossing, etc.
nestest

PPU Tests

blargg_ppu_tests_2005.09.15b
full_palette displays the full palette with all emphasis states, demonstrates direct PPU color control
nmi_sync
oam_read
oam_stress
ppu_open_bus
ppu_sprite_hit
ppu_sprite_overflow
ppu_vbl_nmi tests the behavior and timing of the NTSC PPU's VBL flag, NMI enable, and NMI interrupt. Timing is tested to an accuracy of one PPU clock.
scanline
sprite_hit_tests_2005.10.05
sprite_overflow_tests
sprdma_and_dmc_dma
tvpassfail NTSC color and NTSC/PAL pixel aspect ratio test ROM
vbl_nmi_timing

APU Tests

apu_mixer verifies proper operation of the APU's sound channel mixer, including relative volumes of channels and non-linear mixing. recordings when run on NES are available for comparison, though the tests are made so that you don't really need these.
apu_reset tests initial APU state at power, and the effect of reset.
apu_sweep
apu_test tests many aspects of the APU that are visible to the CPU. Really obscure things are not tested here.
blargg_apu_2005.07.30
dmc_dma_during_read4
dmc_tests
dpcmletterbox
square_timer_div2
test_apu_2
test_apu_env
test_apu_sweep tests the sweep unit's add, subtract, overflow cutoff, and minimum period behaviors.
test_apu_timers
test_tri_lin_ctr
volume_tests plays tones on all the APU's channels to show their relative volumes at various settings of $4011. Package includes a recording from an NES's audio output for comparison.

Mapper-specific Tests

Misc Tests