The MISHAP Tile Scaling Algorithm

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems.

Moderator: Moderators

Post Reply
User avatar
jargon
B&: This is not your blog
Posts: 208
Joined: Fri Dec 07, 2007 11:40 pm
Location: 480/85260
Contact:

The MISHAP Tile Scaling Algorithm

Post by jargon »

The MISHAP Tile Scaling Algorithm

progress thus far:

Image
Cheers,
Timothy Robert Keal alias jargon

Image
Miser's House Anthology Project
User avatar
Bregalad
Posts: 8036
Joined: Fri Nov 12, 2004 2:49 pm
Location: Caen, France

Post by Bregalad »

This could be usefull to port NES graphics to C64, where the resolution halves horizontally when using multi-color mode.
Useless, lumbering half-wits don't scare us.
User avatar
jargon
B&: This is not your blog
Posts: 208
Joined: Fri Dec 07, 2007 11:40 pm
Location: 480/85260
Contact:

Post by jargon »

Bregalad wrote:This could be usefull to port NES graphics to C64, where the resolution halves horizontally when using multi-color mode.
MISHAP is indeed a dual Commodore 64 / Nintendo Entertainment System release that I am developing.
Cheers,
Timothy Robert Keal alias jargon

Image
Miser's House Anthology Project
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

Bregalad wrote:This could be usefull to port NES graphics to C64, where the resolution halves horizontally when using multi-color mode.
Or CGA, Apple II hi-res, or any other video system that uses "artifact colors" of exactly half the width of an NTSC color cycle. (NES pixels are 2/3 of a cycle wide.)
User avatar
jargon
B&: This is not your blog
Posts: 208
Joined: Fri Dec 07, 2007 11:40 pm
Location: 480/85260
Contact:

Post by jargon »

tepples wrote:
Bregalad wrote:This could be usefull to port NES graphics to C64, where the resolution halves horizontally when using multi-color mode.
Or CGA, Apple II hi-res, or any other video system that uses "artifact colors" of exactly half the width of an NTSC color cycle. (NES pixels are 2/3 of a cycle wide.)
i plan on working out the kinks on half by half, for best clarity, then when i am done with that i will work out how to do arbitary down-scaling.

for airbrushed up-scaling, that is an entirely different algorithm i have irregularly been working on called 'Damascus'. I first started doing major work on the Damascus Filter back when i used to have CVS access for zSNES before it went GPL.

only two four major issues with Damascus, currently, it can only scale up multiples of 100% per axis, it requires 64bit floating point operations, it eats a lot of cpu, and it doesn't have the HSV correction yet that it requires.

Disregarding the lack of HSV correction, it airbrushes all the way to 800x zoom (80000%) and beyond with no other flaws.

however it should be noted that Damascus does not work well for less than 6bpp (bit-per-plane) RGB.

if i had some pictures of what the result of a Damascus airbrush looks like i'd share them, but currently i am having issues with VESA support. :/
Cheers,
Timothy Robert Keal alias jargon

Image
Miser's House Anthology Project
Post Reply