Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Nicron ! (Registered 2024-05-21) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > What is going on with those ghost bytes in the Ghost demo?
2024-02-11 21:07
chriz74

Registered: Apr 2009
Posts: 33
What is going on with those ghost bytes in the Ghost demo?

Can anyone explain what’s the catch?
2024-02-12 01:28
Raistlin

Registered: Mar 2007
Posts: 575
I don’t think it’s so much that there’s anything new happening there, it’s clever art design to use the ghostbyte to manipulate expanded (double-pixel) sprite data into being hi-res (single pixel). Others have done this - but here it’s done really really well. Very clever design.

I need to review it myself .. but want to hold off until I’ve looked more closely at all the effects.
2024-02-12 12:48
Krill

Registered: Apr 2002
Posts: 2854
People calling the thing "ghostbyte" used to be one of my pet peeves.

Now it's chiselled in stone. /D=\
2024-02-12 12:51
TPM

Registered: Jan 2004
Posts: 109
Quote: People calling the thing "ghostbyte" used to be one of my pet peeves.

Now it's chiselled in stone. /D=\


haha! this :)
never understood this "ghostbyte", what to use for?! for me it was just a bug, now it is being embraced.
2024-02-12 12:53
chatGPZ

Registered: Dec 2001
Posts: 11147
64'er coined the term, right?
2024-02-12 13:05
Krill

Registered: Apr 2002
Posts: 2854
Quoting chatGPZ
64'er coined the term, right?
Yes, but now it's officially added to the already not so stellar scene jargon. =)
2024-02-12 13:07
Krill

Registered: Apr 2002
Posts: 2854
Quoting TPM
never understood this "ghostbyte", what to use for?! for me it was just a bug, now it is being embraced.
Of course it can be useful in many situations... it's just the "name" that irks me. So silly. =)
2024-02-12 13:14
chatGPZ

Registered: Dec 2001
Posts: 11147
Now? It was commonly used since the 80s really :) I wouldnt even be able to name another term for it right now *shrug*
2024-02-12 13:53
chriz74

Registered: Apr 2009
Posts: 33
Still don’t know what is going on. Is it black masking of the second pixel row with black ones ?
2024-02-12 13:56
chatGPZ

Registered: Dec 2001
Posts: 11147
Basically: Produce colors with $d021 and/or Sprites, mask with ghostbyte.
2024-02-12 14:17
Raistlin

Registered: Mar 2007
Posts: 575
Quote: Still don’t know what is going on. Is it black masking of the second pixel row with black ones ?

The ghostbyte is a single byte in memory that “fills” the area uncovered by opening top/bottom border.. as well as various other areas all the way down the screen depending on D011 condition etc. That byte can be changed on each raster line of the screen and is used to “mask” all 40 chars across the screen on each line.

The ghostbyte can -only- be drawn as black.. hence why most demos using it will only have black screen/border so that the ghost byte is, umm, a ghost.
 
... 29 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 | 3 | 4 - 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
Apollyon/ALD
Impetigo/Crescent
Higgie/Kraze/Slacker..
zscs
LightSide
Linus/MSL
csabanw
megasoftargentina
t0m3000/HF^BOOM!^IBX
Guests online: 93
Top Demos
1 Next Level  (9.8)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 No Bounds  (9.6)
9 Bromance  (9.5)
10 Wonderland XII  (9.5)
Top onefile Demos
1 Layers  (9.6)
2 It's More Fun to Com..  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Rainbow Connection  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Booze Design  (9.3)
3 Censor Design  (9.3)
4 Crest  (9.3)
5 Performers  (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.047 sec.