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 > Doubling char lines with stretched sprites over it
2018-09-26 22:32
Digger

Registered: Mar 2005
Posts: 437
Doubling char lines with stretched sprites over it

From VIC article it seems impossible but I thought I'd ask anyway:

Is it possible to have first charline duplicated all the way down (standard line doubling trick with badline skipping) with 8 stretched sprites over it?
Seems like sprite 0 data is fetched right where the line doubling should be triggered (cycle 58).

Have spent already too much time trying to (unsuccessfully) cycle this, thus time to reach out. Cheers!
2018-09-26 22:48
Compyx

Registered: Jan 2005
Posts: 631
You can inhibit the sprite 0 DMA fetch by using 6-cycle instructions (DEC $d016) to open the border and do the proper $d011 writes I think.

Though I'd have to look up old demo parts to make sure I actually put an 8-sprite stretcher in the border and not a 7-sprite stretcher.
2018-09-27 07:27
HCL

Registered: Feb 2003
Posts: 728
You didn't ask for open sideborders, did you?

It is of course possible to double charlines with 8 sprites on top (even stretched using d017), however opening sideborder has not been done with this combination. ..and i have tried :)

I am using it in.. uuuh.. EoD and probably a handful of other demos.
2018-09-27 08:37
Digger

Registered: Mar 2005
Posts: 437
Thanks HCL :) Than I will keep trying.
Yeah, no sideborders, since it's only possible with 7 sprites and line crunching.
2018-09-27 10:59
Krill

Registered: Apr 2002
Posts: 2980
Unless NTSC or PAL-N (Drean) :D
2018-09-27 23:38
HCL

Registered: Feb 2003
Posts: 728
Check the interference circles in Uncensored/BoozeDesign, that's a good (?) example of a sprite-fpp over badline-less bitmap. Timing code at $1100 somewhere..
2018-09-28 08:59
Digger

Registered: Mar 2005
Posts: 437
@HCL: I was actually watching it last night, it's interesting how you shift starting Y positions for each sprite to be able to switch all pointers with one value.
I was thinking to use $d018 for that but seems more memory efficient with your approach, no screen RAM/bank switching needed.
2018-09-28 13:16
Compyx

Registered: Jan 2005
Posts: 631
Quoting HCL
You didn't ask for open sideborders, did you?

It is of course possible to double charlines with 8 sprites on top (even stretched using d017), however opening sideborder has not been done with this combination. ..and i have tried :)

I am using it in.. uuuh.. EoD and probably a handful of other demos.


Oops, I somehow always associate sprite stretching with open borders. :)
That said, I couldn't find any old code of mine using 8 sprites, I sure tried, but never succeeded it seems.
2018-09-28 19:03
Dano

Registered: Jul 2004
Posts: 234
Quote: Check the interference circles in Uncensored/BoozeDesign, that's a good (?) example of a sprite-fpp over badline-less bitmap. Timing code at $1100 somewhere..

the sprite stretcher in reluge should use about the same technique i guess (without checking it). :)
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
Inge/HVSC
Acidchild/Padua
Guests online: 79
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Party Elk 2  (9.6)
4 Cubic Dream  (9.6)
5 Copper Booze  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Coders
1 Axis  (9.8)
2 Graham  (9.8)
3 Lft  (9.8)
4 Crossbow  (9.8)
5 HCL  (9.8)

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