Menu

#374 blargg NTSC filter patch

future
open
nobody
None
5
2016-11-21
2016-07-26
No

matja on WoS has posted a patch to add support for the blargg NTSC filter to Fuse.

Hi specchums, I've created a patch for Fuse 1.2.1 which adds a scaler which simulates shimmering/composite/RF artifacts like a real speccy outputting to a TV.

This started as a little experiment about a week ago, but ended up working pretty much how I wanted it to, so I'll put the code here so anyone can play with it.

I used Blargg's excellent snes_ntsc library ( http://slack.net/~ant/libs/ntsc.html ), which despite its name, gives rather similar artifacts to a speccy with PAL composite output.

I've only implemented the GTK UI code, and only tested it on a couple of Linux machines with GTK, so portability would seem to be rather limited, but the scaler itself should work on anything with a 24-bit display.

Download the patch here

How to compile :

tar xf fuse-1.2.1.tar.gz
cd fuse-1.2.1
patch -p1 < fuse-1.2.1.blargg-snes-ntsc.patch 
autoreconf --force --install
automake
./configure --prefix=<where-your-libspectrum-is-installed>
make install

Enough words, time for pics:

Mega-Text demo, Your Sinclair issue 21 with Blargg NTSC 3x filter:
megatext.blargg3x.png

compared to standard PAL TV 3x filter:
megatext.paltv3x.png

Animated dot-crawl :
outrun.gif

Manic miner close-up :
manic.png
Artifacts/fringing shimmer :
1982.gif

Filter options :
options.png

7 Attachments

Related

Wiki: Fuse 1.3.2 Release Plan
Wiki: Fuse 1.3.3 Plan
Wiki: Fuse 1.3.4 Release Plan
Wiki: Fuse 1.3.5 Release Plan
Wiki: Fuse 1.3.6 Release Plan
Wiki: Fuse 1.3.7 Release Plan
Wiki: Fuse 1.3.8 Release Plan
Wiki: Fuse 1.4.0 Release Plan
Wiki: Fuse 1.4.1 Release Plan
Wiki: Fuse 1.5.0 Release Plan
Wiki: Fuse 1.5.1 Release Plan
Wiki: Fuse 1.5.2 Release Plan
Wiki: Fuse 1.5.3 Release Plan
Wiki: Fuse 1.5.4 Release Plan
Wiki: Fuse 1.5.5 Release Plan
Wiki: Fuse 1.5.6 Release Plan
Wiki: Fuse 1.5.7 Release Plan
Wiki: Fuse 1.6.0 Release Plan
Wiki: Fuse Next Release Plan

Discussion

  • Fredrick Meunier

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -23,24 +23,21 @@
     > Enough words, time for pics:
     > 
     > Mega-Text demo, Your Sinclair issue 21 with Blargg NTSC 3x filter:
    -> megatext.blargg3x.png
    -> This image has been resized to fit in the page. Click to enlarge.
    +> [[img src=megatext.blargg3x.png alt=megatext.blargg3x.png]]
     > 
     > 
     > compared to standard PAL TV 3x filter:
    -> megatext.paltv3x.png
    -> This image has been resized to fit in the page. Click to enlarge.
    +> [[img src=megatext.paltv3x.png alt=megatext.paltv3x.png]]
     > 
     > 
     > Animated dot-crawl :
    -> outrun.gif
    -> This image has been resized to fit in the page. Click to enlarge.
    +> [[img src=outrun.gif alt=outrun.gif]]
     > 
     > 
     > Manic miner close-up :
    -> manic.png
    -> 
    +> [[img src=manic.png alt=manic.png]] 
     > Artifacts/fringing shimmer :
    -> 1982.gif
    +> [[img src=1982.gif alt=1982.gif]]
     > 
     > Filter options :
    +> [[img src=options.png alt=options.png]]
    
     
  • Fredrick Meunier

    I've pushed this to [c17d3a1] on the patches-374-blargg-ntsc-filter-patch branch.

    I think it needs some more polishing but it looks like a fun addition to Fuse.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.