| |
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 |
|
... 10 posts hidden. Click here to view all posts.... |
| |
Smasher
Registered: Feb 2003 Posts: 520 |
what's the final line of the sprites? the 21st pixel row? |
| |
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. |
| |
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. :) |
| |
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? |
| |
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. |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
close the borders ? again? |
| |
Smasher
Registered: Feb 2003 Posts: 520 |
that will be the ultimate challenge for 2017: close those damn borders! :) |
| |
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 |
Previous - 1 | 2 - Next |