NESDev and Strangulation Records messageboards
Forum Index | FAQ | New User | Login | Search

Previous ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectRe: DMC Saw and Square without hogging CPU  
Posted byAnonymous
Posted on11/28/03 11:34 AM
From IP130.236.245.71  



I didn't even realized it didn't work. Now that I think about it though, you are most likely right in your theory of the sample IRQ occurring "too early". It just occurred to me that when I added a sample IRQ to Years Behind a few months ago, I think using a sample length of 1 byte triggered an immediate IRQ, because I was not able to use that sample length no matter how slow a pitch I set the DMC too. Another problem that I noticed (which wasn't such a big deal for YB) was that I couldn't get the DMC "in sync". That is, to make it always interrupt at the exact number of clock cycles that have passed after I started playing the sample... it was always a few scanlines off. I tried writing $4017 and some other things to reset its "phase", but it didn't seem to help.

I haven't done any deeper investigation of the DMCs behavior though, just what was needed to make my code work. If you wish to do some deeper analysis of the DMC and write some diagnostic program, I'll be happy to test it on my console for you. I can't guarantee my EPROM emulator will be working any time though. It dies on me quite often, fixing itself after I've examined it with a multimeter without finding any errors... =/

// Bananmos



-
Entire Thread
Subject  Posted byPosted On
*DMC Saw and Square without hogging CPU  blargg11/24/03 12:33 PM
.*Re: DMC Saw and Square without hogging CPU  Anonymous11/27/03 11:09 PM
..*Re: DMC Saw and Square without hogging CPU  blargg11/28/03 06:52 AM
....Re: DMC Saw and Square without hogging CPU  Anonymous11/28/03 11:34 AM
....*Re: DMC Saw and Square without hogging CPU  Memblers11/28/03 7:41 PM
.....*Re: DMC Saw and Square without hogging CPU  blargg11/28/03 11:30 PM
......*Re: DMC Saw and Square without hogging CPU  Memblers12/3/03 10:37 PM
.......*Re: DMC Saw and Square without hogging CPU  blargg12/4/03 00:21 AM
........*Finally works on NES hardware!  blargg12/4/03 09:35 AM
.........*Re: Finally works on NES hardware!  tepples12/4/03 4:21 PM
..........*Re: Finally works on NES hardware!  blargg12/5/03 00:21 AM
...........*Re: Finally works on NES hardware!  tepples12/5/03 01:30 AM
............*Re: Finally works on NES hardware!  Memblers12/6/03 01:32 AM
.............*Re: Finally works on NES hardware!  blargg12/6/03 10:46 PM
..............*Re: Finally works on NES hardware!  blargg12/7/03 09:27 AM
...............*Re: Finally works on NES hardware!  Memblers12/7/03 10:33 PM
........*Re: DMC Saw and Square without hogging CPU  Memblers12/4/03 06:00 AM
.........*Re: DMC Saw and Square without hogging CPU  Disch12/4/03 08:19 AM
........*Re: DMC Saw and Square without hogging CPU  tepples12/4/03 04:32 AM
.*Re: DMC Saw and Square without hogging CPU  Memblers11/24/03 9:46 PM
..*Re: DMC Saw and Square without hogging CPU  blargg11/25/03 06:31 AM
...*Re: DMC Saw and Square without hogging CPU  Memblers11/25/03 10:40 AM
....*Re: DMC Saw and Square without hogging CPU  blargg11/25/03 2:59 PM
.....*Re: DMC Saw and Square without hogging CPU  Anonymous11/25/03 4:15 PM
......*Re: verifying DMC IRQ timing  blargg11/25/03 10:41 PM
.......*Re: verifying DMC IRQ timing  Xodnizel11/25/03 11:01 PM
........*Re: verifying DMC IRQ timing  Memblers11/26/03 11:07 AM
.........*Re: verifying DMC IRQ timing  Memblers11/27/03 07:25 AM
Jump to

Memblers' homepage             Contact Me

Forums powered by WWWThreads Demo