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 > Limitations for sideborder sprites
2016-12-06 15:37
Trap

Registered: Jul 2010
Posts: 223
Limitations for sideborder sprites

Hi,

I'm doing some recreational coding and hit a small bump. Now, It's been a long time since I've done any serious sidebordercoding, but shouldn't it be possible to have 4 sprites in the sideborder while still having text (no d011 fiddling)? Right now I'm out of time for the badline so maybe it's not possible or I am not using the right sprites? (remembering there's some limitations depending on what sprites you use).

Would some kind soul enlighten me on the subject?

Thanks.

Trap
2016-12-06 15:48
Mixer

Registered: Apr 2008
Posts: 452
yes 4 sprites ok with bl. no sprite 0 its dma fetch clashes with sb opening.

https://sh.scs-trc.net/vic/
2016-12-06 17:12
Smasher

Registered: Feb 2003
Posts: 520
just forget the limits, Trap! limits are there to be broken, no need to be scared.
show us you can do 8 sprites in ze border with BL and no $d011 or REU tricks!
you do that and I hang a poster of you in my room! :)
2016-12-06 17:13
mankeli

Registered: Oct 2010
Posts: 146
Also this http://www.linusakesson.net/programming/vic-timing/victiming.pdf
2016-12-06 17:41
Axis/Oxyron
Account closed

Registered: Apr 2007
Posts: 91
Just say the magic word: Impossible! And crossbow will appear in cloud of smoke.

Ok, stop kidding. Mixer is right. You can do 4 sprites in sideborder with badlines, if you avoid sprite 0. Took me weeks of try and error to realize this back in the days.
2016-12-06 20:34
Trap

Registered: Jul 2010
Posts: 223
Thanks guys.

Has anybody ever been able to have more than 4 sprites with BL?
2016-12-06 21:27
Smasher

Registered: Feb 2003
Posts: 520
Limitations - Sprites in the Borders
2016-12-07 06:53
Cruzer

Registered: Dec 2001
Posts: 1048
Quoting Trap
Has anybody ever been able to have more than 4 sprites with BL?
Not to my knowledge, no.
2016-12-07 07:47
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: Quoting Trap
Has anybody ever been able to have more than 4 sprites with BL?
Not to my knowledge, no.


If it is the finsl line of the sprites the you can do all eight! ;)
2016-12-07 15:37
Compyx

Registered: Jan 2005
Posts: 631
Quoting JackAsser
If it is the finsl line of the sprites the you can do all eight! ;)


What is 'finsl'? First or final? I'd guess final.
2016-12-07 17:38
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: Quoting JackAsser
If it is the finsl line of the sprites the you can do all eight! ;)


What is 'finsl'? First or final? I'd guess final.


Oh! Final yes
2016-12-07 18:03
Smasher

Registered: Feb 2003
Posts: 520
what's the final line of the sprites? the 21st pixel row?
2016-12-07 18:20
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: what's the final line of the sprites? the 21st pixel row?

Yes. My comment was just for teh trolling.
2016-12-08 00:47
Smasher

Registered: Feb 2003
Posts: 520
yeah, my sonar warned me about the detected trolling, but nowadays with all the poop in the oneliner it's getting hard to single out serious talk from the joke. :)
2016-12-08 22:58
mankeli

Registered: Oct 2010
Posts: 146
Can you open the left sideborder on the first screen line, even if you have all 8 sprites active?
2016-12-09 00:02
Scan

Registered: Dec 2015
Posts: 111
I think so, yes, because the data of sprite 0,1 and 2 are fetched in the right border right before the bad line (after you done the operation of opening the sideborder), and you need to close the border after the VIC has fetching the last prite data, but you will have no time left to do anything else, not even opening the sideborder on the right of the badline. So, to my knowledge, you can open the sideborder on a badline with 8 sprites, but you'll never be able to close it again on the raster line after the badline. However, that's just what I'm thinking, but I love to be proved wrong.
2016-12-09 05:02
Oswald

Registered: Apr 2002
Posts: 5094
close the borders ? again?
2016-12-09 08:18
Smasher

Registered: Feb 2003
Posts: 520
that will be the ultimate challenge for 2017: close those damn borders! :)
2016-12-09 13:27
Perplex

Registered: Feb 2009
Posts: 255
There is a trick you may need to apply to get the timing right on the badline:

sty $d016
sta $d016,x ; if x > 0, reduce the operand accordingly
sty $d016
sta $d016
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
iAN CooG/HVSC
Walt/Bonzai
Peacemaker/CENSOR/Hi..
Steffan/BOOM!
Perplex/Offence
Martin Piper
RS-232
Chesser/Blazon
Guests online: 109
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 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (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 Fullscreen Graphicians
1 Joe  (9.7)
2 Sulevi  (9.6)
3 The Sarge  (9.6)
4 Veto  (9.6)
5 Facet  (9.6)

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