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 > Right-most sideborder sprite bug
2006-09-06 17:38
JackAsser

Registered: Jun 2002
Posts: 1989
Right-most sideborder sprite bug

If you remove the sideborder and place any sprite at the very right most place in the border you will see about 8 pixels wide garbage on the line before the actual sprite (all 21 sprite lines are accounted for below this point). This is also some kind of sprite data and share the colors from the sprite that is about to be shown. VICE emulates it somewhat correct. This means that the sprite is actually 22 lines high?!

How and why does this occur and from where are the pixels fetched when the bug is outputed (or is it a bus-lock of some kind)?
 
... 16 posts hidden. Click here to view all posts....
 
2006-09-08 06:30
JackAsser

Registered: Jun 2002
Posts: 1989
@style: but usually the side border is closed there... that's probably what Graham referred too... Personally I used the change-color-fix in one part, and move-in-x in another part. Both equally effective to squach that bug to oblivion.
2006-09-08 10:29
Oswald

Registered: Apr 2002
Posts: 5017
could we have a screenshot of the bug ?
2006-09-08 10:43
Krill

Registered: Apr 2002
Posts: 2839
Oswald: Check 1 Year Totally Stoned by Booze Design, the greetings part (BD.4*), the bug also occurs when using VICE.

I think nobody mentioned it before, but not only is there garbage one line before the sprite is displayed, but also that very sprite is prematurely cut off in its last line at the x-position where that bug occurs.
2006-09-08 10:56
Style

Registered: Jun 2004
Posts: 498
yes, thats true also.

For my sideborder DYSP I cheated and ignored that fact :D
2006-09-08 11:20
Oswald

Registered: Apr 2002
Posts: 5017
style, would you please stop acting like wanderer ? open a sepearete thread about ur sideborder dysp instead of polluting this one.
2006-09-08 11:54
Oswald

Registered: Apr 2002
Posts: 5017
vic article:

"4. In the first phase of cycle 58, the MC of every sprite is loaded from its belonging MCBASE (MCBASE->MC) and it is checked if the DMA for the sprite is turned on and the Y coordinate of the sprite matches the lower 8 bits of RASTER. If this is the case, ____the display of the sprite is turned on._____"


now the question left is that where does the data come from.
2006-09-08 13:57
Style

Registered: Jun 2004
Posts: 498
Quote: style, would you please stop acting like wanderer ? open a sepearete thread about ur sideborder dysp instead of polluting this one.

errrm, since my allborder DYSP was a) done recently so it's fresh in my mind and b) had the sprite bug that I had to work around, I though it was kind of topical :)
2006-09-08 14:03
Graham
Account closed

Registered: Dec 2002
Posts: 990
@Oswald: I answered the question already.
2006-09-08 14:22
HCL

Registered: Feb 2003
Posts: 716
Yepp, check the greetings part in 1 year Totally Stoned / Booze Design as Krill mentioned. That part is a perfect display of all possible sprite bugs when opening the sideborder :).
2006-09-08 17:09
Oswald

Registered: Apr 2002
Posts: 5017
graham, you havent answered the "why" part of the question :P
Previous - 1 | 2 | 3 - Next
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
encore
cba
tlr
Higgie/Kraze/Onslaught
Apollyon/ALD
Martin Piper
Guests online: 120
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 Memento Mori  (9.6)
10 Bromance  (9.5)
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 NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

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