# File: reset_v03.src
# HISTORY:
#	Written Sep-95 by M.Morrison
#	12-Dec-95 (MDM) - Added source and descr lines
#
program "%Z% MODULE: %M% RELEASE: %R%.%L% CREATED: %G% %U%"
source "/mdisw/cfl/prepsrc/reset.src"
descr "Reset the DEP and IP to a known standby state"
#

# --- Stop Structure sequence
tcb mbsqend

# --- Reset all
tcb mbiprsal

# --- Do a SUBINIT
tcb mbipldin 0x11c

# --- Run the IP?
tcb mbiprun

# --- Enable the queue
tcb mbipldin 0x136

# --- Reset SCI5K status to 0
tcb mbdpmod 1

# --- Set VC channel to high rate
#TODO

# --- Set primary side for downlinking purposes (needed?)
tcb mbipldin 0x140 33 0
tcb mbipldin 0x140 61 0


# -- Set debugging statement on
tcblock mbipldin 0x140 4094      0

