program "%Z% MODULE: dfp100a10.src RELEASE: %R%.%L% CREATED: %G% %U%"
source  "/mdisw/cfl/flight/src/dfp100a_10_v01.src"
descr   "dfp100a_10 - DEP patch 16 "


# This patch tests for instruction words deferred to the IP.  If any exist,
# the standard IP error status function is called, which attempts to finish 
# the transfer to the IP.  The patch overwrites trybco(), a serial test port 
# out function not used in the flight system.  trybco() is called from 
# l4\tim_svc.c:Do_Bkgd().         Rev 2 96.01.19 rar

# The code:
#      CMP WORD PTR[4B28],+00
#      JE  1$
#      CALL IP_er_st    (85dc)
# 1$:  RET

tcb mbdpmd 0 0x9060 20
wait time 5
tcb mbdpml 0 0x906a 0x83c3 0x283e 0x004b 0x0374 0x67e8 0xc3f5
tcb mbdpmd 0 0x9060 20
wait time 5

#  patches to DEP software patch level in TLM and memory
tcb mbdpml 0 0x64a 0x108c
tcb mbdpml 0x1000 0x8C96 0x1010
