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 > Ghostbyte / garbage / $3FFF
2008-12-05 11:57
Mace

Registered: May 2002
Posts: 1799
Ghostbyte / garbage / $3FFF

Discussion about the ghostbyte in the comment of Aliens:

Quoting Jammer
so for what extent can i control this 'garbage'? in terms of chars and colours.

The ghostbyte is always black.
It occurs in the upper and lower border, when opened, but also in the 'void' that is created with an FLD routine.

If you want that effect as seen in Aliens, you have to write values to $3FFF in a raster routine.
The byte is repeated over the entire width and height of the borders, as the patterns shows.

BTW, I can't remember ever seeing a 'split raster' in $3FFF...
2008-12-05 12:01
Jammer

Registered: Nov 2002
Posts: 1289
thanks a lot! i play with kick assembler recently so i have to try it out :)
2008-12-05 13:00
algorithm

Registered: May 2002
Posts: 702
It does not need to cover the entire width of the screen. Just like horizontal color splits you can change the ghostbyte half way through etc and combine with $d016 etc. A camelot demo and some crest demo's use similar methods
2008-12-05 14:45
Graham
Account closed

Registered: Dec 2002
Posts: 990
Also it's not always at $3FFF, depending on the VIC-bank selected it can also be at $7FFF, $BFFF or $FFFF. And if you enable ECM mode it can be found at $39FF, $79FF, $B9FF and $F9FF.
2008-12-05 14:48
Mace

Registered: May 2002
Posts: 1799
Graham, of course... I was keeping it simple :-)
2008-12-05 16:25
Cruzer

Registered: Dec 2001
Posts: 1048
Quote: Also it's not always at $3FFF, depending on the VIC-bank selected it can also be at $7FFF, $BFFF or $FFFF. And if you enable ECM mode it can be found at $39FF, $79FF, $B9FF and $F9FF.


Guess that's why they invented the term "ghostbyte".
2008-12-05 16:37
Oswald

Registered: Apr 2002
Posts: 5017
and to further extend this exciting coder dick size compo: I have found the ghostbyte myself when playing with a ripped fld routine being 14 years old, even made these pattern effects with it. anyone has better bets? :)
2008-12-05 20:42
pernod
Account closed

Registered: Nov 2004
Posts: 25
A fun thing is that when you do a transfer to RAM from a REU, you can lock the destination address counter, so $3fff gets updated every cycle ==> free (black + other color) hires gfx in upper and lower borders. Me and Mastermind/HZ played around with this back then.
2008-12-05 20:42
Mace

Registered: May 2002
Posts: 1799
Well... I found that byte myself too, but I was 2 years older and never exploited the possibilities :)
But boy, was I pleased that I finally got that garbage away in Get Life+!
2008-12-05 20:44
Oswald

Registered: Apr 2002
Posts: 5017
yeah, my initial goal was to get rid of the garbage too :)
2008-12-05 20:56
Skate

Registered: Jul 2003
Posts: 490
@Oswald: Same here. When I opened upper/lower borders for the first time, I've met with this "bug" personally. I found the address causing this irritating "bug" by clearing random memory addresses. I was so happy when it's gone. I've never thought of anything useful about it. :)
 
... 46 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 | 3 | 4 | 5 | 6 - 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
HBH.ZTH/Abnormal
MADMAX
eryngi
Guests online: 98
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 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (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 Fullscreen Graphicians
1 Carrion  (9.8)
2 Joe  (9.8)
3 Duce  (9.8)
4 Mirage  (9.7)
5 Facet  (9.7)

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