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 > The hamster ate my Multi-Colors
2006-03-13 13:18
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?
2006-03-13 13:26
Dane

Registered: May 2002
Posts: 423
Set the $d800-register to $0E.
2006-03-13 13:28
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?
2006-03-13 13:39
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."

2006-03-13 14:08
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
2006-03-13 15:59
Oswald

Registered: Apr 2002
Posts: 5094
MRT :D anyway we're glad you're trying :)
2006-03-13 23:11
Slartibartfast
Account closed

Registered: Jul 2002
Posts: 230
I like the colours.
2006-03-13 23:16
TDJ

Registered: Dec 2001
Posts: 1879
Stop blaming the hamster!
2006-03-13 23:38
Slartibartfast
Account closed

Registered: Jul 2002
Posts: 230
I thought it was the PETSCII?

Man that is one loooong acronym eh?
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
E$G/HF ⭐ 7
Guests online: 149
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 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 X-Mas Demo 2024  (9.5)
7 Dawnfall V1.1  (9.5)
8 Rainbow Connection  (9.5)
9 Onscreen 5k  (9.5)
10 Morph  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Coders
1 Axis  (9.8)
2 Graham  (9.8)
3 Lft  (9.8)
4 Crossbow  (9.8)
5 HCL  (9.8)

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