Wiki chapter PUT SPRITE

Pagina 1/2
| 2

Door Mork

Resident (49)

afbeelding van Mork

20-02-2023, 11:17

Hi,
here https://www.msx.org/wiki/PUT_SPRITE it's written under the section "Parameters ... Color:

"between 0 and 127 in screens 4 to 8 and 10 to 12. Ii is the result of values 0 or 1 in the 8-bit VDP Sprite Color Register, used only for the sprites type 2. As bit 4 is unused, some values between 16 and 127 are useless."

I got quite confused about the sentence "li is the result of..." - what is "li"? Assuming it's an error and it should say "It" I don't get the rest of the sentence because the VDP Sprite Color Register is not only used for the sprites type 2, or am I wrong?

Aangemeld of registreer om reacties te plaatsen

Van mars2000you

Enlighted (6482)

afbeelding van mars2000you

20-02-2023, 12:33

The Sprite Color Register is only used for the sprites type 2.

See https://konamiman.github.io/MSX2-Technical-Handbook/md/Chapt...

and compare with https://konamiman.github.io/MSX2-Technical-Handbook/md/Chapt...

Btw, the infos about this register without number are missing in https://www.msx.org/wiki/VDP_Registers

Van Mork

Resident (49)

afbeelding van Mork

20-02-2023, 12:38

Ah, so the "or"-mode can't be used with sprites type 0 ?

Van mars2000you

Enlighted (6482)

afbeelding van mars2000you

20-02-2023, 13:05

It's one of the reasons that makes screen 4 more interesting than screen 2.

Van Mork

Resident (49)

afbeelding van Mork

20-02-2023, 13:59

So shouldn't the information, that the "or" - mode only works with sprites type 2 be added to this wiki-article:
https://www.msx.org/wiki/The_OR_Color

Van mars2000you

Enlighted (6482)

afbeelding van mars2000you

20-02-2023, 14:17

It was implicit by starting the page with reference to V9938, but it is indeed better to say it explicitly.

Van Mork

Resident (49)

afbeelding van Mork

20-02-2023, 14:47

The first example given there starts with:
10 COLOR,0,0:SCREEN 5
So I thought this would work with the default value which is sprite type 0 ?

Van mars2000you

Enlighted (6482)

afbeelding van mars2000you

20-02-2023, 14:58

I don't understand what you mean. Screen 5 is not available on MSX1.

Van Mork

Resident (49)

afbeelding van Mork

20-02-2023, 15:11

Can't you use sprite type 0 on the new screens introduced with MSX2 ?

Van mars2000you

Enlighted (6482)

afbeelding van mars2000you

20-02-2023, 15:08

It's type 1 (not type 0) and you can use it on all MSX generations, but without the type 2 features.

The examples are there to illustrate and test how the OR feature works, not to use it with type 1!

Van Mork

Resident (49)

afbeelding van Mork

20-02-2023, 15:16

The wiki for screen says: "0: Sprite size is 8 by 8 pixels (default value)"
Do I mess something?
I thought type 0 would express the 8x8 and type 2 the 16x16 spritesize.

Pagina 1/2
| 2