VDP commands in SC4

Par Metalion

Paragon (1149)

Portrait de Metalion

04-06-2020, 16:56

Hi,

Are the VDP commands totally disabled in SC4 ?
Or is it just some of them ?

!login ou Inscrivez-vous pour poster

Par Grauw

Ascended (9156)

Portrait de Grauw

04-06-2020, 18:03

On the V9938 VDP commands do not work in modes below screen 5. Actually, I seem to recall reading they do work during blanking, but don’t quote me on that. On the V9958 they added a flag you can set to enable VDP commands to work in these modes, then they behave as if it is screen 8.

Par NYYRIKKI

Enlighted (5556)

Portrait de NYYRIKKI

04-06-2020, 20:24

I also remember something like that if you switch screen mode during blanking to SCREEN 5 or 6 you may be able to do something... Is it worth the trouble is another question... On V9958 the feature is pretty useless due to VRAM interleaving that is used on SCREEN 7 and up... Or at least you need to have extremely special need... Maybe ok, if you place color table and pattern generator table 64kB away from each other(?)

Par Metalion

Paragon (1149)

Portrait de Metalion

04-06-2020, 20:29

Thanks, but my problem is of another nature ...

I do a bunch of VDP commands in SC5 and I would have liked to do a screen split SC4/SC5. The problem is that I need 3 frames to do all my VDP commands (without the screen split), and when I do the screen split, the VDP commands are disabled in the SC4 part of the screen. So it does not work.

One solution would be to limit the VDP commands to the SC5 part of the screen, but then it would mean that I would need a lot more frames to finish the job.

Par ARTRAG

Enlighted (6398)

Portrait de ARTRAG

04-06-2020, 22:40

I did something about using commands in vblank while the rest of the screen is in text

https://msx.org/forum/development/msx-development/vdp-comman...

Sadly all commands ends when you change screen mode

Par sd_snatcher

Prophet (3296)

Portrait de sd_snatcher

05-06-2020, 14:46

Quote:

Sadly all commands ends when you change screen mode

That's sad.

Related question: Anyone knows what happens when you change from sc5 to sc8 when a blitter command is running (and vice-versa)?

Par PingPong

Prophet (3527)

Portrait de PingPong

05-06-2020, 16:38

trouble?
the memory addressing change because of interleaving?.