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 > 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?
 
... 29 posts hidden. Click here to view all posts....
 
2024-02-12 20:45
chatGPZ

Registered: Dec 2001
Posts: 11116
Because only those 4 bits are connected to the databus at that time
2024-02-12 20:48
Jetboy

Registered: Jul 2006
Posts: 213
Quote: Now? It was commonly used since the 80s really :) I wouldnt even be able to name another term for it right now *shrug*

We used to call it 3fff or 3ff for short. Or sometimes magic byte, but not very often.
2024-02-12 21:03
Oswald

Registered: Apr 2002
Posts: 5017
Quote: Because only those 4 bits are connected to the databus at that time

VICII can read 12 bit at a time thats how it can read 40 char pointers and 40x4bit color in 40 cycles.


why would the 4 bits for color be connected to the char pointer bits part of the data bus when its FLI bug?
2024-02-12 21:16
chatGPZ

Registered: Dec 2001
Posts: 11116
You'll have to ask the VICII designers. It's just what happens, it's an artefact of the DMA setup cycles.
2024-02-13 10:19
Mr SQL

Registered: Feb 2023
Posts: 114
Quoting trident
@frostbyte: if the ghostbyte would have been white instead of black, then "the frostbyte" would have been a pretty cool name for it :)

as to the op's question: this article has an explanation of the various ghostbyte techniques used in the demo: https://github.com/trident64/c64/blob/main/unexpanded-border-sc..

and a presentation on the topic from last year's fjälldata here: https://scenesat.com/videoarchive/93fbf2f3-aab5-11ed-931f-00505..

The Ghost actually uses a range of different ghostbyte techniques in the different parts, some use masking, some use a shine-through approach.


Great fjälldata presentation! Made it easy to understand with the demo examples and the slides.
2024-02-13 13:32
Jammer

Registered: Nov 2002
Posts: 1289
Maybe 'trashbyte'? :D
2024-02-14 20:06
chriz74

Registered: Apr 2009
Posts: 33
Ok I get it now but how do you make those ghost lines move along the scroller?
2024-02-14 21:13
Jetboy

Registered: Jul 2006
Posts: 213
Quote: Ok I get it now but how do you make those ghost lines move along the scroller?

You ROL the ghostbyte synchronized with sprite movement.
2024-02-15 06:13
Youth

Registered: Aug 2003
Posts: 40
Quote: You ROL the ghostbyte synchronized with sprite movement.

I remember doing a '40' char scroll in the border with this trick in Before You Go (part 3). I hadn't seen the effect before, but I doubt this was the first time.
2024-02-16 14:35
ChristopherJam

Registered: Aug 2004
Posts: 1378
Trident - thanks so much for that article. The "Multicolor Ghostbyte Shine-through" technique finally makes sense to me :)
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
Guinea_pig/Moonshine
Guests online: 129
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 Wafer Demo  (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 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.049 sec.