From f72792bee152dc62cca569b4e6f07103ba1eb47b Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Fri, 28 May 2021 14:41:08 +0300 Subject: [PATCH] Undo qemu address changes --- media/audio/mp3/mp3_0.gpr | 10 +++++----- media/audio/mp3/mp3_0.sh | 8 ++++---- media/audio/mp3/mp3_1.sh | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/media/audio/mp3/mp3_0.gpr b/media/audio/mp3/mp3_0.gpr index f76bcbcc..3318e6a4 100644 --- a/media/audio/mp3/mp3_0.gpr +++ b/media/audio/mp3/mp3_0.gpr @@ -1,9 +1,9 @@ # void ff_mpadsp_apply_window_float(float *synth_buf, float *window, # int *dither_state, float *samples, # ptrdiff_t incr); -1: 0x20800000 # stack pointer (high up in "RAM" to keep qemu happy) -3: 0x20100000 # param 1: float *sunth_buf buf -4: 0x20200000 # param 2: float *window win -5: 0x20300000 # param 3: int *dither_state &unused -6: 0x20400000 # param 3: float *samples out +1: 0x4000 # stack pointer +3: 0x100000 # param 1: float *sunth_buf buf +4: 0x200000 # param 2: float *window win +5: 0x300000 # param 3: int *dither_state &unused +6: 0x400000 # param 3: float *samples out 7: 1 # param 5: ptr_diff_t incr 1 diff --git a/media/audio/mp3/mp3_0.sh b/media/audio/mp3/mp3_0.sh index a49af0c8..b90c40cc 100755 --- a/media/audio/mp3/mp3_0.sh +++ b/media/audio/mp3/mp3_0.sh @@ -2,9 +2,9 @@ pypowersim -g audio/mp3/mp3_0.gpr \ -s common.spr \ - -p 0x20000000 \ - -l data/audio/mp3/mp3_0_data/buf${1}:0x20100000 \ - -l data/audio/mp3/mp3_0_data/win0:0x20200000 \ - -d ${2}:0x20400000:128 \ + -p 0x20000000 \ + -l data/audio/mp3/mp3_0_data/buf${1}:0x100000 \ + -l data/audio/mp3/mp3_0_data/win0:0x200000 \ + -d ${2}:0x400000:128 \ -i audio/mp3/mp3_0_apply_window_float.bin cmp ${2} data/audio/mp3/mp3_0_data/samples${1} diff --git a/media/audio/mp3/mp3_1.sh b/media/audio/mp3/mp3_1.sh index 6356dce4..c2cdea0d 100755 --- a/media/audio/mp3/mp3_1.sh +++ b/media/audio/mp3/mp3_1.sh @@ -2,7 +2,7 @@ pypowersim -g audio/mp3/mp3_1.gpr \ -s common.spr \ - -p 0x20000000 \ + -p 0x20000000 \ -l data/audio/mp3/mp3_1_data/beforeout${1}:0x100000 \ -l data/audio/mp3/mp3_1_data/buf${1}:0x200000 \ -l data/audio/mp3/mp3_1_data/in${1}:0x300000 \ -- 2.30.2