| |
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 |
|
... 40 posts hidden. Click here to view all posts.... |
| |
Dragnet
Registered: Nov 2006 Posts: 16 |
Hola,
Hmm - can't believe I missed Graham's code posted at codebase64, since it is nice and neat - and very well documented! Thanks for the link, Frantic!
I think I have got the basics of FLI right by now, though one thing still puzzles me; quoting the text accompagning Graham's code at codebase64:
"You also can use this for hires FLI, however the first 3 char columns will only show a light grey area. To remove this area, a sprite would be required which takes 5 extra clock cycles per rasterline. This is possible if you unroll the main FLI display loop."
So - what is the alternative to using hires (same as bitmap, right?)? How else can you set the colours individually for each char?
Regards /Dragnet |
| |
MagerValp
Registered: Dec 2001 Posts: 1078 |
Hires, as opposed to multicolor. Not bitmap vs char mode.
|
| |
HCL
Registered: Feb 2003 Posts: 728 |
Hmm.. just to be picky: I'd say Hires(320x200) <> Lores(160x200). MultiColor(~4 colors per char) <> SingleColor (~2 colors per char). Bitmap <> Char.
VIC only allows Hires together with SingleColor, if you want MultiColor you have to go Lores. Then there are all kinds of software tweeks to get *multiple colors* in Hires of course :). I just think that "Hires, as opposed to multicolor" only helps to make the c64-world less understandable :P.
SC-Hires/MC-Lores you set with $d016 bit4.
Bitmap/Char is set with $d011 bit5,6.
|
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: Hmm.. just to be picky: I'd say Hires(320x200) <> Lores(160x200). MultiColor(~4 colors per char) <> SingleColor (~2 colors per char). Bitmap <> Char.
VIC only allows Hires together with SingleColor, if you want MultiColor you have to go Lores. Then there are all kinds of software tweeks to get *multiple colors* in Hires of course :). I just think that "Hires, as opposed to multicolor" only helps to make the c64-world less understandable :P.
SC-Hires/MC-Lores you set with $d016 bit4.
Bitmap/Char is set with $d011 bit5,6.
I fully agree with HCL - but that's just my way of licking his ass for potential future favours I might ask him. :) |
| |
Ninja
Registered: Jan 2002 Posts: 411 |
To be _extremly_ nutpicky (while I generally agree): calling it SingleColor and having 2 colors/char in bitmap mode has its odds, too ;) (It will do, though...) |
| |
enthusi
Registered: May 2004 Posts: 677 |
I *think* some people use the term "HiRes" to actually describe that standard hires mode. I like to call it TRUE hires (when in fact colors are used per char-block).
Calling the beautyful hires "singlecolor" is indeed a bad idea. There are enough confusing names for modes. WRONG names wont help much and also wont do justice to the awesome HiRes art performed especially during the last months...
So maybe 'HiRes' or 'TrueHires' is an idea? ;-) |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
"VIC only allows Hires together with SingleColor"
"I like to call it TRUE hires"
o_O
Singlecolor = lda #0 sta d011.
true hires = WTF?!
Multicolor Bitmap
Hires Bitmap
Multicolor Charmode
Hires Charmode
ECM Charmode
done. |
| |
MagerValp
Registered: Dec 2001 Posts: 1078 |
/me agrees with bogár.
|
| |
HCL
Registered: Feb 2003 Posts: 728 |
I don't know.. is there a problem with the terms MultiColor and SingleColor!? Yes, if you're weirdo enough you may claim that SingleColor === lda#0 sta$d011. Tho i'm fairly ok with SingleColor meaning that you only have one color except for teh background. No?
Perhaps the term SingleColor is more applicable on sprites, which indeed only have one color plus transparent. I always used the same term for chars..
So.. my list is:
MultiColor Bitmap
SingleColor Bitmap
MultiColor Charmode
SingleColor Charmode
ECM Charmode
..just to be bogár me also :).
|
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
in singlecolor you have more than 1 color+the background. thats only true for one char cell. if on irc we would chat about coding, and you would say "singlecolor" I would surely ask back "you mean hires?". but if I would say "hires chars" or "hires bitmap" you wouldnt need to ask back what do I mean. :)
anyway use it if you like it. :)
btw still dont get what do you mean with "VIC only allows Hires together with SingleColor" ? that shows how confusing and misleading is this term. There's Hires and Multicolor, Singlecolor is confusing. You use 2 terms on the same thing in one sentence and claim one of them is prequisite of the other...
|
Previous - 1 | 2 | 3 | 4 | 5 - Next |