Paulo Silva

converting a picture into patterns and namespace

Based on some converters i did for other computer/console systems (msx, zx-spectrum, c64, samcoupe, etc.), and in a need of trying to understand a bit more of the NES hardware, and trying to get the most of a static display, without lacing or synchronized line interruptions (like from some NES demos), i started to develop a converter for that - it's still very incomplete, since it's still not very efficient on choosing the most unique and repeated 256 cells from 960, and it doesn't saves yet the result as patterns (i still don't know well the limitations) and namespace files.


(picture sample worked over a wallpaper from http://www.aisleone.net/wallpapers/ - http://www.thegridsystem.org/ )

sdlBasic source at http://pastebin.com/am5j5NwE

Views: 4

Tags: converter, picture

Comment

You need to be a member of PLAYPOWER Volunteer Network to add comments!

Join PLAYPOWER Volunteer Network

Paulo Silva Comment by Paulo Silva on March 10, 2010 at 2:19pm
thank you, but the code is still very embrionary and plenty of mistakes - for example, i didn't know how the colours and attributes works on NES when coded this... :| - but having a better algorythm can extract and combine the 4 groups of 13 colours (3 in each and 1 shared from all), i think the code will be hugelly more efficient...
James Derek Lomas Comment by James Derek Lomas on March 10, 2010 at 1:16pm
This is cool. Kishan has been working on something similar. I think he'll post the code soon.

© 2012   Created by Daniel Rehn.   Powered by .

Badges  |  Report an Issue  |  Terms of Service