From 6b711a55cfa9572d3978ca4defde5777a8e91b01 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Sat, 18 Jul 2009 22:56:36 +0000 Subject: [PATCH] double eek, dma length is in bytes, immediate store/load are in words. fixes coef dumping git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3840 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/DSPSpy/util/dump_roms.ds | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/DSPSpy/util/dump_roms.ds b/Source/DSPSpy/util/dump_roms.ds index dcd78991fc..fb8df643cf 100644 --- a/Source/DSPSpy/util/dump_roms.ds +++ b/Source/DSPSpy/util/dump_roms.ds @@ -29,7 +29,7 @@ CR_DRAM: equ 0 IROM_BASE: equ 0x8000 COEF_BASE: equ 0x1000 -DUMP_SIZE: equ 0x1000 ; in words! +DUMP_SIZE: equ 0x2000 ; in bytes! /**************************************************************/ @@ -100,7 +100,7 @@ do_halt: copy_irom_to_dram: lri $ar0, #IROM_BASE lri $ar1, #DRAM_BASE - lri $ar2, #DUMP_SIZE + lri $ar2, #DUMP_SIZE/2 ; each iteration copies a word bloop $ar2, copy_irom_to_dram_end ilrri $ac0.m, @$ar0 ; Now ac0.m is 16bits of irom! @@ -113,7 +113,7 @@ copy_irom_to_dram_end: copy_coef_to_dram: lri $ar0, #COEF_BASE lri $ar1, #DRAM_BASE - lri $ar2, #DUMP_SIZE + lri $ar2, #DUMP_SIZE/2 ; each iteration copies a word bloop $ar2, copy_coef_to_dram_end lrri $ac0.m, @$ar0 ; Now ac0.m is 16bits of coef!