| |
The Phantom
Registered: Jan 2004 Posts: 360 |
Coloring around a multicolor bitmap
Hey all.
Hopefully this doesn't confuse anybody..
I'm trying to plot colors around a logo, so I can manipulate "things" in the background of the logo. My problem being is whenever I plot close to the logo, I get wrong coloring or something.
In certain areas, I can do direct screen plotting, like:
lda backdrop+1
sta $05e1
or
sta $d9e1
For some other areas, I'm using:
ldx #$00
ldy backdrop+1,x
ora sh4tab,y
sta $05e1
sh4tab
.byte $00,$10,$20,$30, etc
I've been playing with this for quite some time and starting to get a bit frustrated because I know it can be done, I just haven't a clue HOW to do it.
Any ideas? |
|
| |
Oswald
Registered: Apr 2002 Posts: 5017 |
in a multicolor bitmap each 2 bits represents a pixel. this is how these 2 bits will get colored:
00 = d021 color
01 = screen mem high 4 bits of the corresponding charplace
10 = screen mem low 4 bits of the corresponding charplace
11 = d800 of the corresponding charplace
if you understand this you will know whats the bug.
anyway a screenshot or something would help, since its hard to understand what is your problem.
("I get wrong coloring or something."- WTF?!)
|
| |
The Phantom
Registered: Jan 2004 Posts: 360 |
Here's a peek...
http://h1.ripway.com/ThePhantomFOE/peek.gif
My problem is around the lettering, as you'll see. |
| |
Zyron
Registered: Jan 2002 Posts: 2381 |
Secret Censor Tools can help you doing things like that. |
| |
Oswald
Registered: Apr 2002 Posts: 5017 |
the probem is that the character where the bug appears uses a different bitpattern for the grey color than the other ones near to it. try to change d800 or the low/high4 bits in the screen ram of that character, one of them ought to do the trick. |