This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade. View original topic
Fixing door door?
by Dwedit on 2008-09-18 (#37273)
Since Door Door's music driver is driven by APU Frame IRQ instead of vblanks, and also is very sensitive to what values are read back from the length counters, wouldn't a fixed NSF require a nonreturning init function?
Re: Fixing door door?
by Gil-Galad on 2008-09-30 (#37903)
Dwedit wrote:
Since Door Door's music driver is driven by APU Frame IRQ instead of vblanks, and also is very sensitive to what values are read back from the length counters, wouldn't a fixed NSF require a nonreturning init function?
I guess it does matter if the "Play" routine was called from NMI or IRQ, all it matters is that's it's called at a constant framerate (usually 60Hz or 50Hz) so that the NSF works.