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

Previous ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectPixel Writing  
Posted byLaughy
Posted on8/19/03 03:38 AM
From IP67.121.107.37  



I was wondering how people handle the pure pixel core of their ppus. Since the instructions within this core are executing more than 3,500 times a millisecond, it is imperative they run as fast as possible. I imagine the fastest one could hope to do their pixel writing would be:

get 1st pixel color from the tables and shift it left by one
get 2nd pixel color from the tables and add it to the 1st
add the total to the color for the 8x8 pixel square the pixel is in
Get the NES color by going into memory and taking Memory[$3F00 + Color]
Index this color into an RGB Table
Set a screen pixel buffer to the Integer RGB Table value

I was wondering if anyone had any tricks or such they use to speed up one of these steps significantly, with assembly or otherwise. Is it possible to do these at any time before rendering of the pixels to speed up the drawing?

Thanks guys. :)



-
Entire Thread
Subject  Posted byPosted On
.Pixel Writing  Laughy8/19/03 03:38 AM
.*Re: Pixel Writing  Big Time8/19/03 06:18 AM
..*Re: Pixel Writing  Big Time9/6/03 7:00 PM
..*Re: Pixel Writing  Laughy8/29/03 00:11 AM
...*Re: Pixel Writing  Big Time8/29/03 00:41 AM
..*Re: Pixel Writing  Laughy8/19/03 06:58 AM
...*Re: Pixel Writing  TimW8/20/03 06:38 AM
....*Re: Pixel Writing  TimW8/28/03 6:25 PM
.....*Re: Pixel Writing  Big Time8/28/03 11:44 PM
......*Re: Pixel Writing  TimW8/30/03 06:04 AM
.......*Re: Pixel Writing  Big Time8/30/03 5:18 PM
........*Re: Pixel Writing  TimW8/31/03 11:31 AM
....*Re: Pixel Writing  Big Time8/20/03 2:33 PM
Jump to

Memblers' homepage             Contact Me

Forums powered by WWWThreads Demo