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...
 
... 46 posts hidden. Click here to view all posts....
 
2021-03-05 21:11
Krill

Registered: Apr 2002
Posts: 2980
Quoting w4rp8
If it's not a bug in Vice.
Yes, of course. That manipulation apparently only triggering line-wise responses makes it reek a bit like an emulation bug, indeed. And what Groepaz said. =)
2021-03-06 10:02
tlr

Registered: Sep 2003
Posts: 1790
I'm not sure I fully understand the description, but I'm assuming you're running x64sc right?
A simple screen shot of the effect would be a good start.
2021-03-06 10:26
Laurent

Registered: Apr 2004
Posts: 40


This is from a real c64 (so, same behavior as Vice)
Fresh has some explanation here GhostbyteInSprite
2021-03-06 10:33
tlr

Registered: Sep 2003
Posts: 1790
Quote:

This is from a real c64 (so, same behavior as Vice)
Fresh has some explanation here GhostbyteInSprite


If it's that, we have discussed it quite a lot here: Sprite data fetch in sideborder

From the description I thought w4rp8 referred to the screen area idle fetch graphics, not the idle part at the top of sprites.
2021-03-06 10:53
Laurent

Registered: Apr 2004
Posts: 40
Thanks for the link TLR :)
2021-03-06 17:26
w4rp8

Registered: Oct 2010
Posts: 9
Quote: Uhm, that isn't quite correct.

Ghostbyte has nothing to do with any color registers, it simply takes the last byte of a VICII bank, or when using ECM it 'folds' the last charset RAM into $01ff and thus uses $39ff vs $3fff or $79ff vs $7fff.

When you use hires ($3x at $d011) and single color ($0x at $d016), the upper and lower border will always be black*.

* = when opening the upper/lower border.


Your reply is actually true as the effect does not show up in x64sc when I checked now. So I highly assume that it’s also not gltching on the real hardware. Sorry for rising false hopes ;-)
2021-03-06 18:34
Monte Carlos

Registered: Jun 2004
Posts: 359
There is one thing which could explain the observation. If you switch e.g. both $d021 and $3fff then between the actual write access and the display on the screen there is a different delay for the two registers. So you may indeed cover three of the 4-chars targeted by the $3fff write with setting $d021 to 0.
I think this was exploited in one of the Krestage demos for doing 8 sprites with two one char wide $3fff scrollers in the lower border.
2021-03-07 20:08
Rastah Bar
Account closed

Registered: Oct 2012
Posts: 336
Instead of writing to $3fff you can also switch banks with $dd00, which has the same delay. Another possibility is to toggle ECM, but IIRC the delay in that differs slightly between VIC models.
2021-03-07 20:24
Copyfault

Registered: Dec 2001
Posts: 478
Quoting tlr
If it's that, we have discussed it quite a lot here: Sprite data fetch in sideborder

...
Thanks for the pointer, tlr ;)

My first thoughts were going in exactly this direction, i.e. that it's something connected with the sprite data fetches.

But then Krill stressed that W4rp8's post#27 was about display data delays, so I'm not sure anymore...


So, what Groepaz says: we need a test prog!!! Won't get around fiddling with it too soon, though.
2021-03-07 21:29
Krill

Registered: Apr 2002
Posts: 2980
Quoting w4rp8
the effect does not show up in x64sc
Not really surprised. Now please everybody rename/move x64sc to x64 finally. =) (Also never trust any emulator before confirming on realthing.)
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: 63
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 Diskmag Editors
1 Magic  (9.8)
2 hedning  (9.6)
3 Jazzcat  (9.5)
4 Elwix  (9.1)
5 Remix  (9.1)

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