Page 1 of 1

Blargg's saw wave DPCM IRQ demo in NSF2

Posted: Sun Mar 10, 2019 2:45 pm
by rainwarrior
Since NSF2 is now implemented in NSFPlay 2.4 beta 12, I decided to port one of the often cited examples of things that NSF2 would be good for to it.

Blargg's saw wave DPCM IRQ demo used the DPCM IRQ to generate saw waves and play a tune.

Here it is in NSF(2) form:
https://github.com/bbbradsmith/nes-audi ... w_song.nsf

Source code at:
https://github.com/bbbradsmith/nes-audi ... saw_song.s

Re: Blargg's saw wave DPCM IRQ demo in NSF2

Posted: Thu Mar 21, 2019 1:11 am
by za909
This is quite a significant development. The implementation of the things like SuperNSF and Deflemask drivers could become much better organized by using the cycle-IRQ feature.