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 > fli every second line with open sideborders
2008-10-20 19:52
Testa
Account closed

Registered: Oct 2004
Posts: 197
fli every second line with open sideborders

hi i have a little discusion with a friend about fli and open sideborders, he claims that he saw some years ago a demo with fli and open sideborders but he can't remember witch demo it was.

i think that the trick is not possible and that he mixed things up... i coded a little routine and did not succeed.
i have on a bad line no free cycles (at the right moment) to mod $d011 and $d016..


in bitmap mode i get some weird looking streched grapics..
and in txtmode i get no graphics at all, just black lines.
with the border closed every second line..

who can help us a little bit here....

bye
Testa






2008-10-20 19:58
Danzig

Registered: Jun 2002
Posts: 431
2.line border:
-ice cream castle / crest
(ups up sideborder sprites :D )
-maul halten / oregon (iirc)

and check out booze design demo
(totally stoned 2 iirc) aswell
as crest avantgarde for some
other techniques.

and there might be serveral
other approaches.
2008-10-20 20:01
Testa
Account closed

Registered: Oct 2004
Posts: 197
ok i check them out. it looks like i was wrong and i am curious how this is done so i'am gonna check the code...
thanks for the quick respons!...

2008-10-20 20:02
Danzig

Registered: Jun 2002
Posts: 431
shyte, it was 2 years crest not ice cream castle!!! 1. part!
2008-10-20 20:17
JackAsser

Registered: Jun 2002
Posts: 1997
Quote: ok i check them out. it looks like i was wrong and i am curious how this is done so i'am gonna check the code...
thanks for the quick respons!...



Considering a normal bad line allows for open borders with 4 sprites, FLI every 2nd line shouldn't be any problems, since the $d011 writes occurs on the non-bad lines.
2008-10-20 20:43
Testa
Account closed

Registered: Oct 2004
Posts: 197
jackasser:

interesting.. my code was like this.

delay

ldy #$1b ; = non bad line
sty $d011
sta $d016 ;openborders
stx $d016
sta $d016,x ;openborders at bad line
stx $d016

delay

ldy #$1e ;non bad line
sty $d011
sta $d016
stx $d016
sta $d016,x
stx $d016

and on and on..

at witch cycle must i do the $d011 write...

Testa




2008-10-20 20:44
Testa
Account closed

Registered: Oct 2004
Posts: 197
the second $d011 write must be $1d.. sorry....
2008-10-20 23:05
Testa
Account closed

Registered: Oct 2004
Posts: 197
Danzig: i found the part in totally stoned 2.. very nice
Jackasser: i checked the code in the demo and you are right
you must write $d011 at the goodline 2 cyles before the sta $d016 stx to open the border.

i think i miscalculated the timing earlier the evening...
but hell yeah it is a view hours later but i figured it out... respect to the guy who invented this trick... was it hcl or are there more ealier demos with this effect???





2008-10-21 06:48
HCL

Registered: Feb 2003
Posts: 719
Crest Avantgarde was first, me only cut'n'paste :P. I tried to maximize the area of FLI, since this gfx mode gives quite little of *real gfx* to play with. You can see some artifacts here and there..
2008-10-21 11:40
Testa
Account closed

Registered: Oct 2004
Posts: 197
well last night i only looked at the rastercode and not how the graphics are stored in the memory, and how much graphics you can use. today i will take a closer look ...



2008-10-21 18:19
WVL

Registered: Mar 2002
Posts: 888
Quote: well last night i only looked at the rastercode and not how the graphics are stored in the memory, and how much graphics you can use. today i will take a closer look ...





I guess storing gfx is not such a big deal.. since you only have fli-every-other-line, you've got $1000 free for sprites.
 
... 2 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
Freeze/Blazon
Sentinel/Excess/TREX
Hairdog/BOOM!^Dream
REBEL 1
Smasher/F4CG
csabanw
Airwolf/F4CG
iAN CooG/HVSC
CA$H/TRiAD
Yogibear/Protovision
Guests online: 109
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 Uncensored  (9.6)
7 Comaland 100%  (9.6)
8 No Bounds  (9.6)
9 Aliens in Wonderland  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 Rainbow Connection  (9.5)
6 It's More Fun to Com..  (9.5)
7 Dawnfall V1.1  (9.5)
8 Birth of a Flower  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Morph  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Offence  (9.3)
Top Fullscreen Graphicians
1 Joe  (9.7)
2 Veto  (9.6)
3 Facet  (9.6)
4 The Sarge  (9.6)
5 Carrion  (9.5)

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