; Output a calibration tone using table lookup and interpolation. ; ; written by Quinn Jensen (jensenq@npd.novell.com) ; ref: _Digital Sine-Wave Synthesis Using the DSP56001_, ; Motorola app note APR1/D rev 1 ; include 'tdsg.basic.a56' ;*************************************************************** ; ; sample rate computations ; ;*************************************************************** dot org x:$20 include 'caltone.inc' dphase dc dphase_h org y:$20 dc dphase_l org x:$21 phase dc 0 sinetab equ $100 org p:dot ; ; non-interrupt code ; hf_init ori #4,omr rts eff1_on eff1_off eff2_on eff2_off eff3_on eff3_off eff4_on eff4_off rts ; ; fs = 32.552083 kHz ; hf_comp jsr $0000FF,y1 and y1,a move a,l: