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

Previous ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectRe: PPU hacking with hblank  
Posted byMemblers
Posted on9/17/03 11:17 PM
From IP68.58.99.218  



I'm not sure. I tried an experiment with sample playing on the MMC3 IRQ on some emulators a while back, and I was getting half the samplerate I was expecting. Either it was only doing an IRQ every 2 scanlines, or my code was messed up, but I didn't explore it much further.

The real trick is in getting the PPU code execute only during hblank. It's a time frame of about 21 cycles per scanline. I need to figure out some way to make an IRQ occur at the same point on every scanline (preferably shortly before hblank begins).

The Maxicart's IRQ is (hopefully) going to do something like this. It would trigger an IRQ when the PPU fetches pattern data from a specific tile.

I could do it with timed code, but then it's not as usable as it could be, with all those delay loops wasting CPU time.



-
Entire Thread
Subject  Posted byPosted On
*The outer limits  Happy_Dude9/17/03 5:04 PM
.*PPU hacking with hblank  Memblers9/17/03 8:10 PM
..*Re: PPU hacking with hblank  Big Time9/21/03 6:44 PM
...*Re: PPU hacking with hblank  Memblers9/22/03 00:02 AM
....*Re: PPU hacking with hblank  Anonymous9/22/03 03:35 AM
.....*making progress  Memblers9/22/03 06:31 AM
......*Re: making progress  Memblers9/22/03 07:33 AM
.......*Re: making progress  Memblers9/22/03 6:01 PM
........*Re: making progress  Memblers9/23/03 11:21 PM
.....*Re: PPU hacking with hblank  Laughy9/22/03 04:23 AM
......*Re: PPU hacking with hblank  Anonymous9/23/03 01:49 AM
..*Re: PPU hacking with hblank  phoenix9/17/03 10:41 PM
....Re: PPU hacking with hblank  Memblers9/17/03 11:17 PM
....*Re: PPU hacking with hblank  loopy9/18/03 01:29 AM
.....*Re: PPU hacking with hblank  Laughy9/18/03 02:24 AM
......*Re: PPU hacking with hblank  Memblers9/18/03 9:47 PM
.......*Re: PPU hacking with hblank  loopy9/19/03 01:54 AM
........*Re: PPU hacking with hblank  Memblers9/19/03 8:11 PM
.........*Re: PPU hacking with hblank  Memblers9/19/03 8:12 PM
..........*Re: PPU hacking with hblank  Memblers9/20/03 11:52 PM
...........*Re: PPU hacking with hblank  Marty9/27/03 1:48 PM
...........*Re: PPU hacking with hblank  Memblers9/21/03 05:11 AM
..*Re: PPU hacking with hblank  Laughy9/17/03 9:31 PM
Jump to

Memblers' homepage             Contact Me

Forums powered by WWWThreads Demo