Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > New modes/VIC manipulation questions.
2006-07-19 12:40
Jetboy

Registered: Jul 2006
Posts: 220
New modes/VIC manipulation questions.

HI!
I had some break since... well... long ago :)
I was pretty much up to date with all the tricks done up to middle of the nineties, then i somewhat lost track.

I came across some new(to me) stuff when trying to catch up and watching the demos. BTW. Respect!

I wonder if there is some more details about UFLI and MUFLI modes?

I understand there is AFLI every second line with hi-res sprites over(under?) it.

I guess you can do it with 8 sprites - hence change every second line. Would that work at all?

Sprites are y expanded (due to colorbanks switches they take data from 2 sprite blocks so they look highres. But what wonders me - highres sprites can cover only 8*24 pixels - that's only 192 pixels width. So how its handled? Does cover only part of the screen, or are they sprites moved around to cover places where they are needed?

I ve been looking rhrough some posts here, but could you point me to some more info? Thank you.
2006-07-19 13:09
enthusi

Registered: May 2004
Posts: 675
Hi, this features some modes:
http://www.naveedkhugiani.com/articles/c64gfxmodes/c64gfxmodes...
2006-07-19 13:13
Bamu®
Account closed

Registered: May 2005
Posts: 1332
Hey, very interesting! ;)
2006-07-19 13:23
enthusi

Registered: May 2004
Posts: 675
also here:
http://noname.c64.org/csdb/release/?id=33660&show=review
2006-07-19 13:26
Bamu®
Account closed

Registered: May 2005
Posts: 1332
Wohoo! 9,9MB of files! I will have to try it later on. :I
2006-07-19 13:48
enthusi

Registered: May 2004
Posts: 675
and here:
http://studiostyle.sk/dmagic/gallery/gfxmodes.htm

enjoy :)
2006-07-19 14:11
Jetboy

Registered: Jul 2006
Posts: 220
Thanks!
First link answers pretty much all my questions (and a couple more :) )

As for Seminar - maybe seminar itself was of more value, but documents are pretty worthles. Nothing that moderate coder wouldnt know in mid nineties. But ofcourse its good for newcomers.
2006-07-20 08:06
algorithm

Registered: May 2002
Posts: 702
Two more graphic modes to enter on the website (www.naveedkhugiani.com) MUFLI and quadinterlace (similar to the quadchar interlace, except in bitmap mode for higher quality
2006-07-20 09:15
WVL

Registered: Mar 2002
Posts: 886
http://noname.c64.org/csdb/forums/?roomid=11&topicid=18053&show..

In this thread i posted a full explanation of the UFLI mode. MUFLI is basically the same, but uses extra writes and some illegal opcodes to change the sprite-colors every 2 lines aswell. (also the memory layout is a bit different, i think)

Anyway, the sprites are expanded in the X-direction, so you need only 6 sprites to cover 36 chars.
2006-07-26 07:17
Jetboy

Registered: Jul 2006
Posts: 220
Thanx!
I knew i should have learned german. :)
That's no problem - i got the idea from the article anyway :)

I dont want to start another thread, so i ask here.
How about those 4x4 modes, every 4th line fli, etc.

I presume one is done with multicolor character sets defined acordingly - that's pretty simple.

What bothers me is every 4th line fli. It has potential as you can frely set color for every 80x50 pixel, but timing wonders me - how do you do it? You fire IRQ every 4th line? Or just cycle all top to bottom and interleave efects code with 4th line fli? That way you could just put code that does not change its cycling beetween the FLI code (good for cleaning framebuffer, or other lda/sta things).

And another one:
At my time on c64 we always synchronized with use of double irq, or 3 line $d012 compare, or sprite compare. I remember that i was told some time after i stopped mya ctivity, that there is other method. First you synchronize with any method, once you are done with that, you set some timer, and s ince then you can use timer to synchronize, that is you fire raster IRQ, and read timer and that's how you know which cycle of the line you are (not working with badlines). M'i correct? And if so, are there any codes done this way i could look up? Source code would be nice, but any production that uses that would do.

Thanx!

2006-07-26 07:53
WVL

Registered: Mar 2002
Posts: 886
Quote: Thanx!
I knew i should have learned german. :)
That's no problem - i got the idea from the article anyway :)

I dont want to start another thread, so i ask here.
How about those 4x4 modes, every 4th line fli, etc.

I presume one is done with multicolor character sets defined acordingly - that's pretty simple.

What bothers me is every 4th line fli. It has potential as you can frely set color for every 80x50 pixel, but timing wonders me - how do you do it? You fire IRQ every 4th line? Or just cycle all top to bottom and interleave efects code with 4th line fli? That way you could just put code that does not change its cycling beetween the FLI code (good for cleaning framebuffer, or other lda/sta things).

And another one:
At my time on c64 we always synchronized with use of double irq, or 3 line $d012 compare, or sprite compare. I remember that i was told some time after i stopped mya ctivity, that there is other method. First you synchronize with any method, once you are done with that, you set some timer, and s ince then you can use timer to synchronize, that is you fire raster IRQ, and read timer and that's how you know which cycle of the line you are (not working with badlines). M'i correct? And if so, are there any codes done this way i could look up? Source code would be nice, but any production that uses that would do.

Thanx!



Usually people fire IRQs or NMIs (I'd use nmi's in this case) every 4 (but i think every 8 lines is also enough!) lines. Smart people do this using the CIA timers.

I think the best demo to watch and learn from is Real (Real ) from Resource and The Dreams. Take a look at the every-2-lines-fli routine made by Ninja. He even wrote a complete explanation of that routine somewhere, but I cant remember exactly where ;D
 
... 5 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 - 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
chesser/Nigaz
Paulko64
BOMB/ACRISE
Airwolf/F4CG
YPS
skull
Exile/Anubis
zscs
Mibri/ATL^MSL^PRX
Jammer
Guests online: 95
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Logo Graphicians
1 Sander  (9.9)
2 Facet  (9.6)
3 Mermaid  (9.4)
4 Pal  (9.4)
5 Shine  (9.3)

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