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: 421
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: 716
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: 421
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: 2839
Unless NTSC or PAL-N (Drean) :D
2018-09-27 23:38
HCL

Registered: Feb 2003
Posts: 716
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: 421
@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: 226
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
Andy/AEG
Black/Angels
Martin Piper
Operator Teleksu
Edhellon/Resource
Acidchild/Padua
Guests online: 123
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 Bromance  (9.6)
10 Memento Mori  (9.6)
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 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Original Suppliers
1 Black Beard  (9.5)
2 Derbyshire Ram  (9.5)
3 hedning  (9.2)
4 Baracuda  (9.1)
5 Irata  (8.5)

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