; This file is for utilities that are in common to all the timing board ; programs, located starting at P:$200 in external SRAM ; **************** PROGRAM CODE IN SRAM PROGRAM SPACE ******************* ; Put all the following code in SRAM, starting at P:$200. IF @SCP("DOWNLOAD","HOST") ORG P:$200,P:$200 ; Download address ELSE ORG P:$200,P:APL_NUM*N_W_APL+APL_LEN ; EEPROM address ENDIF ; Select which readouts to process ; 'SOS' Amplifier_name ; Amplifier_name = '__A', '__B', '__C', '__D', '_AB', '_CD', or 'ALL' SEL_OS MOVE X:(R4)+,X0 ; Get amplifier(s) name MOVE X0,Y: