DSPSpy: Fix hang when using the free DSP rom
This commit is contained in:
parent
e7a30dd468
commit
87dc668522
|
@ -118,7 +118,10 @@ do_dma:
|
|||
sr @DSPA, $ax0.l
|
||||
sr @DSCR, $ax1.l
|
||||
sr @DSBL, $ax0.h ; This kicks off the DMA.
|
||||
call 0x863d ; Wait for DMA to complete by watching a bit in DSCR.
|
||||
wait_dma_finish:
|
||||
lr $ac1.m, @DSCR
|
||||
andcf $ac1.m, #0x4
|
||||
jlz wait_dma_finish
|
||||
ret
|
||||
|
||||
; IRQ handlers. Just send back exception# and die
|
||||
|
|
Loading…
Reference in New Issue