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


Forums > C64 Coding > Ghostbyte / garbage / $3FFF
2008-12-05 11:57
Mace

Registered: May 2002
Posts: 1788
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...
 
... 42 posts hidden. Click here to view all posts....
 
2021-03-06 18:34
Monte Carlos

Registered: Jun 2004
Posts: 284
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

Registered: Oct 2012
Posts: 296
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: 396
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: 1879
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.)
2021-03-07 21:48
Groepaz

Registered: Dec 2001
Posts: 9828
Can we direct all complains about x64 no more being there to Krill then? =D
2021-03-07 21:54
Krill

Registered: Apr 2002
Posts: 1879
Well, just rename x64sc to x64 and the old x64 to x64linebased or x64inaccurate or x64forunderpoweredhardware or x64game or something. Have the more accurate thing be the default. :)
(Or just have x64sc be x64demo and x64 be x64game, then deliver both with their respective quite different default settings.)
2021-03-07 23:10
Compyx

Registered: Jan 2005
Posts: 612
I symlinked ~/bin/x64-not-krill to /usr/local/bin/x64 and ~/bin/x64 to /usr/local/bin/x64sc.

I had to change the order of adding stuff to $PATH in .bashrc and obviously this is a terrible idea.

Perhaps rename the old x64 to x64fuc (fast unaccurate core)?
2021-03-07 23:18
Krill

Registered: Apr 2002
Posts: 1879
This is getting way off topic, but the question is probably mostly who the main user base of VICE (for C-64) are, and thus what would the default be.

x64 seems to be wanted by a sizeable part of the users - probable reasons aside, it happens to run almost all games just fine, not so much demos.

Then again, it should be common knowledge by now that x64 is a lot less to trust than x64sc when it comes to accurate emulation, and the x64/sc defaults geared towards gaming are routinely changed to saner (by some definition) settings upon first install by demo sceners. Mhhh. =)
2021-03-08 00:35
Compyx

Registered: Jan 2005
Posts: 612
Yeah this is getting off topic. I'll alter configure to build x64sc as x64.

Back to the ghostbyte.
2021-03-08 13:21
Monte Carlos

Registered: Jun 2004
Posts: 284
come on, csdb is not s.o.
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
Mibri/ATL^MSL^PRX
Antitrack
wbochar
Jazzcat/Onslaught
ptoing
The Human Co../Maste..
4gentE
Sentinel/Excess
tlr
iAN CooG/HVSC
HCL/Booze Design
Guests online: 180
Top Demos
1 Edge of Disgrace  (9.6)
2 Comaland 100%  (9.6)
3 Uncensored  (9.6)
4 Coma Light 13  (9.6)
5 Unboxed  (9.6)
6 Lunatico  (9.5)
7 Memento Mori  (9.5)
8 Wonderland XII  (9.5)
9 Christmas Megademo  (9.5)
10 The Shores of Reflec..  (9.5)
Top onefile Demos
1 Copper Booze  (9.8)
2 Daah, Those Acid Pil..  (9.6)
3 To Norah  (9.5)
4 Lovecats  (9.5)
5 Dawnfall V1.1  (9.5)
6 Square Booze  (9.4)
7 Quadrants  (9.4)
8 Elite Code Mechanics  (9.4)
9 For Your Sprites Only  (9.4)
10 Remembrance  (9.4)
Top Groups
1 Booze Design  (9.4)
2 Censor Design  (9.3)
3 Oxyron  (9.3)
4 Fossil  (9.3)
5 PriorArt  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Acidchild  (9.7)
4 Starlight  (9.6)
5 Violator  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2021
Page generated in: 0.049 sec.