Strange. May be I upload driver, then send play command, but after it, driver init his memory and clear all things, such as command FIFO. I will add delay.Chilly Willy wrote:Doesn't make a sound. Not crashing, though.
Only after you say about copy_tiles and length, I understood which of w x y z you said. wxyz - from VRAM, not on screen!Chilly Willy wrote:Maybe you forgot that the length you pass to copy_tiles is one less than the number of tiles to copy (for the dbra).
Now I understand what realy happens. Tiles from w to arrow, and may be after, filled with trash in VRAM.
Why I confused before: I use DMA only for upload and update tile map into plane A.
I think, problem is: again, not correct DMA last access.
Last access sets destination of DMA and starts DMA process.
As we can see, sometimes, some tiles trashed. From this fact, I conclude that this way of set destination of DMA not stable. To replace tiles from w, needs to send command $2EE00080
So, I replaced move.l, with two move.w
Again, here is new ROM: http://elektropage.ru/r57shell/GEMS_Player_cut_dma.bin