feat(go4k&sointu): Export .h C header files from the songs using go, also automatically during build for the tests.

The header files are automatically generated during build. No need to #define anything; everything is fixed by the .asm file. This adds go as a dependency to run the unit tests, but this is probably not a bad thing, as go is probably needed anyway if one wants to actually start developing Sointu.
This commit is contained in:
Veikko Sariola
2020-12-03 23:43:39 +02:00
parent a1e7e82d6d
commit efbcf1454e
17 changed files with 279 additions and 113 deletions

View File

@ -292,7 +292,7 @@ EXPORT MANGLE_FUNC(su_power,0)
; Stack : sample row pushad output_ptr
;-------------------------------------------------------------------------------
%macro output_sound 0
%ifndef SU_USE_16BIT_OUTPUT
%ifndef OUTPUT_16BIT
%ifndef SU_CLIP_OUTPUT ; The modern way. No need to clip; OS can do it.
mov _DI, [_SP+su_stack.bufferptr - su_stack.output_sound] ; edi containts ptr
mov _SI, PTRWORD su_synth_obj + su_synthworkspace.left

View File

@ -77,7 +77,7 @@
%endif
%endif
%ifdef SU_USE_16BIT_OUTPUT
%ifdef OUTPUT_16BIT
%define SU_INCLUDE_CLIP
%endif

View File

@ -1,4 +1,4 @@
%ifdef INCLUDE_GMDLS
%ifdef INCLUDE_SAMPLES
%define SAMPLE_TABLE_SIZE 3440660 ; size of gmdls

View File

@ -1,4 +1,4 @@
%ifdef INCLUDE_GMDLS
%ifdef INCLUDE_SAMPLES
%define SAMPLE_TABLE_SIZE 3440660 ; size of gmdls