# File: p30v_hr_v2_v01.src
#
program "%Z% MODULE: %M% RELEASE: %R%.%L% CREATED: %G% %U%"
source "/mdisw/cfl/prep/src/p30v_hr_v2_v01.src"
descr "Loads IP queue instructions"
#=======================================================
#
#
#; FILE:    p30v_hr_v2.ips
#; PURPOSE: Grab the prime30 velocity and also make a high resolut
#;	   dopplergram.  Send the full cropped P30 velocity and a
#;	   extracted portion of the magnetogram
#; HISTORY: 
#;       Written 22-Jul-96 by M.Morrison
#
#QPROG_P30V_HR_V2::
#
#    CALLQUE  $QSR_STORE_P30V					;store/move the prime30 velocity
tcblock mbipmacl 0x1B57    0x01F8 0x1898 
#
#    CALLQUE  $QSR_HR_VLC30                                      ;
tcblock mbipmacl 0x1B59    0x01F8 0x1747 
#    BRANCHLT R3072 10 &DONE                                     ;
tcblock mbipmacl 0x1B5B    0x01B8 0x0C00 0x000A 0x1B75 
#
#    COPYRD2D $IPRL_CROP_RAD504 $IPRL_CROP_PARAM+4 5
tcblock mbipmacl 0x1B5F    0x0144 0x147D 0x146E 0x0005 
#    CALLQUE  $QSR_STD_CFMT_PVEL					;---- Crop the velocity
tcblock mbipmacl 0x1B63    0x01F8 0x183C 
#
#    ;---- Bin the velocity data
#    SETREGS  $IPRL_BIN_PARAM 4 7:0x0726 13:0x0726               ;
tcblock mbipmacl 0x1B65    0x01B2 0x11E9 0x0004 0x0726 \
                                0x3800 0x0726 0x6800 
#    CALLQUE  $QSR_FMT_2X2BIN            
tcblock mbipmacl 0x1B6C    0x01F8 0x1132 
#
#    SETREGS  $IPRL_DL_PARAM 2 0x7800 0x6800                     ;
tcblock mbipmacl 0x1B6E    0x01B2 0x11D0 0x0002 0x7800 \
                                0x6800 
#    CALLQUE  $QSR_DL_2PAGE                                      ;
tcblock mbipmacl 0x1B73    0x01F8 0x0DA5 
#
#DONE:
#    END
tcblock mbipmacl 0x1B75    0x01FC 
#=======================================================
#
return
#
#=======================================================
