Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > PAL emulation library or command line tool
2015-04-02 13:41
Perplex

Registered: Feb 2009
Posts: 255
PAL emulation library or command line tool

I'm working on a tool where I am generating C64 images in PNG format (320x200, 16 colors) for use on the web. To make the images look better, I'd like to apply a PAL emulation filter on them, maybe also scale them to double size in the process.

Does a library or command line tool (preferable written in C, but at least portable) exist for this kind of thing, or do I have to roll my own? I guess I could take a look at the VICE code, but it would save me some time if there was something ready to use already.
2015-04-02 15:28
algorithm

Registered: May 2002
Posts: 705
Groepaz has created something of this nature iirc. But not released
2015-04-02 15:37
Grue

Registered: Dec 2001
Posts: 162
something like this?

http://sourceforge.net/projects/view64/
2015-04-02 16:35
Knut Clausen

Registered: Apr 2013
Posts: 18
@Perplex, not sure if you've seen this, but I guess It contains necessary info if you decide to roll your own stuff:
http://hitmen.c02.at/temp/palstuff/
Seems like Groepaz has some code that might be doing what you need, as Algorithm said, though.
2015-04-02 17:32
chatGPZ

Registered: Dec 2001
Posts: 11386
i do have some reference code indeed - however it is slow and ugly and not really suited neither for release nor use in a real program. i hacked up some commandline tool for veto some time ago, no idea if he even ever used that =P... whatever, leave me a mail and we can work something out :) i wouldnt mind releasing the whole thing (with source) at all, just not in this terrible state =)
2015-04-02 18:22
Perplex

Registered: Feb 2009
Posts: 255
Quote: something like this?

http://sourceforge.net/projects/view64/


view64 seems to be exactly what I need, provided I convert my source images to koala format first, and I already have code for that in my toolbox. Thanks!

Groepaz: It would be great to get preview images exactly like they would look in the emulator. I wouldn't mind helping out when I get some spare time.
2015-04-02 18:27
chatGPZ

Registered: Dec 2001
Posts: 11386
check http://hitmen.c02.at/temp/palstuff/ at the bottom, and the links at the top of the page
2015-04-02 18:40
algorithm

Registered: May 2002
Posts: 705
Groepaz. If it does the job that's all that matters regardless of how messy the code may be
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
MWR/Visdom
Copyfault/Extend^tsn..
McMeatLoaf
Mike
Scrap/Genesis Project
katon/Lepsi De
t0m3000/hf^boom!^ibx
Chesser/Blazon
iAN CooG/HVSC
Walt/Bonzai
Magic/Nah-Kolor
saimo/RETREAM
Steffan/BOOM!
Andy/AEG
Freeze/Blazon
4gentE/ΤRIΛD
hedning/G★P
LightSide
Guests online: 112
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 Fungus  (9.8)
5 S!R  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.05 sec.