FCEUX with Dendy-mode

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

User avatar
feos
Posts: 107
Joined: Tue Apr 19, 2011 11:26 am
Location: RU
Contact:

Re: FCEUX with Dendy-mode

Post by feos »

So we were messing around A LOT with overclocking, and everything worked alright... except for DMC.

It seems, it's being written values directly by the game, and if it runs for 290 scanlines per frame, instead of 240, it runs too far with DMC samples too, and the next frame, the sample that it was writing gets cut and resumes from a wrong place.

It's writing samples to other channels too, but they have fixed notes per entire frame, so I just made it not increment the location in WaveHi during our dummy scanlines, and it works as expected. But with all that DMC/DMA stuff, I'm really stuck.
User avatar
feos
Posts: 107
Joined: Tue Apr 19, 2011 11:26 am
Location: RU
Contact:

Re: FCEUX with Dendy-mode

Post by feos »

Bregalad wrote:I am not sure if this is related, but I've had problems for debugging my programs with this version of FCEUX. It mostly works, but sometimes it does not break when it should. I am not sure what causes this bug. I am breaking on reads from ROM, and sometimes it does not trigger, even though I am sure a particular address is read at some point.
Can I stably reproduce it?
User avatar
Dwedit
Posts: 4470
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Re: FCEUX with Dendy-mode

Post by Dwedit »

I think I've seen that bug in the regular versions of FCEUX.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
User avatar
Eugene.S
Posts: 310
Joined: Sat Apr 18, 2009 4:36 am
Location: Russia (UTC+3)
Contact:

Re: FCEUX with Dendy-mode

Post by Eugene.S »

Added dendy-mode for SDL in lastest r3134 svn
Post Reply