view components/nucleus_intram @ 286:ee16d57b32b2

Condat audio_Init(): rm setting of sidetone level The default sidetone level in the absence of audio mode loading is just that, a basic default without any promises of good tuning. In the original TCS211 code this default sidetone level was set in two places: first in L1 init of ABB-via-DSP registers (set to -17 dB), and then initialized again in Condat audio_Init(), this time set to -5 dB. The present change removes the redundant second initialization. The default sidetone level is now -17 dB instead of -5 dB with this change, but again it is just the default; all serious users are now expected to use audio mode config files.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 09 Nov 2021 02:16:59 +0000
parents 572c3ee87676
children
line wrap: on
line source

# New Tourmaline component: compiling Nucleus from source (internal RAM)

CFLAGS="-mn -me -mt -o -mw"
CPPFLAGS=

SRCDIR=$SRC/nucleus

cfile_plain $SRCDIR/csc.c
cfile_plain $SRCDIR/pmc.c
cfile_plain $SRCDIR/pmce.c
cfile_plain $SRCDIR/pmd.c
cfile_plain $SRCDIR/smc.c
cfile_plain $SRCDIR/smce.c
cfile_plain $SRCDIR/smd.c
cfile_plain $SRCDIR/tcc.c
cfile_plain $SRCDIR/tcce.c
cfile_plain $SRCDIR/tcd.c
cfile_plain $SRCDIR/tmc.c
cfile_plain $SRCDIR/tmd.c
cfile_plain $SRCDIR/tms.c
cfile_plain $SRCDIR/tmse.c

# assembly modules

ASMFLAGS=-me
ASMFLAGS="$ASMFLAGS -dOP_L1_STANDALONE=0"
ASMFLAGS="$ASMFLAGS -dTI_NUC_MONITOR=0"

SRCDIR=$SRC/cs/os/nucleus
asm_file $SRCDIR/tct.s

SRCDIR=$SRC/nucleus/tms470
asm_file $SRCDIR/tmt.s