Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user psenough ! (Registered 2024-05-21) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > 4x4 FLI questions..
2023-10-13 07:51
ws

Registered: Apr 2012
Posts: 229
4x4 FLI questions..

So, Onslaught Design uses a gfx mode which I have never consciously observed before, and i was amazed that it actually seems to be all characters, no bitmap, no sprites.

So, do i get this right: like this you can get any of 16 colours next to eachother in a 4x4 pix matrix with only 2x 1k (minus the fli bug gap) ? Or are there neighbouring restrictions, too?

Question2: is there a crossplatform converter for this already, like PNG or BMP to 4x4 Charmode FLI?

Question3: can you point me at a plasma that uses this mode?

Thanks!
2023-10-13 08:04
ws

Registered: Apr 2012
Posts: 229
Oh no. I just understood it actually DOES use bitmap. My bad. Nevermind!
2023-10-13 10:20
chatGPZ

Registered: Dec 2001
Posts: 11147
There must be converters too (it's trivial) - look for "Zoom4" (or "Zoom8", which is the same but with 8x8 blocks)
2023-10-13 11:32
Oswald

Registered: Apr 2002
Posts: 5028
zoom4 and zoom8 are really stupid naming, wtf is zoomed ? nothing.
2023-10-13 11:36
chatGPZ

Registered: Dec 2001
Posts: 11147
Stupid terms in the scene? No way :)
2023-10-14 18:13
DKT

Registered: Aug 2004
Posts: 96
zoom the pixels in any gfx editor 4 times and you will figure out why it's called zoom4 ;)
2023-10-15 22:39
Krill

Registered: Apr 2002
Posts: 2854
Quoting ws
So, So, do i get this right: like this you can get any of 16 colours next to eachother in a 4x4 pix matrix with only 2x 1k (minus the fli bug gap) ? Or are there neighbouring restrictions, too?
Quoting ws
Oh no. I just understood it actually DOES use bitmap. My bad. Nevermind!
Yes, bitmap mode is required to set two independent colours per 8 pixels wide tile.

To minimise memory usage, you could use the repeated-badline technique rather than extra DMA by FLI.

This would limit the bitmap portion to the first 320 bitmap bytes, but spread out the colour map all over RAM in chunks of 40 bytes.

Interrupt overhead is higher (need an interrupt every 4 rather than 8 rasterlines), but there is no FLI bug and thus full width.
2023-10-16 09:32
Oswald

Registered: Apr 2002
Posts: 5028
Recently I was wondering if repeating first line of bitmap 4x4 is possible, thanks for the answer :) hadnt had a use case yet tho.
2023-10-16 12:11
chatGPZ

Registered: Dec 2001
Posts: 11147
The way it scatters the VRAM over memory is a bit... annoying :)
2023-10-16 13:10
HCL

Registered: Feb 2003
Posts: 717
Yes, the memory usage is very fragmented.. but the interrupt-overhead is probably *not* higher, like Krill suggests, perhaps even lower.. Since there is no FLI-bug involved, the interrupt is not timing critical, and you can also trigger two badlines within the same interrupt..
2023-10-16 14:41
Copyfault

Registered: Dec 2001
Posts: 467
Well, initially I wanted to post something very close to what Krill wrote, but then I decided to refrain from it, mainly due to that awful memory scattering already mentioned.

And cheering in to HCL's post: the approach even allows for getting along without any IRQ at all - code interleaving is your friend ;)
 
... 13 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 | 3 - Next
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
TheRyk/MYD!
Britelite/Dekadence
zscs
nucleus/TempesT
Didi/Laxity
Low Spirit
Nordischsound/Hokuto..
Guests online: 106
Top Demos
1 Next Level  (9.8)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 No Bounds  (9.6)
9 Bromance  (9.5)
10 Wonderland XII  (9.5)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 It's More Fun to Com..  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Booze Design  (9.3)
3 Censor Design  (9.3)
4 Crest  (9.3)
5 Performers  (9.3)
Top Original Suppliers
1 Black Beard  (9.7)
2 Derbyshire Ram  (9.5)
3 hedning  (9.2)
4 Baracuda  (9.1)
5 Jazzcat  (8.6)

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