Cbm picture formats

Basic and Machine Language

Moderator: Moderators

Post Reply
terry
Vic 20 Newbie
Posts: 10
Joined: Sun Dec 30, 2007 5:21 am

Cbm picture formats

Post by terry »

Hey are there any Vic-20 programs that will display any of the C=64 graphics files, including: .gif, jpeg,bitmap?

A fella I think in either Denmark Pasala Ojali or something like that, he also wrote the gunzip/zip code for packing/unpacking these formats,
He also wrote 2 really cool programs in C. One will convert the graphics, the other program will display a .gif on a Vic20. Does anyone have this program?

terry
carlsson
Class of '6502
Posts: 5516
Joined: Wed Mar 10, 2004 1:41 am

Post by carlsson »

You are looking for Pasi Ojala from Finland, also known as Albert of Pu-239. The program you're looking for is VIC20Gfx: http://www.cs.tut.fi/~albert/Dev/vicgfx/

It is not really a full-fledged GIF viewer. It converts any picture (through first converting it to PPM format) to something viewable on the VIC-20. From there, Albert wrote a back converter to IFF ILBM which I modified to output PPM files to further convert to GIF, a kind of preview of how the picture will look on the VIC-20. In theory this particular GIF should be possible to re-convert to VIC-20 format, but it is more a proof of concept than useful.
Anders Carlsson

Image Image Image Image Image
terry
Vic 20 Newbie
Posts: 10
Joined: Sun Dec 30, 2007 5:21 am

Post by terry »

carlsson wrote:You are looking for Pasi Ojala from Finland, also known as Albert of Pu-239. The program you're looking for is VIC20Gfx: http://www.cs.tut.fi/~albert/Dev/vicgfx/

It is not really a full-fledged GIF viewer. It converts any picture (through first converting it to PPM format) to something viewable on the VIC-20. From there, Albert wrote a back converter to IFF ILBM which I modified to output PPM files to further convert to GIF, a kind of preview of how the picture will look on the VIC-20. In theory this particular GIF should be possible to re-convert to VIC-20 format, but it is more a proof of concept than useful.
Hi Anders Carlson: Were these programs though in C code? Are these programs already compiled and ready to use? If not compiled could you compile these for me and email them to me? Thanks for the info Anders like I mentioned I had seen Pasi Ojala's info of this on his website but didnt understand that, so thanks for explaining that to me.
Also will these programs run on an "unexpanded" Vic-20 or at least 16K memory expansion?

-Terry
carlsson
Class of '6502
Posts: 5516
Joined: Wed Mar 10, 2004 1:41 am

Post by carlsson »

Yes, you need a C compiler. I think Pasi has included Windows compatible executables (run in a command shell) as well, but right now his web site is down for maintainance.

As far as I remember, pictures generated with the program require +8K or more memory because the full 4K in an unexpanded VIC is used up with graphic data. As shown in the VIMMII demo, the pictures can be displayed on an unexpanded VIC if the viewer program is stored in the lower 1K but it is only useful in a multi-loading demo, not so much if you load the picture standalone.

See also this thread:
http://sleepingelephant.com/v-web/bulle ... php?t=1649
Anders Carlsson

Image Image Image Image Image
Post Reply