It is currently Sun Oct 22, 2017 8:50 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: DMC
PostPosted: Mon Feb 14, 2005 2:31 pm 
Offline

Joined: Mon Sep 20, 2004 11:13 am
Posts: 134
Location: Sweden
Disch mentioned Mig-29 and reminded me of the agony related to emulating that godforsaken game. :) I've been tinkering with it since the day I added the DMC but I still can't make it look like it does on a real NES. I've only got a PAL NES to test with though, I'm not sure exactly what glitches are supposed to be present on NTSC.

Anybody got a clue yet as to why the DMC IRQ clocks have to be converted like this? (from Nestopia's source)
Code:
NES_DMC_DMA_NTSC( 0xD60 - (0x00 ^ 0xF0) - 0x10 ),
NES_DMC_DMA_NTSC( 0xBE0 - (0x10 ^ 0xF0) - 0x10 ),
NES_DMC_DMA_NTSC( 0xAA0 - (0x20 ^ 0xF0) - 0x10 ),
NES_DMC_DMA_NTSC( 0xA00 - (0x30 ^ 0xF0) - 0x10 ),
NES_DMC_DMA_NTSC( 0x8F0 - (0x40 ^ 0xF0) - 0x10 ),
NES_DMC_DMA_NTSC( 0x7F0 - (0x50 ^ 0xF0) - 0x10 ),
NES_DMC_DMA_NTSC( 0x710 - (0x60 ^ 0xF0) - 0x10 ),

I just do it because otherwise the Codemasters games won't work. That isn't really a good reason, I'd like to hear some logic behind it.


Top
 Profile  
 
 Post subject: Re: DMC
PostPosted: Mon Feb 14, 2005 11:26 pm 
Offline

Joined: Mon Sep 27, 2004 11:51 pm
Posts: 101
Nestopia would not be the best source for accurate DMC emulation. Try something like Blargg's sound library or something, since it can run Blargg's tests performed on real hardware (which happen to run flawlessly on my emulator, so you can use that as a reference).

_________________
http://hydesprojects.cjb.net/


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 15, 2005 11:58 am 
Offline

Joined: Mon Sep 20, 2004 11:13 am
Posts: 134
Location: Sweden
Indeed, aNESe seems to handle DMC IRQs perfectly. :) I'd like to check out your source but I couldn't find it anywhere on your site.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 15, 2005 1:03 pm 
Offline

Joined: Mon Sep 27, 2004 11:51 pm
Posts: 101
I will post it somewhere today and let you know about it.

_________________
http://hydesprojects.cjb.net/


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 15, 2005 3:32 pm 
Offline

Joined: Mon Sep 27, 2004 11:51 pm
Posts: 101
Source code and a new binary have been uploaded to my site.

_________________
http://hydesprojects.cjb.net/


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 16, 2005 1:15 pm 
Offline

Joined: Mon Sep 20, 2004 11:13 am
Posts: 134
Location: Sweden
Nice, I'll have a look.
Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: Bing [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group