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 byMemblers
Posted on11/25/03 10:40 AM
From IP68.58.99.218  



I don't have the hardware to test it, I know some people who do, though. I'll put this code into a ROM and post it here soon.

Setting D7 of $4017 should be OK from what the docs say, all I know for sure is one of my programs that used the DMC IRQ was working when I set it to $C0.

There would be some variations with exactly when the IRQ code runs, since it will have to wait until the CPU finishes it's current instruction (usually varying between 5 and 2 cycles long). I don't know how noticable that would be, but an idle loop of NOPs might be helpful if that's the case.

Yeah, playing an NSF on NES requires a small bit of control code. All the vector-related stuff must be handled by that. I was able to play an NSF with IRQs on FCEU, but it didn't work on some NSF-only players that I tried.



-
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