[Simh] telnet sim> console / remote controlling the sim via python
Mark Pizzolato - Info Comm
Mark at infocomm.com
Mon Sep 21 15:07:29 EDT 2015
On Monday, September 21, 2015 at 11:41 AM, Mark Benson wrote:
> I have a vague recollection of seeing and/or using this feature, but it might
> have been an independent mod, but is there facility to access the
> sim> console via telnet? Everything else is telnet-able, it would make
> sense.
>
> I would like to control the simulator via a python library and the
> simplest answer seemed, initially, to be telnet, unless someone else has
> a better bright idea for it?
The current simh codebase has a remote console capability.
There are two modes of remote console:
1) An "extra console" mode where the remote console connection can enter some commands to the running simulator. These commands are:
EXAMINE
DEPOSIT
EVALUATE
ATTACH
DETACH
ASSIGN
DEASSIGN
CONTINUE
STEP
PWD
SAVE
DIR
LS
ECHO
SET
SHOW
HELP
2) A master console mode where the primary simh session input is delegated to a telnet connection. In master mode, the following commands are supported:
EXAMINE
DEPOSIT
EVALUATE
ATTACH
DETACH
ASSIGN
DEASSIGN
CONTINUE
STEP
PWD
SAVE
CD
DIR
LS
ECHO
SET
SHOW
HELP
EXIT
QUIT
RUN
GO
BOOT
BREAK
NOBREAK
An API exists which leverages the remote console capabilities to facilitate applications which want to initiate and monitor and control simulators. See sim_frontpanel.h for the API definition and frontpanel/FrontPanelTest.c for a sample/test application which uses the API.
- Mark
More information about the Simh
mailing list