# File: p30v_hr_m2_v01.src
#
program "%Z% MODULE: %M% RELEASE: %R%.%L% CREATED: %G% %U%"
source "/mdisw/cfl/prep/src/p30v_hr_m2_v01.src"
descr "Loads IP queue instructions"
#=======================================================
#
#
#; FILE:    p30v_hr_m2.ips
#; PURPOSE: Grab the prime30 velocity and also make a high resolut
#;	   magnetogram.  Send the full cropped P30 velocity and a
#;	   2x2 binned magnetogram
#; HISTORY: 
#;       Written 28-Aug-96 by M.Morrison
#
#QPROG_P30V_HR_M2::
#
#    CALLQUE  $QSR_STORE_P30V					;store/move the prime30 velocity
tcblock mbipmacl 0x1DB0    0x01F8 0x1898 
#
#    BRANCHEQ R3072 10 &DONE                                     ;
tcblock mbipmacl 0x1DB2    0x01AE 0x0C00 0x000A 0x1DD2 
#                                                                ;
#                                                                ;
#                                                                ;
#
#    CALLQUE  $QSR_HR_MVL30                                      ;
tcblock mbipmacl 0x1DB6    0x01F8 0x1663 
#    BRANCHLT R3072 9  &DONE                                     ;
tcblock mbipmacl 0x1DB8    0x01B8 0x0C00 0x0009 0x1DD2 
#
#    COPYRD2D $IPRL_CROP_RAD504 $IPRL_CROP_PARAM+4 5
tcblock mbipmacl 0x1DBC    0x0144 0x147D 0x146E 0x0005 
#    CALLQUE  $QSR_STD_CFMT_PVEL					;---- Crop the velocity
tcblock mbipmacl 0x1DC0    0x01F8 0x183C 
#
#    ;---- Bin the magnetogram data
#    SETREGS  $IPRL_BIN_PARAM 4 17:0x0726 13:0x0726              ;
tcblock mbipmacl 0x1DC2    0x01B2 0x11E9 0x0004 0x0726 \
                                0x8800 0x0726 0x6800 
#    CALLQUE  $QSR_FMT_2X2BIN            
tcblock mbipmacl 0x1DC9    0x01F8 0x1132 
#
#    SETREGS  $IPRL_DL_PARAM 2 0x7800 0x6800                     ;
tcblock mbipmacl 0x1DCB    0x01B2 0x11D0 0x0002 0x7800 \
                                0x6800 
#    CALLQUE  $QSR_DL_2PAGE                                      ;
tcblock mbipmacl 0x1DD0    0x01F8 0x0DA5 
#
#DONE:
#    END
tcblock mbipmacl 0x1DD2    0x01FC 
#=======================================================
#
return
#
#=======================================================
