Page 1 of 1

Does anyone know where the value of VDP register number 7 is stored?

Posted: Wed Nov 25, 2015 4:47 pm
by greatkreator
Does anyone know where the value of VDP register number 7 is stored?
Is it possible somehow to do DMA into it?

Re: Does anyone know where the value of VDP register number 7 is stored?

Posted: Wed Nov 25, 2015 5:12 pm
by Mask of Destiny
Registers are stored inside the VDP itself and you cannot DMA to them. You can however DMA to CRAM. So you can change the background color by leaving register 7 alone and updating the CRAM entry that it points to. This is how the direct color DMA demos work. You set the autoinc register to 0 so each write goes to the same address and then you just start a large DMA to the background color CRAM address.

Re: Does anyone know where the value of VDP register number 7 is stored?

Posted: Wed Nov 25, 2015 5:17 pm
by greatkreator
Thanks Mask! I am of course aware of the direct color trick.
But why am I asking about reg 7? Because I hoped maybe it was possible to do the same with it however without having those 5 doubled-pixel-columns artifacts.