How I can choose background colour to notes?

By MäSäXi

Paragon (1884)

MäSäXi's picture

08-08-2010, 18:00

I mean those two musical notes which can be found by using GRAPH-key.

I can change their front colour using COLOR of course, but what about their background colour then?

As they are on the same area as control codes, they can have some "strange" behaviour also.

But, what is the address to give them front and background colour using VPOKE &H address,&H f/b-colour?

Login or register to post comments

By hap

Paragon (2042)

hap's picture

08-08-2010, 19:31

The musical notes are tiles $D and $E, and default address for the colortable in screen 1 is $2000, so, do vpoke &h2001,&h12

By MäSäXi

Paragon (1884)

MäSäXi's picture

09-08-2010, 09:33

Thank you!

But that´s strange, as I was sure I tried that &h2001 already.... Question That´s why I had to ask! But as I had experimented with BASIC for hours, so I guess I was a bit tired after that.... Tongue I am sorry.... Tongue

By PingPong

Prophet (4093)

PingPong's picture

09-08-2010, 10:29

Thank you!

But that´s strange, as I was sure I tried that &h2001 already.... Question That´s why I had to ask! But as I had experimented with BASIC for hours, so I guess I was a bit tired after that.... Tongue I am sorry.... Tongue
what screen mode are you using?

By MäSäXi

Paragon (1884)

MäSäXi's picture

10-08-2010, 11:13

Can´t be true! LOL! I forgot to mention screen mode! Tongue

I used SCREEN 1. As I said, I probably was too tired.... Smile

Those notes give certain "strange" effect, if you try to scroll them from right to left with simple BASIC program. When those notes reach left edge, note character turns either to N or M (depending which note reaches edge) and gets same front/back colours as real N and M and whole scroller slows down every time when note disappears from the screen.

Also, as characters arrive from the right hand edge of the screen, those notes push that location (location where characters arrive) to the left (example: 4 notes push location 4 characters left, etc) and that "bug" in scrolling text disappears as soon as notes disappear one by one to the left hand edge of the screen.

So I guess those notes are on same area as control code for "left" or something like that.