This directory contains some standalone programs for bringing up and testing
the IP22 audio system. I've gone through some of them and made them work
on near-mr level Indigo 2's. (I still haven't seen an MR level Indigo 2).
The files below that have descriptions appear to work. You're on your
own with the rest. If you test others you should check your fixes in and
add brief descriptions to the list.
Makefile
Makefile.bk
README
a2_mdac1ktone.c
a2_mic2codeca.c
hal2_16ramp.c Plays a 16 sample long ramp sequence out the speaker.
Runs for about 7 seconds. Sample rate is 12khz.
hal2_1ktone.c Plays a 1 Khz tone out the speaker. Can be aborted
with ctl-c.
hal2_1ktone_aes.c
hal2_1value.c
hal2_65kramp.c
hal2_acvalue.c
hal2_aesbstx.c
hal2_aesnonaudio.c
hal2_aesnonaudio2.c
hal2_aesout.c
hal2_aesout_endian.c
hal2_aesout_mono.c
hal2_aesout_quad.c
hal2_aesrxctrl.c
hal2_aestimestamp.c
hal2_aestx.c
hal2_aestxctrl.c
hal2_alive.c Plays the voice of Doug Cook saying "It is alive".
hal2_asyncloop.c
hal2_atten1ktone.c Plays a 1 Khz tone while slowly sawtooth modulating
the headphone/speaker mdacs. Runs until the system
is reset.
hal2_bptest.c
hal2_bres1_ctrl1.c
hal2_bres1_ctrl2.c
hal2_bres2_ctrl1.c
hal2_bres2_ctrl2.c
hal2_bres3_ctrl1.c
hal2_bres3_ctrl2.c
hal2_cdcactrl1.c
hal2_cdcactrl2.c
hal2_cdcaeasy.c
hal2_cdcbctrl1.c
hal2_cdcbctrl2.c
hal2_circuitprove.c
hal2_cyclebres.c
hal2_dmabroken.c
hal2_dmadrive.c
hal2_dmaenable.c
hal2_dmaendian.c
hal2_dual_1ktone.c
hal2_endianloop.c
hal2_endiantimestamp.c
hal2_idrwalk.c Runs a walking 1's and zeros test on the hal2
idr registers.
hal2_initaes.c
hal2_isrbusy.c
hal2_isrcodec.c
hal2_isrcreset.c
hal2_isrgreset.c
hal2_isrutime.c
hal2_line2aes.c
hal2_line2aes1.c
hal2_loopaes.c
hal2_loopisr.c
hal2_loopmic.c Loops audio from the microphone out to the speaker.
Runs until the system is reset.
hal2_loopquad.c
hal2_loopthru.c
hal2_loopwalk.c
hal2_mono1ktone.c
hal2_mono2quad.c
hal2_multidma.c
hal2_nonaudio.c
hal2_nonaudio2.c
hal2_quad1ktone.c
hal2_quad2stereo.c
hal2_quadin.c
hal2_rev.c Reads the rev register 1,000,000, tests that they
all return the same value, and prints the result.
hal2_servo.c
hal2_servo2.c
hal2_setbres.c
hal2_squad1ktone.c
hal2_start1msclock.c
hal2_synth_ctrl.c
hal2_timestamp.c
hal2_timestamp_quad.c
hal2_unreset.c
hal2_utime.c
hal2_utime2.c
hal2_validbit.c
hal2_validtest.c
hal2_volume.c
hpc3bptest.c
init_aes.c
manifest
pbus.h
pbus_dma.c
pbus_pio.c