Blargg's saw wave DPCM IRQ demo in NSF2

Discuss NSF files, FamiTracker, MML tools, or anything else related to NES music.

Moderator: Moderators

Post Reply
User avatar
rainwarrior
Posts: 8732
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Blargg's saw wave DPCM IRQ demo in NSF2

Post 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
User avatar
za909
Posts: 249
Joined: Fri Jan 24, 2014 9:05 am
Location: Mijn hart woont al in Nederland

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

Post 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.
Post Reply