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


Forums > C64 Coding > Doubling char lines with stretched sprites over it
2018-09-26 22:32
Digger

Registered: Mar 2005
Posts: 295
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: 403
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: 678
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: 295
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: 1095
Unless NTSC or PAL-N (Drean) :D
2018-09-27 23:38
HCL

Registered: Feb 2003
Posts: 678
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: 295
@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: 403
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: 164
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
Hawk/Presence
Nith/TRIÉ…D
Zirias/Excess
Twoflower/ΤRIΛD
Icon/TRIAD
pcollins/Excess
JCH/Vibrants
tlr
JackAsser/Booze Design
Guests online: 48
Top Demos
1 Uncensored  (9.7)
2 Comaland 100%  (9.7)
3 Unboxed  (9.7)
4 Edge of Disgrace  (9.7)
5 Coma Light 13  (9.6)
6 The Shores of Reflec..  (9.6)
7 Lunatico  (9.6)
8 Wonderland XII  (9.6)
9 Old Men in Used Cars  (9.5)
10 C=Bit 18  (9.5)
Top onefile Demos
1 Arok 20 Invitation  (9.6)
2 Daah, Those Acid Pil..  (9.5)
3 FMX Music Demo  (9.5)
4 Crystal Gazer  (9.5)
5 Pandemoniac Part 2 o..  (9.5)
6 Rewind  (9.5)
7 Dawnfall V1.1  (9.5)
8 Party Horse  (9.4)
9 Dawnfall  (9.4)
10 In Memoriam BHF  (9.4)
Top Groups
1 Oxyron  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.4)
4 Finnish Gold  (9.3)
5 The Transfer Team  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 S!R  (9.9)
3 Mr Zero Page  (9.9)
4 Mitch  (9.8)
5 Doc  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2018
Page generated in: 0.055 sec.