question about DMA
Posted: Thu Jan 05, 2012 2:39 pm
hi Pal,
when I as use DMA to move data from ROM to VDP in SEGA game system, problems happened when move data out of 128k program address space, but it's ok when i move data within 128k program address space.
;----------------------------------
DMA from rom to vdp ram
example:
org 20000h
mydata (length is 0x8000h)
org 4000h
other program
dma is ok
;;;;;;;;;;;;;;;;;;;;
org 3c000h
mydata length is 0x8000h
org 44000h
other proram
dma is error
when I as use DMA to move data from ROM to VDP in SEGA game system, problems happened when move data out of 128k program address space, but it's ok when i move data within 128k program address space.
;----------------------------------
DMA from rom to vdp ram
example:
org 20000h
mydata (length is 0x8000h)
org 4000h
other program
dma is ok
;;;;;;;;;;;;;;;;;;;;
org 3c000h
mydata length is 0x8000h
org 44000h
other proram
dma is error