| |
MRT Account closed
Registered: Sep 2005 Posts: 149 |
The hamster ate my Multi-Colors
I'm writing this piece of code for my next demo where I use multi-color characters.
Now the strange thing is that I don't see any of these multi-colors. I just see one single color (+ background) and even see pixels of the size 1x1 instead of 2x1.
Now before you all start crapping on me...
$D016 is filled with $D8 the whole time. (%11011000)
And I only use low character colors...
$D800 -> $DCF8 is filled with $06 (Blue)
And NO...
$D022 and $D023 are NOT filled with $06, but use Red and Purple. :-)
And YES...
I'm color-blind 8-D
Realy I am, but I sould be able to see those VIC colors. I used to anyway :-)
And then still... The 1x1 pixel size... :-)
Does anyone has any idea on how to fix this?
|
|
| |
Dane
Registered: May 2002 Posts: 423 |
Set the $d800-register to $0E. |
| |
Style
Registered: Jun 2004 Posts: 498 |
You sure you have lda #$D8 and not lda $d8?
:)
Post the code I guess....
edit: or ensure extended colour mode is off in $d011 - what are you putting in there to enable bitmap mode? |
| |
MRT Account closed
Registered: Sep 2005 Posts: 149 |
Quote: Set the $d800-register to $0E.
Bwhuh... That works...
Screw me... (or not :)
"Multi-color mode is set on or off for each space on the screen, so that multi-color graphics can be mixed with high-resolution (hi-res) graphics.
This is controlled by bit 3 in color memory. Color memory begins at location 55296 ($D800 in HEX). If the number in color memory is less than 8 (0-7) the corresponding space on the video screen will be standard hi-res, in the color (0-7) you've chosen. If the number located in color memory is greater or equal to 8 (from 8 to 15), then that space will be displayed in multi-color mode."
|
| |
WVL
Registered: Mar 2002 Posts: 902 |
Quote: Bwhuh... That works...
Screw me... (or not :)
"Multi-color mode is set on or off for each space on the screen, so that multi-color graphics can be mixed with high-resolution (hi-res) graphics.
This is controlled by bit 3 in color memory. Color memory begins at location 55296 ($D800 in HEX). If the number in color memory is less than 8 (0-7) the corresponding space on the video screen will be standard hi-res, in the color (0-7) you've chosen. If the number located in color memory is greater or equal to 8 (from 8 to 15), then that space will be displayed in multi-color mode."
hehehe.. lol :)
btw, it's up to $dbe8, not $dcf8 ;) thats 256+16 bytes off man :D |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
MRT :D anyway we're glad you're trying :) |
| |
Slartibartfast Account closed
Registered: Jul 2002 Posts: 230 |
I like the colours. |
| |
TDJ
Registered: Dec 2001 Posts: 1879 |
Stop blaming the hamster! |
| |
Slartibartfast Account closed
Registered: Jul 2002 Posts: 230 |
I thought it was the PETSCII?
Man that is one loooong acronym eh? |