Re: [Simh] MIcroVAX-3900 Autoboot problems revisited ...

2020-02-26 Thread Robert Armstrong
  Answering my own question, it looks like you can give multiple commands as
the argument to "expect", so

 

set BDR 80

expect ">>>" send "BOOT DUA0\r"; continue

boot cpu

 

will work as expected.  Should have read the manual J

 

Bob

 

 

From: Simh [mailto:simh-boun...@trailing-edge.com] On Behalf Of Robert
Armstrong
Sent: Wednesday, February 26, 2020 10:25 AM
To: simh@trailing-edge.com
Subject: [Simh] MIcroVAX-3900 Autoboot problems revisited ...

 

  There's a problem with the MicroVAX-3900 in that sometimes the ROM built
in self test fails with ?53.  That's not terrible, but it prevents the VAX
from autobooting, which can be a problem if you're running a script that
expects to start VMS.

 

  Mark suggested doing something like this in the script -

 

   set BDR 80  (disable auto boot)

   expect ">>>" send "BOOT DUA0\r"

boot cpu

 

That's OK, but I'm having a problem now.  The issue is that "boot cpu" waits
until the simulation ends (i.e. until VMS is shut down), but somehow the
"expect" is cancelling that wait.  If I use the "expect" then the commands
in the simh script after "boot cpu" get executed immediately, rather than
waiting until after VMS shuts down.  That's bad (at least for me!).

 

  Is there a way around this?

Thanks,

Bob Armstrong

 

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

[Simh] MIcroVAX-3900 Autoboot problems revisited ...

2020-02-26 Thread Robert Armstrong
  There's a problem with the MicroVAX-3900 in that sometimes the ROM built
in self test fails with ?53.  That's not terrible, but it prevents the VAX
from autobooting, which can be a problem if you're running a script that
expects to start VMS.

 

  Mark suggested doing something like this in the script -

 

   set BDR 80  (disable auto boot)

   expect ">>>" send "BOOT DUA0\r"

boot cpu

 

That's OK, but I'm having a problem now.  The issue is that "boot cpu" waits
until the simulation ends (i.e. until VMS is shut down), but somehow the
"expect" is cancelling that wait.  If I use the "expect" then the commands
in the simh script after "boot cpu" get executed immediately, rather than
waiting until after VMS shuts down.  That's bad (at least for me!).

 

  Is there a way around this?

Thanks,

Bob Armstrong

 

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh