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....
 
2008-12-05 21:49
Ksubi
Account closed

Registered: Nov 2007
Posts: 87
My favourite ghost byte piece of code from 1987: Gauntlet the intro by the Cult is simple and cool.
2008-12-05 21:57
JackAsser

Registered: Jun 2002
Posts: 2014
I think Graham made the coolest application of it so far (C128 only though) in RFO - The VIC experience. If you open the top/bottom border and disable the screen at the same time u get the classic sprites+3fff without chars screen. On a C128 in 2Mhz mode the VIC will never issue any memory reads so the $3fff-gfx every VIC-cycle is now instead what was left on the bus, i.e. the bytes that was read by the CPU. So, by using 2c op-codes, like f.e. LDA #$xx u can indirectly alter the $3fff gfx every VIC-cycles by simply align the CPU-read of the immediate value and the VIC. Kinda cool! :)
2008-12-05 22:14
Mace

Registered: May 2002
Posts: 1799
JackAsser... can you translate that to a language I understand, please? :D
2008-12-05 22:52
Danzig

Registered: Jun 2002
Posts: 440
Quote: 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? :)

you explored it yesterday? that makes dick size * -1 ;)
2008-12-05 22:52
Zyron

Registered: Jan 2002
Posts: 2381
Quote: JackAsser... can you translate that to a language I understand, please? :D

You can make cool effect! ;)
2008-12-06 08:18
Hein

Registered: Apr 2004
Posts: 954
There is also simple but practical use, I used it in The Good, the Bad and the Ugly with split raster to create a lovely black rectangle in the top border.
2008-12-06 10:09
Mace

Registered: May 2002
Posts: 1799
LOL @ Zyron :-)
2008-12-06 13:40
Krill

Registered: Apr 2002
Posts: 2980
Mace: You do lda #$55 : lda #$f0 : lda #$0f and it shows this pattern: .*.*.*.*****........**** - fill a whole screen with it plus sideborder sprites and you have full-screen hires.
2008-12-06 15:55
Mace

Registered: May 2002
Posts: 1799
@ Krill: ah, I see! Interesting.
2008-12-07 18:44
Monte Carlos

Registered: Jun 2004
Posts: 359
Did you know, that the ghostbyte
in multicolor mode is behind / before
Sprites dependent on $d01d and the pixel combination
of a ghostbyte double pixel?
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
Derision/Longshot
Krill/Plush
Linus/MSL
Fred/Channel 4
X-Raffi/X-Rated
REBEL 1/HF
Paul Bearer
Mike
Didi/Laxity
Guests online: 72
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 Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 Tim  (9.7)

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