rainwarrior
Member for: 5559 days Location: Canada Status: Offline
#57445
He actually said yes, sort of. No to it being a feature of Famitracker, but yes to helping modify an NSF to do it.
Hacking a handful of NSFs is probably less work in the long run than maintaining it as a feature.
jrlepage
Moderator
Member for: 6392 days Location: Canada Status: Offline
#57446
rainwarrior wrote:
No to it being a feature of Famitracker
That's exactly what I meant.
_______________________
Follow me on Twitter .
I record (some) NSFs on hardware. Feel free to request a hardware render .
kingcandy
Member for: 4453 days Status: Offline
#57534
Ok, jsr, now that I submitted an nsf here, how do I modify the rutine so it plays at an increasingly faster speed?
jsr
Administrator
Member for: 7334 days Location: Sweden Status: Offline
#57601
It's quite easy actually. Get the latest NSF sources , open player.s and go to line 126, where the code is for handling song restart. To increase tempo by one, you may add this code:
Quote:
inc var_Tempo
jsr ft_calculate_speed
Then all you need to do is to follow rainwarrior's guide to make the NSF .
_______________________
Programmer and developer
Posted: 2014-05-22 23:39 (Last Edited: 2014-05-23 00:25 )
Reply |
Quote
kingcandy
Member for: 4453 days Status: Offline
#57607
I tried that, but the nsf was silent, and the nes rom generated
garbage.
edit: I got the nes rom to compile, but even with the modification, the tempo isn't increasing like it should. am I doing something wrong?
rainwarrior
Member for: 5559 days Location: Canada Status: Offline
#57612
you probably want to add more than 1 to the temo (inc var_Tempo puts a +1 on it)
replace "inc var_Tempo" with:
lda var_Tempo
clc
adc #13
sta var_Tempo
This will increase tempo by 13 each time. Change it to a value you like.
kingcandy
Member for: 4453 days Status: Offline
#57613
tried that but the nsf broke.