DSPtool: Better code comparer + cmdline interface added. header generator bugfixed. dsp_test.S now matches the binary.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2994 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2009-04-18 12:27:24 +00:00
parent e7e4ef4481
commit ee933cb5d4
4 changed files with 74 additions and 20 deletions

View File

@ -429,15 +429,15 @@ do_dma:
sr @DSBL, $r1a
wait_dma:
LRS $ACL1, @DSCR
andf $acl1, #0x0004
JNZ wait_dma
andcf $acl1, #0x0004
JLZ wait_dma
RET
wait_for_dsp_mbox:
lrs $ACL1, @DMBH
andf $acl1, #0x8000
jnz wait_for_dsp_mbox
andcf $acl1, #0x8000
jlz wait_for_dsp_mbox
ret
wait_for_cpu_mbox:
@ -489,8 +489,8 @@ irq7:
irq:
lrs $ACL1, @DMBH
andf $acl1, #0x8000
jnz irq
andcf $acl1, #0x8000
jlz irq
si @DMBH, #0x8BAD
sr @DMBL, $r0b
;sr @DMBL, $acl0