- After 29830 cpu cycles, the test rom reads 4015h (lda $4015) to verify the frame irq flag. I'm with a problem: by default, the apu clocks before the cpu reads 4015h, causing the test rom to fail. I wonder if is this a cpu bug or a condition to set the irq flag later..?
Code:
Step 4
29830 Set frame irq
-4015h reads 40 (should be 00)
29831 Clock linear & length and set frame irq
29832 Set frame irq
29830 Set frame irq
-4015h reads 40 (should be 00)
29831 Clock linear & length and set frame irq
29832 Set frame irq