# File: iperr_dmp5k.src
# HISTORY:
#	Written 11-Jan-96 by M.Morrison
#       Modified 15-Jan-96 by D. Mathur
#           Added COPYELOG instruction 
#
program "%Z% MODULE: %M% RELEASE: %R%.%L% CREATED: %G% %U%"
source "/mdisw/cfl/dev/src/iperr_dump5k.src"
descr "Dump the IP error buffer into SCI5K by buffer dump"

## Copy Error log from IP buffer
     tcb mbipldin 0x1b2 464 3  0x0000  0x2011 4800
     tcb mbipldin 0x1EC 464 

## Copy Regsiters to page 4 (offset 0) using DAT2BUF 
     tcb mbipldin 0x160  0x0000  0x2011 4800  0 

## Output data from double buffer to 5k
     tcb mbipcmd 0x0032 0x8000  4799
     wait time 10
     tcb mbipcmd 0x0032      0  4799
