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

Previous ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectPPU hacking with hblank  
Posted byMemblers
Posted on9/17/03 8:10 PM
From IP68.58.99.218  



I think there are different ways to push it that haven't been tried yet. :)
In the realm of software, I think much can be done with the (limited) hblank time available.

There are some nice possibilities if we can get an IRQ for every hblank. I've written code to change part of the palette on every scanline, and that's easy as long as you don't mind trashing the BG graphics.

With a table of 'proper' values to put to $2006 on every line, it should be possible to not trash the BG graphics. But hblank time is very short..

I was thinking the other day, wouldn't it be possible to increase the amount of colors + color resolution on the screen by alternating between changing the palette on one scanline, then changing the attribute table on the next? Attribute table resolution would then be 16x2, and if we're lucky we could also change 2 colors in the palette every couple of scanlines.

I'd point the IRQ vector to RAM, so every LDA instruction could load an immediate value (save a cycle). After the PPU stuff is done, it would then load from a table to set the IRQ routine up for the next hblank (yay, self-modifying code).

That would be pretty cool for still pictures. (Maybe a game background, too?) I don't know how to make a program to convert a picture to format to work with this, though. I'd pretty much have to do it manually, which would kinda suck.



-
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