Jump to content
IGNORED

Question about Commodore 64 FLI mode


Recommended Posts

I've done a viewer/converter program on Atari XL that reads Commodore 64 standard multicolor pictures (in Koala Painter format) and converts them into ICE PCIN (Graphics 12+10) picture files. It's in this thread:

 

http://atariage.com/forums/topic/188370-doing-pictures-using-super-irg-2-and-other-ice-modes/page-7?do=findComment&comment=3033296

 

The next step, is to be able to convert .FLI files. Apparently this is a mode which allows anny of the 16 colors to be used per character cell, certainly no problem for the ICE PCIN mode which can do 35 colors per char. I did some research on codebase64.org and found this:

 

 


FLI Designer 2 (pc-ext: .fli) load address: $3ff0 - $83ee $3ff0 - $43d7 Color RAM $43f0 - $63d7 Screen RAMs $63f0 - $832f

Bitmap

 

I am assuming that the color ram and screen ram are like in Multicolor mode except that it's 8 bytes per character cell instead of the one that is in standard multicolor low res mode? Am I correct?

 

If anyone has any info on this mode and file format, I'd appreciate it.

Link to comment
Share on other sites

Some info http://codebase64.org/doku.php?id=base:vic#custom_graphics_modes

 

File storage format - no idea, it's up to the programmer but likely it's as "linear" as possible.

 

FLI generally forces the colour RAM fetch to occur every scanline which allows unique attributes per 8x1 or 4x1 pixels. In theory it could be done every 2nd, 3rd etc scanline if wanted.

 

The video matrix (text screen) is the colour memory for bitmap mode (both colours in hires, 2 of the 3 changable in multicolour), it cycles 0 thru 7 per scanline, repeating. The video matrix pointer is changed each time a badline is forced.

 

So, there is 8,000 bytes worth of bitmap and 8,000 bytes worth of video matrix (colour) and if multicolour also 1,000 nybbles worth of normal Vic colour values.

 

In theory the Vic colours could be packed since they're nybble values which could save 500 bytes.

 

Also there's the IFLI multicolour mode where 2 images are displayed - similar to HIP mode in that each scanline is shifted 1 pixel to the right, gives "perceived" 320 pixel resolution.

 

Also note there's the FLI bug where the first 3 (?) colour attributes aren't fetched properly so the colours are fixed. Some programmers overcome this by using sprites on the left of screen (which could complicate storage format even more)

Link to comment
Share on other sites

 

The video matrix (text screen) is the colour memory for bitmap mode (both colours in hires, 2 of the 3 changable in multicolour), it cycles 0 thru 7 per scanline, repeating. The video matrix pointer is changed each time a badline is forced.

 

So, there is 8,000 bytes worth of bitmap and 8,000 bytes worth of video matrix (colour) and if multicolour also 1,000 nybbles worth of normal Vic colour values.

 

OK. So would this be a correct assumption: Video matrix controls color bitpairs 00 and 01, the vic color map (1,000 nybbles) controls bitpair color 11? If so, I think I got it. I'd be working only with low-res multicolor FLI pictures at the moment, nothing interlace.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...