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: 1335
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: 705
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: 5094
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: 5094
yeah, my initial goal was to get rid of the garbage too :)
2008-12-05 20:56
Skate

Registered: Jul 2003
Posts: 494
@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
Jazzcat/Onslaught
macx
CyberBrain/NoName
Guests online: 67
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 Party Elk 2  (9.6)
4 Cubic Dream  (9.6)
5 Copper Booze  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (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 Webmasters
1 Slaygon  (9.6)
2 Perff  (9.6)
3 Sabbi  (9.5)
4 Morpheus  (9.4)
5 CreaMD  (9.1)

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