README: clarify testing status

This commit is contained in:
Zack Buhman 2023-08-24 04:34:58 +00:00
parent 2fe41d22dc
commit 6bea0cbf59
3 changed files with 16 additions and 3 deletions

View File

@ -17,6 +17,18 @@ the same source code used with the SEGA-authored ``dspasm.exe``,
**except** in the cases where ``dspasm.exe`` behavior is considered a
bug.
Current status
==============
100% of the documented dspasm.exe features are supported, as well as
miscellaneous undocumented features.
scu-dsp-asm correctly assembles all of the examples in the test/
directory in this repository, with caveats listed below.
scp-dsp-asm has not been tested exhaustively, and the test programs do
not cover 100% of the possible SCU DSP instructions or arguments.
Differences that affect source code
===================================

View File

@ -1,15 +1,15 @@
DSPASM = dspasm.exe
SRC = sample1.asm sample2a.asm sample2b.asm sample3.asm
SRC += cmpnm.asm fbtrans.asm loop_pr.asm udiv.asm
#SRC += cmpnm.asm fbtrans.asm loop_pr.asm udiv.asm
EXPECT = $(patsubst %.asm,expect/%.bin,$(SRC))
ACTUAL = $(patsubst %.asm,actual/%.bin,$(SRC))
ALL = $(EXPECT) $(ACTUAL)
ALL_TXT = $(patsubst %.bin,%.txt,$(ALL))
all: $(ALL)
all-expect: $(EXPECT)
all-actual: $(ACTUAL)
all: $(ALL)
all-txt: $(ALL_TXT)
%.s: %.asm

View File

@ -19,7 +19,8 @@ RAM2_ADR = $00 ; Address of original array
;
MVI DATA_TOP,RA0
MOV RAM0_ADR,CT0
DMA D0,MC0,#$02
;; DMA D0,MC0,#$02
DMA D0,M0,#$02
;
; (Copy of array to be operated from RAM2 to RAM1)
MOV RAM2_ADR,CT2