mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
DSP tests: clean up unused code
This commit is contained in:
@ -187,65 +187,3 @@ CLR15
|
|||||||
|
|
||||||
; We're done, DO NOT DELETE THIS LINE
|
; We're done, DO NOT DELETE THIS LINE
|
||||||
jmp end_of_test
|
jmp end_of_test
|
||||||
|
|
||||||
; test accelerator
|
|
||||||
|
|
||||||
; TODO: DSPSpy puts a 16-bit ramp at 0x10000000
|
|
||||||
LRIS $AC1.M, #0x0a ; 16-bit PCM audio
|
|
||||||
;SRS @SampleFormat, $AC1.M
|
|
||||||
; Start accelerator position
|
|
||||||
LRI $AC1.M, #0x0100
|
|
||||||
SRS @ACCAH, $AC1.M
|
|
||||||
LRI $AC1.M, #0x1000
|
|
||||||
SRS @ACCAH, $AC1.M
|
|
||||||
; Current accelerator position
|
|
||||||
LRI $AC1.M, #0x0100
|
|
||||||
SRS @ACCAH, $AC1.M
|
|
||||||
LRI $AC1.M, #0x1000
|
|
||||||
SRS @ACCAH, $AC1.M
|
|
||||||
; End accelerator position
|
|
||||||
LRI $AC1.M, #0x0100
|
|
||||||
SRS @ACCAH, $AC1.M
|
|
||||||
LRI $AC1.M, #0x2000
|
|
||||||
SRS @ACCAH, $AC1.M
|
|
||||||
|
|
||||||
; Now to the interesting parameter - gain.
|
|
||||||
LRI $AC1.M, #0xFFFF
|
|
||||||
SRS @GAIN, $AC1.M
|
|
||||||
|
|
||||||
; Let's now load a sample through the accelerator.
|
|
||||||
LRS $AC1.M, @ACDSAMP
|
|
||||||
call send_back
|
|
||||||
|
|
||||||
jmp end_of_test
|
|
||||||
|
|
||||||
; test addpaxz
|
|
||||||
call send_back
|
|
||||||
|
|
||||||
clrp
|
|
||||||
lri $AX0.L, #0x1111
|
|
||||||
lri $AX0.H, #0x2222
|
|
||||||
call send_back
|
|
||||||
|
|
||||||
clrp
|
|
||||||
addpaxz $ACC0, $AX0.H
|
|
||||||
|
|
||||||
call send_back
|
|
||||||
|
|
||||||
clrp
|
|
||||||
set40
|
|
||||||
addpaxz $ACC0, $AX0.H
|
|
||||||
set16
|
|
||||||
|
|
||||||
call send_back
|
|
||||||
|
|
||||||
clrp
|
|
||||||
set15
|
|
||||||
addpaxz $ACC0, $AX0.H
|
|
||||||
clr15
|
|
||||||
|
|
||||||
call send_back
|
|
||||||
|
|
||||||
|
|
||||||
jmp end_of_test
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user