[Simh] tty magic(?) for talking to bootloaders?

Clem Cole clemc at ccc.com
Sat Sep 21 20:16:17 EDT 2019


Try using expect(1).   Write an expect script to do the basic boot.  That
will no matter the os or simulator.   Once you get to the point you want
you can give control back to the terminal.

On Sat, Sep 21, 2019 at 7:03 PM Tom Perrine <tom.perrine at gmail.com> wrote:

> Hi all,
>
> So far I've got Multics, V7 and BSD4 running on SIMH in Google Cloud
> Platform (GCP). I'm packaging some of these up into more turnkey images and
> scripts so that more people can easily play with these Grand Olde Operating
> Systemes.
>
> My end goal is a script that can be run on your local computer that
> creates the cloud instance, installs and upgrades the OS, compiles SIMH for
> the target HW, and boots the guest OS, all without any needed input. I've
> got everything EXCEPT how to kick the OS boot in the OS bootloader(s).
>
> My problem is that I probably haven't spent enough time with the docs to
> figure out how to feed scripts "past" SIMH and into the bootloaders.
>
> I'd also love to be able to inject commands into the SIMH process through
> the API, but that's a different story.
>
> For example, the PDP-11 V6 boot looks like this:
>
> test-pdp11:~$ !80simh-master/BIN/pdp11 dboot.ini PDP-11 simulator V4.0-0
> Current git commit id: d40268d1Disabling XQ@
> Now how do I get scripted input into the simulator so that I can give the
> bootloader the "unix" filename at the @ prompt? I have the same problem
> with the Multics bootloader, too.
> Clearly I'm not being smart this week.
> Ideas?
> --tep
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh

-- 
Sent from a handheld expect more typos than usual
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20190921/41951e80/attachment.html>


More information about the Simh mailing list