| |
Dragnet
Registered: Nov 2006 Posts: 16 |
FLI explained, please...
Hola,
I'm looking for an easy-understandable-for-a-novice description, preferably with a *documented* example to go along with it, of how FLI actually works, including a description of how the colordata is stored (so i'll know how to manipulate it). My C64 skills are very novice/rusty indeed, so the more documentation, the better...
I have already been searching this forum and the C64 codebase for the sorts, but found what seems like a trillion different FLI formats (FLI, AFLI, XFLI, IFLI, MUFLI, etc) with different resolutions... But, I'm merely thinking of "normal fli" (if there is such a thing) capable of handling a width of 40 chars (and at least a height of 10 chars), no sprites involved, and 16 colours per char, running as part of the normal IRQ. Make sense?
Furthermore, a reference to a drawing-program that can save in the explained format, or at least in a format that can be converted into it, would be very nice!
That's not much to ask for, is it? :)
Any help will be greatly appreciated...!
Regards /Dragnet |
|
| |
MagerValp
Registered: Dec 2001 Posts: 1078 |
http://www.ffd2.com/fridge/chacking/c=hacking4.txt |
| |
Mace
Registered: May 2002 Posts: 1799 |
FLI with a width of 40 chars is only possible if you allow for some chars to the left to only have light grey or background colour.
This is know as the 'FLI bug' and it's ALWAYS there. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
technically FLI _is_ possible in all 40 chars... you just have to stretch the videoram and use a fpp like routine. |
| |
Krill
Registered: Apr 2002 Posts: 2980 |
I always considered FLI a forced DMA with VIC line pointer _advance_ though, not a forced DMA with VIC line pointer _reset_ (= forced bad line). That difference is exactly why both are 3 cycles apart and one has this 3-chars bug to the left.. :)
Anyways, yes, you can emulate FLI by using forced bad lines, but you'll quickly run out of unique lines.. |
| |
Graham Account closed
Registered: Dec 2002 Posts: 990 |
8 rasterlines to be exact.
|
| |
Krill
Registered: Apr 2002 Posts: 2980 |
Well, yes, FLI also updates the $d800 colours every 8 lines, while forced bad lines (FPP) doesn't. |
| |
Mace
Registered: May 2002 Posts: 1799 |
Stretch videoram, FPP routine, forced bad lines... this is why FLI never has been my thing.
I've never been a 'hardware' coder. |
| |
MagerValp
Registered: Dec 2001 Posts: 1078 |
I'd just like to point out that in the FLI bug area you have background color, light gray, and one color that depends on the CPU instruction following the FLI code. Using illegals you can select any of the 16 colors. The next version of Executable Image supports changing the FLI bug color to any color on every line, but unfortunately I don't think there are any tools that let you save an image with that information. FLI Profi is the only editor that lets you edit the area, but it saves an executable program...
|
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: I'd just like to point out that in the FLI bug area you have background color, light gray, and one color that depends on the CPU instruction following the FLI code. Using illegals you can select any of the 16 colors. The next version of Executable Image supports changing the FLI bug color to any color on every line, but unfortunately I don't think there are any tools that let you save an image with that information. FLI Profi is the only editor that lets you edit the area, but it saves an executable program...
Timanthes has that option, or at least hidden. |
| |
Mace
Registered: May 2002 Posts: 1799 |
Quote:one color that depends on the CPU instruction following the FLI code Cool, didn't know that :) |
... 40 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 | 3 | 4 | 5 - Next |