# $Id: 211bsd_rpeth_boot.tcl 899 2017-05-27 13:25:41Z mueller $
#
# Setup file for 211bsd RP06 based system with ethernet
#
# Usage:
#
# ip_create_tap
#
# console_starter -d DL0 &
# console_starter -d DL1 &
#
# ti_w11 -xxx @211bsd_rpeth_boot.tcl      ( -xxx depends on sim or fpga connect)
#

# setup w11 cpu
rutil::dohook "preinithook"
puts [rlw]

# setup tt,lp (211bsd uses parity -> use 7 bit mode)
rw11::setup_tt "cpu0" to7bit 1
rw11::setup_lp 

# mount disks
cpu0rpa0 set type rp06
cpu0rpa1 set type rp06

cpu0rpa0 att 211bsd_rpeth.dsk

# setup network
cpu0xua set type deuna
cpu0xua set dpa  retro:00

cpu0xua0 att tap:tap0

# and boot
rutil::dohook "preboothook"
cpu0 boot rpa0
