Version History
121127 - Added biamp switch to LFE channel in jsd60.sys.biamp command. hh
121126 - Changed OutputTrim range from +8 to -22 to +6 to -24dB. hh
121203 - Added DspWaitForGoBitsClear() to DspMemWriteFloatFromInt32x100andGo() to ensure DSP is ready. This should fix
  problem with eq flatten. hh
121204 - Fixed SyncDelay calculation in FormatChange. hh
121205 - Added setting of go bit in above. hh
121206 - Added load from SD to main if mic and ns down. Disallowed writes to channel filter gains in command interpreter. Fixed logging. hh
121211 - Added code to retry SD card write if it fails the first time. hh
130103 - Added ForceFormatUpdate=0 in initialization to cause fader to load on power up. Fixed model number string. HH
130104 - Changed parallel automation to get data bit by bit. Added check of automation pins just before main loop. Changed initial
  fader value to 0 before any preset or last used loaded. Set DSP fader to 0 and unmute just before main loop. HH
130107 - Added jsd100 automation strings to command interpreter. hh
130108 - Added retries in CommandInterperter and main for LoadFromSd(). hh
130118 - In di84.c, added ifdef IncludeCustomSwCode. If not defined, disables custom LFE code, going back to standard LFE processing. hh
130121 - Undefined IncludeCustomSwCode. hh
130122 - In di84.c, changed code for beq to bge to make dts behave the same as dolby. hh
130123 - Changed bge above to ble to fix polarity issue in compare. hh
130129 - Take out 3dB boost on surrounds on DI-84. Add 3dB boost to Ls and Rs gains in DSP if active matrix selected. This is done in 
    InputSourceSelect in FormatChange.c hh
131030 - Corrected channel numbers for Ls and Rs in change of 130129. hh
130207 - Added bus collison error code to rtc.c. If there's a bus collison, a 't' will be output. hh
130208 - Added I2C bus test to rtc.c that makes sure each line can float high. Adds error codes. hh
130326 - Moved block containing InputSourceSelect() in jsd60.sys.generator on to above mute channels since InputSourceSelect() writes to
		surround delay gains to enable or disable 3dB boost on Ls/Rs if ActiveMatrix enabled or not. Added additional logging. Added additional logging sources. hh
130409 - Moved   "jsd60.sys.biamp\t%ld\r\n",DspMemRead(0x041b)) to early in config written to flash so the system knows it's in biamp mode (or not) when output trims
	are written. How they are written varies depending on whether we're in biamp or not (in biamp, trim is channel plus band). Moved LoadAllConfigFromFlash() in main()
    down so it was after Ak4614Init(), which overwrites trim values. Rearranged POST letters to reflect new boot order. hh
130417 - Moved stuff around in initialization so output trims work AND TCP works. Last fix broke TCP. Rearrange POST letters again. HH
130424 - Changed SRC initialization so DIF is NOT I2S when using SRC. Also did same in InputSourceSelect when using DIR (depends on use of active matrix or not). HH
130425 - Changed handling of last SRC for NS and MIC in InputSourceSelect(). hh
130502 - Add ac3 debug command. Enabled DTS for internal testing. hh
130503 - Reversed changes of 130122, 130123, dealing with 3dB boost on Ls/Rs. Now back to original where this happens only on AC3, not DTS. hh
130507 - Add jsd60.sys.di84_skip command. hh
130509 - Change di-84.c to disable swm for both ac3 and dts, not just ac3. hh
130510 - In di84.c "Lt/Rt mode Enable 9/28/05 - Commented out 5/10/13 ". Uncommented, so it's back. Added block in  Ac3Present() to send commands to di84 on
	detected encoding change. hh
130513 - Changed di48 ac3Read spi timing (slowing it down). Added error checking to Ac3Present (2 reads in a row required). Surround gain change now in 
	ac3Present(). Added jsd60.sys.tcp_send command. hh
130516 - Drop SRC and DI84 polling from 100ms to 500ms in SrcPollErrors(). hh
130520 - Add default case to Ac3Present(). hh
130521 - Added restart at end of PCM in Ac3Present(). Changed Src and Di84 polling from 500ms to 100ms at line 308 in src.c. then back to 500ms hh
130528 - Allow active matrix on AES/EBU input. Change in InputSourceSeletc. hh
130529 - Added testaddr, tesdatabus, testdspdram to command interpreter. Added Encoding (dts, DD) to web display. hh

