how to set the border colour in screen 7?

Pagina 2/3
1 | | 3

Van [D-Tail]

Ascended (8259)

afbeelding van [D-Tail]

30-06-2004, 11:21

Which doesn't actually matter if you want to turn the screen white. All RGB values have to be at their maximum then...

Van Sonic_aka_T

Enlighted (4130)

afbeelding van Sonic_aka_T

30-06-2004, 12:23

Well, just to be complete. Normally you'd expect it to be RBG on an MSX. Somehow it's GRB for this register, kind of odd...

Van anonymous

incognito ergo sum (116)

afbeelding van anonymous

30-06-2004, 12:52

No, it's not odd. Palettes are always GRB!

palette values are written to the palette registers: 0rrr0bbb then 00000ggg
You apparently think that means RBG, but it doesn't. It's a 16 bit number, the first byte is the low-byte, and the second is the high-byte, just like always.

You can define a palette value in 16bit like this: dw GRBh
with G, R and B both being values 0-7.

I've seen people use "db RBh,G" which is probably another source for your confusion, but that's just a weird way of doing things...

Van BiFi

Enlighted (4348)

afbeelding van BiFi

30-06-2004, 13:15

I think some people really need to get their hands on that "no-one-can-do-without" MSX VDP-Bible Smile

In short: the V9938 Application Manual.

Van ro

Scribe (4696)

afbeelding van ro

30-06-2004, 14:23

Hai G! (I knew you were snoopin'round all the time hehe)

True, itsa WORD value which has, as we should know, byte order reversed (first Low then High byte)
so RBG(RB0G) is 0GRB in essence.

Van ro

Scribe (4696)

afbeelding van ro

30-06-2004, 14:24

I think some people really need to get their hands on that "no-one-can-do-without" MSX VDP-Bible Smile

In short: the V9938 Application Manual.

...and you would be the one scanning the whole darn thing?

Van anonymous

incognito ergo sum (116)

afbeelding van anonymous

30-06-2004, 14:25

Van BiFi

Enlighted (4348)

afbeelding van BiFi

30-06-2004, 14:48

ro: guess again? Wink

Besides, Laurens is working on the transcribed version which is available on the MSX Assembly Page and even though it's a work in progress, it might be quite useful already.

Van ro

Scribe (4696)

afbeelding van ro

30-06-2004, 14:55

nice one... tedious job, but nicely done

Van flyguille

Prophet (3028)

afbeelding van flyguille

30-06-2004, 15:24

problem fixed, after all was a mask...

i was confused because all the test i do that on 1998 and then drop the problem for later. 6 year with that issue, and was a simply AND 0Fh in the middle.

And now , i are thinking that all the test that i remember about test border colour on BASIC was not about screen 8. Now i think it was screen 6... but that a long time ago...

Pagina 2/3
1 | | 3