Page 1 of 1
2 x Refresh Speed
Posted: Tue Sep 01, 2009 12:15 am
by neilbaldwin
I really want to change the refresh speed of Nijuu to 120hz. Has anyone done it with their sound engine and what's best practice (i.e. I know calling the refresh routine twice in the NMI is NOT the way to go

)
Posted: Tue Sep 01, 2009 2:21 am
by thefox
Probably the best way to go would be sprite#0 hit. Can't think of anything else that would work on stock configuration without mapper supporting IRQs.
In NSF files you can simply edit the playback speed in the header.
Posted: Tue Sep 01, 2009 3:03 am
by Bregalad
Yeah I've been thinking about it a few times but I cam with no practical solution. NSF's can change refresh speed in the $80 byte header, but I don't know how many NSF players actually takes care of this byte, I suspect that many ignore it and are hardwired to 60Hz.
And without a mapper with IRQs availalbe, only choise left is Frame IRQ (which also happens at 60Hz so it's not of much use) or DMC IRQ, which is without a doubt the best option, if you don't use DMC for music of course.
Posted: Tue Sep 01, 2009 4:01 am
by neilbaldwin
thefox wrote:In NSF files you can simply edit the playback speed in the header.
Bregalad wrote:NSF's can change refresh speed in the $80 byte header,
/facepalm
Of course!
Posted: Thu Sep 03, 2009 9:48 am
by B00daW
Neil,
Only PowerPak NSF player and NSFplug or NSFplay pay attention to refresh rate, as far as I know.
I've created a few 120Hz NSFs and I'm working on one at the moment.
(P.S. -- Otherwise swamped and still looking at Nijuu slowly.)
Posted: Mon Sep 07, 2009 1:07 am
by neilbaldwin
B00daW wrote:Neil,
Only PowerPak NSF player and NSFplug or NSFplay pay attention to refresh rate, as far as I know.
I've created a few 120Hz NSFs and I'm working on one at the moment.
(P.S. -- Otherwise swamped and still looking at Nijuu slowly.)
Add "Game Music Box" to that list - it seems to cope with arbitrary refresh rates too.