TO Grauw (and others, of course): YASVL

Página 1/2
| 2

Por PingPong

Prophet (4093)

Imagen del PingPong

04-01-2022, 01:41

OK, let's explain the acronym:
Y et
A nother
S tupid
V dp
Limitation

During investigation in r5 and r11 vdp registers (SAT attribute table address) i've found some 'peculiarities' of bits usage from the vdp when working in sprite mode 1 or 2.

I must admit, that after more than 30 years the vdp keep surprising me in how they managed to setup not needed behaviours that finally turns out to be another limitations.
After i've saw how lower bits in r5 are used in r5, another thing surprised me. the wiki say that the higher bits (> upper 64K range) are only used in screen 7-8.

I hope this is a documentation mistake, because otherwise this would mean that , if i need, i cannot set the SAT on the upper 64K (in a 128K vram machine, of course), when working, for example in screen 5, leaving page 0-1 free from sprite data.
I think this behaviour is unnecessary, why the VDP should mask out as zero those higher bits in screen 4-5-6? if i want to be on the lower 64K it's my responsability to keep them 0. By contrast, by forcing them to be 0 you remove me some flexibility in address placement.

Can anyone confirm this is true on a real machine? I CANNOT BELIEVE THIS. I CANNOT BELIEVE, REALLY. Maybe yamaha designers asked Kuttag for some stupid idea? oO :-( Question Crying Crying Crying

Login sesión o register para postear comentarios

Por Grauw

Ascended (10706)

Imagen del Grauw

04-01-2022, 09:36

PingPong wrote:

After i've saw how lower bits in r5 are used in r5, another thing surprised me. the wiki say that the higher bits (> upper 64K range) are only used in screen 7-8.

That’s not true, there is no such limitation on the high bits in r11, they can be used in any screen mode.

Por Sandy Brand

Champion (295)

Imagen del Sandy Brand

04-01-2022, 10:57

Yes I can confirm. I have lots of sprite attribute tables in screen 5 page 3 and that all works as expected.

Por PingPong

Prophet (4093)

Imagen del PingPong

04-01-2022, 11:17

then i think the wiki should be corrected as it does reports this 'feature'

Por Pippo

Hero (521)

Imagen del Pippo

04-01-2022, 11:45

I kindly confirm as well: The sprites tables can be used anywhere. Smile

Por Pippo

Hero (521)

Imagen del Pippo

04-01-2022, 11:52

It seems Yamaha Designers are not stupid, maybe others....

Por PingPong

Prophet (4093)

Imagen del PingPong

04-01-2022, 15:11

I've suspected that docs were incorrect. However given the others stupid quirks on VDP (SCT being related to plane instead of pattern no, the stupid Y coordinate that gives trouble when dealing with vert scroll register, the EC bit at a scanline level) being doubtful it is understandable ...

Por Pippo

Hero (521)

Imagen del Pippo

04-01-2022, 16:15

PingPong wrote:

I've suspected that docs were incorrect. However given the others stupid quirks on VDP (SCT being related to plane instead of pattern no, the stupid Y coordinate that gives trouble when dealing with vert scroll register, the EC bit at a scanline level) being doubtful it is understandable ...

I see.
But, it is good habit to think carefully before talking. Smile

Por PingPong

Prophet (4093)

Imagen del PingPong

04-01-2022, 19:16

68 / 5.000
Risultati della traduzione
I hope I don't have to suffer criminal consequences for my claims

;-)

Por Pippo

Hero (521)

Imagen del Pippo

04-01-2022, 21:42

PingPong wrote:

68 / 5.000
Risultati della traduzione
I hope I don't have to suffer criminal consequences for my claims

;-)

However, I always think you are in the wrong forum. Smile

Por Pippo

Hero (521)

Imagen del Pippo

04-01-2022, 22:23

I really think I am in the wrong forum too.
Due to the moderator could take action, I have to close the discussion.

Página 1/2
| 2