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 > $3FFF border Idle pattern -mode- and color.
2016-03-11 12:39
Flavioweb

Registered: Nov 2011
Posts: 463
$3FFF border Idle pattern -mode- and color.

There is a way to change the color and/or -mode- (multicolor/ECM/whatever instead hires) of the IDLE pattern ($3FFF) that appears when you open upper/lower border?
 
... 3 posts hidden. Click here to view all posts....
 
2016-03-11 14:01
Smasher

Registered: Feb 2003
Posts: 520
<troll_mode> $39ff?... :) </troll_mode>
2016-03-11 16:44
lft

Registered: Jul 2007
Posts: 369
The various options are pretty thoroughly described in the vic article. Whatever data that would normally be obtained from the video matrix is going to be $00. So if you pick hires bitmap, for instance, then every pixel will be black regardless of d021 and the value of the idle byte.
2016-03-11 17:36
Smasher

Registered: Feb 2003
Posts: 520
Quote: The various options are pretty thoroughly described in the vic article. Whatever data that would normally be obtained from the video matrix is going to be $00. So if you pick hires bitmap, for instance, then every pixel will be black regardless of d021 and the value of the idle byte.

said with different words: find the way to put some colors on those black pixels and next nobel's prize is yours! :)
2016-03-11 17:48
Oswald

Registered: Apr 2002
Posts: 5094
"Whatever data that would normally be obtained from the video matrix is going to be $00. "

iirc, its not 00, just colors are strict black. with sprite HW collision the gfx is still readable.
2016-03-11 18:00
chatGPZ

Registered: Dec 2001
Posts: 11386
its 0, which is what makes it black in the first place :)
2016-03-11 18:44
Oswald

Registered: Apr 2002
Posts: 5094
first, $00 from the video matrix is only black if any associated color (register) is black....

secondly its not $00, VIC article:



3.7.3.6. Invalid text mode (ECM/BMM/MCM=1/0/1)
----------------------------------------------

Setting the ECM and MCM bits simultaneously doesn't select one of the
"official" graphics modes of the VIC but creates only black pixels.
Nevertheless, the graphics data sequencer internally generates valid
graphics data that can trigger sprite collisions even in this mode.
By
using sprite collisions, you can also read out the generated data (but you
cannot see anything, the screen is black). You can, however, only
distinguish foreground and background pixels as you cannot get color
information from sprite collisions.
2016-03-11 18:49
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: first, $00 from the video matrix is only black if any associated color (register) is black....

secondly its not $00, VIC article:



3.7.3.6. Invalid text mode (ECM/BMM/MCM=1/0/1)
----------------------------------------------

Setting the ECM and MCM bits simultaneously doesn't select one of the
"official" graphics modes of the VIC but creates only black pixels.
Nevertheless, the graphics data sequencer internally generates valid
graphics data that can trigger sprite collisions even in this mode.
By
using sprite collisions, you can also read out the generated data (but you
cannot see anything, the screen is black). You can, however, only
distinguish foreground and background pixels as you cannot get color
information from sprite collisions.


Illegal mode != ghostbyte
2016-03-11 18:54
chatGPZ

Registered: Dec 2001
Posts: 11386
Quote:
first, $00 from the video matrix is only black if any associated color (register) is black....

read again what lft wrote. hires bitmap -> vram is directly related to color. and yes, its 0 :) (and thats also the case for illegal gfx mode, when BMM is selected. whether valid pixel data is still produced is completely unrelated)
2016-03-11 19:27
Oswald

Registered: Apr 2002
Posts: 5094
okay, not really knew wtf is video matrix, in my mind it could be anything bitmap or screen, but google shows its what I usually call screen or attribute memory.
2016-03-11 20:44
Digger

Registered: Mar 2005
Posts: 437
You can (obviously!) change the color by inverting whatever $3fff pattern you got and use $d021.
Previous - 1 | 2 - 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
Andy/AEG
Unlock/Padua/Albion
TheRyk/MYD!
Chesser/Blazon
B.A./QUANTUM
Visage/Lethargy
Alakran_64
LordCrass
E$G/HF ⭐ 7
algorithm
Abynx/Wavefx
Guests online: 106
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 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (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 Graphicians
1 Mirage  (9.8)
2 Archmage  (9.7)
3 Pal  (9.6)
4 Carrion  (9.6)
5 Sulevi  (9.6)

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