[Simh] telnet sim> console / remote controlling the sim via python

2015-09-21 Thread Mark Benson

Hi,

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?


Thanks,

--

Mark @ DECtec.info
twitter.com/DECtecInfo
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] VDE Networking not working for me?

2015-09-02 Thread Mark Benson

NETWORK CONFIG:
===

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto vmstap0
iface vmstap0 inet manual
vde2-switch -t vmstap0 -s /tmp/vde.ctl \
-M /tmp/vde.mgmt -m 666 --mgmtmode 666

auto br0
iface br0 inet static
address 192.168.1.20
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
bridge_ports eth0 vmstap0
dns-search home
dns-nameservers 192.168.1.254 8.8.8.8

#auto wlan0
#iface wlan0 inet static

#auto wlan1
#iface wlan1 inet static

SIMH CONFIG:


#STAR69 DECnet Area Router OpenVMS 7.3
#Configuration File
#Mark Benson 2015/08/30

#Attach NVRAM storage
ATTACH NVR 3900.nvram

#Disable Unused Hardware
#SET TR DISABLED
SET LPT DISABLED
SET RL DISABLED
SET TS DISABLED
SET TQ DISABLED

#Attach Ethernet to VDE Switch
#ATTACH XQ vde:/tmp/vde.ctl

#Attach Ethernet to eth0 (libpcap)
ATTACH XQ eth0

#Set & Attach Storage Devices
SET RQ0 RA92
ATTACH RQ0 STAR69SYS.dsk
SET RQ1 RA92
ATTACH RQ1 STAR69DATA.dsk
#Disable other disks on RQ
SET RQ2 DISABLED
SET RQ3 DISABLED

#Enable and Set CD-ROM (RQB0)
SET RQB KRQ50
SET RQB ENABLED
SET RQB0 RRD40
#Attach OpenVMS 7.3 Install Media
ATTACH RQB0 OpenVMS7.3VAX.iso
#Disable other disks on RQB
SET RQB1 DISABLED
SET RQB2 DISABLED
SET RQB3 DISABLED

#Setup DZV11 Terminal Multiplexer
SET DZ LINES=4
#Attach on Telnet Port 3901
ATTACH DZ 3901

#Setup Console Telnet Port & Buffering
SET CONSOLE TELNET=3900
SET CONSOLE TELNET=BUFFERED
SET CONSOLE LOG=STAR69_CONSOLE.log

#ISSUE BOOT COMMAND!!
#BOOT
#

VDE Management Ouput:
=

mark@atomica:~/simh$ unixterm /tmp/vde.mgmt
VDE switch V.2.3.2
(C) Virtual Square Team (coord. R. Davoli) 2005,2006,2007 - GPLv2

vde$ port/allprint
 DATA END WITH '.'
Port 0001 untagged_vlan= ACTIVE - Unnamed Allocatable
 Current User: NONE Access Control: (User: NONE - Group: NONE)
 IN:  pkts   9659  bytes  1044095
 OUT: pkts106  bytes13212
  -- endpoint ID 0007 module tuntap  : vmstap0
Port 0002 untagged_vlan= ACTIVE - Unnamed Allocatable
 Current User: mark Access Control: (User: NONE - Group: NONE)
 IN:  pkts112  bytes13572
 OUT: pkts639  bytes52448
  -- endpoint ID 0003 module unix prog   : simh user=mark PID=7973 
SSH=192.168.1.101

.
1000 Success

--

Mark @ DECtec.info
twitter.com/DECtecInfo
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

[Simh] VDE Networking not working for me?

2015-09-02 Thread Mark Benson

Hi,

I have a microvax3900 instance running on an Intel Atom PC box in 
Xubuntu 14.04 and I don't seem to have connectivity with VDE networking. 
Traditional libpcap method works just fine.


I don't have any other way to test VDE to see if it's my VDE config or 
SimH that's broken, any suggestions?


--

Mark @ DECtec.info
twitter.com/DECtecInfo
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

[Simh] Latest Sources?

2015-08-28 Thread Mark Benson

Hi,

Long time no comms. I've recently moved out to my own place and I'm 
rebuilding my DEC network from the ground up.


I've been out of the loop with SimH for a good while. Where is the best 
place to get the latest development sources from? Still github simh/master?


Thanks,
--

Mark @ DECtec.info
twitter.com/DECtecInfo
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

[Simh] Control SimH totally remotely

2014-05-05 Thread Mark Benson
Ministry of stupid questions asks:

I was wondering if, with the new REMOTE SCP input feature, it is possible to 
boot SimH headless and control it entirely from the REMOTE telnet SCP console.

-- 

Mark Benson

http://DECtec.info
Twitter: @DECtecInfo
HECnet: STAR69::MARK

Online Resource & Mailing List for DEC Enthusiasts.

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

[Simh] Semi OT: Using VDE for Networking

2014-05-05 Thread Mark Benson
Banging my head on the desk here...

I'm attempting to use VDE under Debian linux to virtualise my network interface 
for SimH and I'm getting confused.

Starting vde_switch using:

vde_switch -t tap0 -s /tmp/vde.ctl -m 666 --mgmt /tmp/vde.mgmt --mgmtmode 666 
--daemon

then telling SimH:

attach xq vde:/tmp/vde.ctl

This works fine, and as such SimH itself is all fine and good as far as I can 
see.

What I can't grok however is if it's possible to start a vde_switch at boot 
time, and if you can where the switch uses as it's switch and management 
locations? Nothing I've looked at in hours of Googling has ben at all helpful. 
One suggestion said adding tap0 to /etc/network/interfaces would start it at 
boot, it doesn't, it fails really badly on Ubuntu 14.04 and doesn't work in a 
less dramatic but still unsatisfactory manner on Debian wheezy.

Is anyone using vde under linux and can you help me?


-- 

Mark Benson

http://DECtec.info
Twitter: @DECtecInfo
HECnet: STAR69::MARK

Online Resource & Mailing List for DEC Enthusiasts.

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

[Simh] Compile Targets List?

2014-05-05 Thread Mark Benson
Hi,

I can't find a list of compile targets for SimH (current master 4.0.0 Beta). Is 
it published anywhere? Am I missing something obvious?

-- 

Mark Benson

http://DECtec.info
Twitter: @DECtecInfo
HECnet: STAR69::MARK

Online Resource & Mailing List for DEC Enthusiasts.

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

Re: [Simh] 4.0.0 Beta socket problem on RaspberryPi/raspbian

2013-04-23 Thread Mark Benson

On 23 Apr 2013, at 00:55, Timothe Litt wrote:

> FWIW, errno 97 would be address family not supported.  (It would be nice if 
> strerror()  (or the thread-safe strerror_r() if available) was called instead 
> of just printing the decimal error number.)
> 
> You didn't say which OS you're running on your RPi.  The default is debian.

Check the e-mail title :)

> You probably have an IPv6 configuration issue; the new simh code tries to use 
> it if it thinks its available.  From a quick look at the code, you may want 
> to replace the 13900 port number with your ip (v4 1.2.3.4:13900 or v6 
> [2001:db8::123]:13900).

Thanks, that fixed it. I'll pursue fixing that or disabling IPv6, as the unit 
is on DHCP so doesn't have a fixed IP, thus this needs to work without using 
the IP address.

> But I'll leave further diagnosis to Mark, who checked-in the changes to 
> support IPv6.  He'll probably need the commands that you used to build simh.

No need, I think the issue is external to simh.

-- 

Mark Benson

http://DECtec.info
Twitter: @DECtecInfo
HECnet: STAR69::MARK

Online Resource & Mailing List for DEC Enthusiasts.

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


[Simh] 4.0.0 Beta socket problem on RaspberryPi/raspbian

2013-04-22 Thread Mark Benson
Hi,

I have been trying to upgrade my RaspberryPi dedicated machine with the 4.0.0 
beta of simh (because it does buffered TELNET and is thus way more useful as a 
persistent background process) but I hit a snag:

OUTPUT:

MicroVAX 3900 simulator V4.0-0 Betagit commit id: ba09b2d3
Logging to file "/var/log/vax/star69.log"
Sockets: socket error 97
/etc/vax/config_daemon.ini-2> set CONSOLE TELNET=13900
File open error
/etc/vax/config_daemon.ini-30> set RY disabled
Non-existent device
Sockets: socket error 97
/etc/vax/config_daemon.ini-43> attach -am DZ 3900
File open error
NVR: buffering file in memory
libpcap version 1.3.0
Eth: opened OS device eth0


KA655-B V5.3, VMB 2.7 (etc...)

===


It appears simh is struggling to attach to a telnet port? 3.9.0 worked just 
dandy.


CONFIG.INI: 

set CONSOLE LOG=/var/log/vax/star69.log
set CONSOLE TELNET=13900
; Buffering for TELNET ;
set console TELNET=BUFFERED=65536
; set CONSOLE SERIAL=/dev/ttyAMA0
set CPU 64M
set cpu idle=VMS
set CPU CONHALT
set CR disabled
set DZ lines=8
set LPT disabled
set RL disabled
set RQ0 RA90
set RQ1 RA90
;set RQ2 RA90
set RQ2 disabled
;set RQ3 RA90
set RQ3 disabled
;set RQB enabled
;set RQB0 RA90
;set RQB1 RA90
;set RQB2 RA90
;set RQB3 RA90
set RQC enabled
set RQC0 RRD40
;set RQC1 RRD40
set RQC1 disabled
set RQC2 disabled
set RQC3 disabled
set RY disabled
set TQ disabled
set TQ enabled
set TQ TK70
;set TQ0 format=TPC
set TQ1 disabled
;set TQ0 format=TPC
set TQ1 disabled
set TQ2 disabled
set TQ3 disabled
set TS disabled
set XQ MAC=AA:00:00:00:19:42
;set XQB enabled
;set XQB MAC=AA:00:00:02:30:42
;
attach -am DZ 3900
;
attach NVR /usr/local/vax/nvram.bin
;attach dz line=2,connect=ser0
;
; KDA50 #1
;
attach RQ0 /usr/local/vax/disk/VAXVMS.SYSTEM.DSK
attach RQ1 /usr/local/vax/disk/VAXVMS.DATA01.DSK
;
; RRD50
;
attach RQC0 /usr/local/vax/cdrom/OpenVMS7.3VAX.iso
;attach RQC1 /data/disks/?.DSK
;
;attach TQ0 /usr/local/vax/tape/SYSTEM.BCK
;
;
load -r /usr/local/vax/ka655x.bin
;
attach XQ eth0
;
deposit BDR 0
;
boot CPU
;
exit

===

-- 
Mark Benson

My Blog:
<http://markbenson.org/blog>
Follow me on Twitter:
http://twitter.com/mdbenson

"Never send a human to do a machine's job..."





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


Re: [Simh] Slightly OT: Headless SIMH on Raspberry Pi

2012-11-03 Thread Mark Benson

On 3 Nov 2012, at 22:41, David Brownlee wrote:

> On 3 November 2012 22:15, Rob Jarratt  wrote:
>> I want to run SIMH on my headless Raspberry Pi, to do so I use putty to
>> connect to the pi and log in. From the shell I can run SIMH just fine. What
>> I would like though is for my session not to disappear if I close putty and
>> to be able to reconnect to the session at some later time, with SIMH still
>> running. I am not really a Unix expert, is there a way to do this?
> 
> "screen" http://www.gnu.org/software/screen/ or "tmux"
> http://tmux.sourceforge.net/ are two very useful tools for just this
> :)

I use gnu 'screen' extensively on my Rasbperry Pi VAX setups to do just that. 
Works a charm, and you can detach the session at any time and it will keep 
buffering.

Right now I recommend this as the best way to run SimH headless and without a 
need for a perpetual terminal. I'm hoping something better might come along 
that doesn't require additional software, though.

-- 

Mark Benson

http://DECtec.info
Twitter: @DECtecInfo
HECnet: STAR69::MARK

Online Resource & Mailing List for DEC Enthusiasts.

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


[Simh] Paging: Mark Pizzolato

2012-10-31 Thread Mark Benson
Hi,
Anyone got an alternate e-mail for him? His infocomm email address is 
offline it seems.

-- 

Mark Benson

http://DECtec.info
Twitter: @DECtecInfo
HECnet: STAR69::MARK

Online Resource & Mailing List for DEC Enthusiasts.

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


[Simh] VAX 3900: Possible Networking Bug triggered by Clustering in VMS 7.3

2012-07-29 Thread Mark Benson
Hi,

Had a really interesting night playing  with my new SimH VAX cluster. I have 
tripped over what may be a bug in the networking in SimH... or may not. I don't 
know enough to make out exactly what it is that broke.

Host environment: 

NetBSD 5.1.2 amd64
libpcap-1.1.1 compiled from pkgsrc

The system is running dual NICs and an ipnat/ipfilter gateway, if that matters 
at all.

The symptoms:

Initially, enabling the disk shadowing server (added 'SHADOWING=2' to 
MODPARAMS.DAT and AUTOGEN'd) caused the following:

 - Cluster communications between nodes stopped working almost completely.
 - starting DECnet via @STARTNET crashed the whole VAX and caused it to 
crashdump and reboot (see http://dectec.info/DECnet_crash_dump.txt)

I initially thought the trigger was the Shadowing and turned it off. I have 
subsequently discovered that the issue persists even after the shadow server is 
disabled (commneted out line in MODPARAMS.DAT and AUTOGEN'd). Cluster 
communications remain spotty and (work on some boots and not others) and DECnet 
still crashes.

I have another node (RaspberryPi) running a Debian Linux derivative. It is 
running a similarly hand compiled SimH vax binary albeit with a different 
version of libpcap (I can't tell what exact version but I think it's 1.3.0 
ish). It exhibits non of the described issues.

So something specific to my NetBSD machine is causing the crash/network issue. 

That's all I got. I'll gladly test/verify any other details if required.

-- 

Mark Benson

http://DECtec.info
Twitter: @DECtecInfo
HECnet: STAR69::MARK

Online Resource & Mailing List for DEC Enthusiasts.

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


[Simh] NetBSD amd64 Idle Support?

2012-07-23 Thread Mark Benson
NetBSD 5.1.2 amd64 compiled SimH VAX from source using pkgsrc
compilers and gmake compiled from pkgsrc.

set cpu idle
or
set cpu idle=vms

both return "Command not allowed"

Is this expected?

-- 
Mark Benson

http://markbenson.org/blog
http://twitter.com/MDBenson
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] PDP-wiki

2012-07-09 Thread Mark Benson
On 9 Jul 2012, at 16:13, Richard  wrote:

> It's not always that way.
>
> Paul Williams entered all the data on the original Manx; I've been
> enhancing the system to provide a web UI for entering more data.
>
> I entered 99.99% of all the data on the terminals wiki, as well as
> creating all the wiki templates used and so-on.

We appreciate every byte of it too. Both are excellent resources. I'd
never think to try and duplicate your efforts either, If I wanted to
help people understand Terminals or find manuals and docs I'd rather
lunk to your work.

>> [...] The contents is the hard part. Setting up a
>> wiki or similar itself is the easy thing.
>
> Indeed.  I find it interesting that this DECtec wiki thing has existed
> for 9 months, but as far as I know, noone has ever talked about it
> here or on cctalk

Until 4 hours ago no-one except me knew it existed. I was waiting for
the moment ;)

-- 
Mark Benson

http://markbenson.org/blog
http://twitter.com/MDBenson
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] PDP-wiki

2012-07-09 Thread Mark Benson
On 9 Jul 2012, at 15:44, Johnny Billquist  wrote:

> 
> Everybody wants to put up cool sites with information, but everybody expects 
> someone else to actually contribute the content...
> 

It's what I'm good at, I even get paid to do it! ;)

> Sorry, not personally against you Mark.

Absolutely no offense taken, I kind of agree. That's why I spent a bit
of time on DECtec trying to make it look the part and feel like it was
intended for DEC enthusiasts.

> It's just that I think there are too many of the "I've set up a site, please 
> someone else fill it with all the good stuff that everybody wants to see".
> I personally don't see a great need in such sites, and I seldom, if ever, 
> contribute to them. The contents is the hard part. Setting up a wiki or 
> similar itself is the easy thing.

While setting up Wordpress and Mediawiki doesn't take much, I went to
a lot of effort to go the 'extra mile' with DECtec's wiki, far more
than the usual 'change default logo' that most people do.

Also you forget with all these places *someone* has to pay the bills.
In my case I went to an effort to select the domain and setup the site
and I pay (admittedly not much) for the hosting.

> That said, all the power to you all. In case one of you actually manage to 
> create a site where all the useful information does exist, it would be a very 
> nice resource to have.

See my problem is my knowledge is cert slim on most DEC topics so I
figured I'd try to engage the community in dialog and information
sharing instead... but I'm not very good at bouying people up to do
it.

As someone who is learning (from some great people) all about this
little corner if the computing world I find the information really
widely dispersed, hard to pinpoint, sometimes difficult to decipher
and occasionally the knowledge, especially of old machines, is locked
in the head of someone and just isn't out there anywhere.

A community effort to centralise the information would be very helpful
and make introducing new enthusiasts to the community (another thing I
found hard work to start with) a good deal easier.

> (If nothing else, I'll eventually create something running under RSX, just to 
> test the concept, and I like hacking in RSX, and it would also be poetical 
> justice for a PDP-11 to host the information... :-) However, it might just 
> not get any information either... :-) )

I explored the possibility of using Notes or WASD under VMS in a
similar way but eventually concluded self-hosting it for me is a no-go
because I have such abysmal internet and I haven't got a DS10L up my
sleeve I could co-locate nor could I afford to do for just one site.

-- 
Mark Benson

http://markbenson.org/blog
http://twitter.com/MDBenson
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] PDP-wiki (was: smallest pdp-11 that can run TECO and sockets(*)?)

2012-07-09 Thread Mark Benson
>> I don't know why someone hasn't setup a vintage computing (or maybe
>> just DEC) wiki to assemble all the info into one place like I did for
>> the terminals wiki (see signature below).
>
> OK, quickly started one at http://pdp-11.ls-al.eu
> Contact me offlist for any questions or other inquiries.
> I could _really_ use some help in filling it with content, people!

I am sorry to sound like I'm competing but I have DEC wiki at:

http://wiki.dectec.info

Needs content adding, I set it up just for this purpose about 9 months ago.

Have at it! :)

-- 
Mark Benson

http://markbenson.org/blog
http://twitter.com/MDBenson
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] Serial Console

2012-07-04 Thread Mark Benson
Woah, hold up a moment. Forgive me if technical ignorance (of which
I've got plenty) prevents me from understanding, but right now the
DZV11 emulation provides a shim into the emulated hardware to provide
telnet access and enough to convince the emulation it's a DZV11 and
that works fine.

My suggestion merely involved swapping (or appending) telnet access
for a serial port access. Surely this can be done while ignoring the
actual hardware functions of a real DZV11? Just use the SimH console
to set the port and baud rate and pass that to the emulation the same
way as the telnet is handled outside of the actual simulation. At some
point you must have raw data coming from the simulation that is spat
out from the emulated DZV11. In effect where the data exits the
simulation put a fork in the road and offer to push it to serial or
telnet.

As I understand it, this would allow it to be setup and handled
outside the constraints of the original DZV11 implementation in a
controlled and easily implemented fashion with certain assumptions or
fixed options offered for the serial interface. Right?

-- 
Mark Benson

http://markbenson.org/blog
http://twitter.com/MDBenson
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] Serial Console

2012-07-03 Thread Mark Benson
On 3 Jul 2012, at 12:03, Johnny Billquist  wrote:

> On 2012-07-03 11:49, Mark Benson wrote:
>> Simple question: Can SimH's CONSOLE output be directed to a Serial port
>> (i.e. via /dev/ttyS0)?
>>
>> If so how does it handle waiting for a terminal connection?
>>
>> If not, is there a reason why?
>
> I think I looked into this a few years ago, and found that it can't. There is 
> no absolute reason why it would not be able to, but exactly how you control a 
> physical serial port differs between OSes, so I suspect it would be hard to 
> write generic.

Ah, that makes sense, yes, different OSs use different device names
etc. even within common UNIX methods. This wouldn't be such a big
hurdle if the onus was on the user to provide the full device path
though. That, of course, doesn't help with Windows or VMS but it might
widen it's UNIX campatibility?

> However, I think that under Unix, if you just log in on a serial port and 
> start simh, you'd be more or less there already?

No, you see what I would like to do is connect a VT terminal directly
to SimH to use either as the OP console or to provide a real VT access
for the DZV11 emulation. This is all about cutting out multiple layers
if terminal emulation to get real VT interaction direct to the
emulator.

The reason is I have noticed that over Telnet VMS is pretty robust but
only offers a 'cut down' cinnection to remain compatible. Conversely,
GNU screen working directly as the console convinces VMS that it's a
real VT then it pukes when you run something like EVE or
TCPIP$CONFIG.COM because VMS is assuming the terminal can handle
features that screen cannot. There are also other things like
softloaded fonts etc that only real VT terminals handle properly that
break ir don't work in screen or telnet.

It'd be nice to hook the VT510 up and use that instead... wasjyst a thought.

-- 
Mark Benson

http://markbenson.org/blog
http://twitter.com/MDBenson
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


[Simh] Serial Console

2012-07-03 Thread Mark Benson
Simple question: Can SimH's CONSOLE output be directed to a Serial port
(i.e. via /dev/ttyS0)?

If so how does it handle waiting for a terminal connection?

If not, is there a reason why?

-- 
Mark Benson

http://markbenson.org/blog
http://twitter.com/MDBenson
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] smallest pdp-11 that can run TECO and sockets(*)?

2012-06-28 Thread Mark Benson

On 29 Jun 2012, at 01:36, Richard wrote:

> 
> In article ,
>Lawrence Stewart  writes:
> 
>> If you just want to do file transfer, [...]
> 
> Nope.  File transfer is not the goal; web server implemented in a TECO
> macro is the goal.
> 
> (I told you it was a crazy experiment!)

I don't know if it's at all relevant but Johnny Billquist is working on a Web 
Server implementation for RSX-11in the standard DEC BASIC for that machine. It 
includes a TCP/IP stack in with it (as RSX-11M doesn't have on as standard) 
which could easily be leveraged for other things.

Just a thought :)

-- 

Mark Benson

http://DECtec.info
Twitter: @DECtecInfo
HECnet: STAR69::MARK

Online Resource & Mailing List for DEC Enthusiasts.

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


[Simh] SIMH as a Service (revisited)

2012-06-16 Thread Mark Benson

Holy thread necromancy! I only just started work on this, I'm sorry it's taken 
9 months! :)

Here is what my /etc/init.d/simh file looks like.

#!/bin/sh
# Start/stop the VAX virtual guest
#
### BEGIN INIT INFO
# Provides:  simh
# Required-Start:networking
# Required-Stop: 
# Default-Start: 2 3 4 5
# Default-Stop:  1
# Short-Description: Virtual VAX (SIMH)
# Description:   VAX is a virtual computer system running under a VAX
#emulator that is part of SIMH. This VAX host runs OpenVMS.
### END INIT INFO

NAME=simh
DAEMON=/usr/local/bin/start-vax-bg
PIDFILE=/var/run/simh.pid

test -f $DAEMON || exit 5
test -f $CONFIG || exit 5

. /lib/lsb/init-functions

case "$1" in
start)  log_daemon_msg "Starting VAX emulator" $NAME
start-stop-daemon --start --pidfile $PIDFILE --name $NAME --exec $DAEMON
log_end_msg $?
;;
stop)   log_daemon_msg "Stopping VAX emulator" "vax"
start-stop-daemon --stop --quiet --pidfile $PIDFILE --name vax
log_end_msg $?
;;
status)
status_of_proc -p $PIDFILE /usr/local/vax/vax vax && exit 0 || exit $?
;;
*)  log_action_msg "Usage: /etc/init.d/simh {start|stop|status}"
exit 2
;;
esac
exit 0

So far I have managed to get it to start using 'simh start' and I can resume 
the screen session just fine. However, it's not creating a 'pid' file in 
/var/run so any attempts to stop it or check it's status ing that script fail.

I have a theory that it's because the script is spawning 2 processes;

 1076 ?Ss 0:00 SCREEN -d -m -h 1 /usr/local/vax/vax 
/etc/vax/config.ini
 1079 pts/2Ssl+   0:00 /usr/local/vax/vax /etc/vax/config.ini

which are confusing the matter because the PID file only usually contains one 
process ID AFAIK.

Anyone got any feedback on this?

-- 

Mark Benson

http://DECtec.info
Twitter: @DECtecInfo
HECnet: STAR69::MARK

Online Resource & Mailing List for DEC Enthusiasts.

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


Re: [Simh] Simulated PDP-11 Blinkenlight front panel for SimH

2012-05-31 Thread Mark Benson
On 31 May 2012, at 14:52, "dott.Piergiorgio d' Errico"
 wrote:

> only my personal opinion; , even browsers, office suites and flight 
> simulators ought to be coded in 100% hand-optimized assembly

I think I see a conceptual problem here too, it's called:

> I reckon that in my ideal world

Yes, in everyone's ideal world we'd fully optimize everything for
every platform 100% using the best language possible.

Meanwhile back in realty we have deadlines to keep and software to ship.

-- 
Mark Benson

http://markbenson.org/blog
http://twitter.com/MDBenson
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] Simulated PDP-11 Blinkenlight front panel for SimH

2012-05-31 Thread Mark Benson
On 31 May 2012, at 14:28, "Jörg Hoppe"  wrote:

> A few weeks ago I presented "Project BlinkenBone":
> www.retrocmp.com/projects/blinkenbone
> A real PDP-11 front panel was connected to a simulated PDP-11.
> Well, nobody but me had any benefit from this project ...
>
> Meanwhile there is also a photorealistic simulation of the front panel itself.
> It can be connected to SimH as an alternative to the physical panel.
> So now everybody can run his/her very own Blinkenlight panel.
>
> I made a simple installation package: Just download, unzip, start, enjoy!
>
> It's been tested under WinXP/Win7 and Ubuntu. See download link and 
> instructions here:
> www.retrocmp.com/projects/blinkenbone/176-blinkenbone-download-and-run-simulated-panels-for-free
>
> In case of problems please give feedback.

Just what the doctor ordered!

-- 
Mark Benson

http://markbenson.org/blog
http://twitter.com/MDBenson
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


[Simh] Idle detection on Ubuntu Linux

2012-05-19 Thread Mark Benson
Just a quick one - does anyone have the idle detaction in 3.9.0 working on 
Ubuntu Linux of VAX? If so what option did you use for 'idle='?

I've had to shutdown the emulated machine on my Microserver because it's paging 
one of the cores at 100% and I've realised it's running the main fan harder 
than it needs to.


-- 

Mark Benson

http://DECtec.info
Twitter: @DECtecInfo
HECnet: STAR69::MARK

Online Resource & Mailing List for DEC Enthusiasts.

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


Re: [Simh] Extended SimH on BeagleBone controls real blinkenlight panels

2012-04-20 Thread Mark Benson
I have a real yin to build something like this that uses USB or serial for 
comms and a software module that can be optionslly compiled into SimH to allow 
it to work on any system (perhaps via an extra device that can be configured in 
the SimH terminal) rather than spitting the console commands out. The key point 
is it should work on any machine with a USB port or better a Serial port (can 
be adaoted to USB) that can build SimH.

Only issue is I have no programming experience outside PHP5, I'm awful at 
soldering and I'm no genius with making panes and stuff like that either. 
However my *dad* has offered to build the hardware for me if I can come up with 
a plan.

I don't really know where to go from just the idea. Loads of people seem to 
have done it in various ways but they seem to be tailor made solutions. I'd 
like to make something generic and boxed so I can plug, configure in a suitably 
compiled SimH and go. Any guidance out there?

-- 
Mark Benson

http://markbenson.org/blog
http://twitter.com/MDBenson
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] 3.8-2 rc2 Windows XP disk access issue

2012-03-17 Thread Mark Benson

On 17 Mar 2012, at 15:34, Timothe Litt wrote:

> Sounds like M$ "system restore".  It monitors files by type (extension) so
> you can undo bad drivers/patches.  Turns out that many typical choices for
> emulator disk images get monitored - which means XP chases its tail tracking
> changes.  It's a losing proposition.  
> 
> Try changing the file type on your emulated disks - to something it doesn't
> monitor.  There are lots of file types that will get you in trouble.  Try
> something like .vax-disk-image (e.g. dua0.vax-disk-image).
> 
> See
> http://msdn.microsoft.com/en-us/library/windows/desktop/aa378870(v=vs.85).as
> px for the list (don't edit %windir%\system32\restore\Filelist.xml - just
> stay away from all listed file types.)
> 
> I think the most common bad choice made by people in the DEC community is
> .DSK...

That's the ticket, thanks. I changed the filename to 'vax3900_system.disk' and
it immediately stopped the issue dead. 

Thanks for the help folks, issue noted for future reference!

-- 

Mark Benson

http://DECtec.info
Twitter: @DECtecInfo
HECnet: STAR69::MARK

Online Resource & Mailing List for DEC Enthusiasts.

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


[Simh] 3.8-2 rc2 Windows XP disk access issue

2012-03-17 Thread Mark Benson
I appear to be having a bit of a problem with SimH VAX 3.8-2 rc2 and disk image 
access. I am using an old PIII 933MHz duel CPU workstation with 1GB RAM and XP 
SP2. I have the required VC++ Runtimes installed and Winpcap. I sourced the 
binaries from Mark Pizzolato.

I have run it using a fresh RA90 disk image attached at RQ0 (generated by the 
emulator on startup). It boots from a VMS 7.3 ISO fine but when I try and do 
any heavy lifting from the disk image, like restore the 7.3 save_set to it form 
the CD using 'backup' it'll eventually error out (VMS backup reports the device 
is not writable) and the emulator will stop dead and the disk will be flat out 
with activity, but no CPU usage and nothing else going on in Windows. I can 
only get it to stop by restarting Windows XP (at which point VAX.exe eventually 
dies and the machine reboots). I have no Anti-virus on the machine as it's only 
used for DEC related stuff, I don't surf the web on it or read my e-mail (in 
short there's no malware on it either). 

I've surfaced scanned the physical hard drive in the machine and it appear to 
be error free, it seems the emulator. I have had no other issues with 
installing software, copying and moving files etc. I'm kinda stumped.

Any ideas?

-- 

Mark Benson

http://DECtec.info
Twitter: @DECtecInfo
HECnet: STAR69::MARK

Online Resource & Mailing List for DEC Enthusiasts.

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


[Simh] Compiled 3.8-2 rc2 Win32 binary with Networking

2011-12-26 Thread Mark Benson
Hi,

I am working on getting my PDP-11 emulator back running on my new Windows 2000 
workstation. However
I have run into the same but with 3.8-1 in Windows I ran into in Linux, that 
the PDP-11 emulator won't
start DECnet because of a fault in the code from 3.8 that interfaced with pcap.

3.8-2 rc2 contains a fix but I have no means to compile a Windows binary as I 
did in NetBSD. Would
someone be able to provide me with a network enabled binary for Windows 2000?

Thanks :o)

-- 

Mark Benson

http://DECtec.info
Twitter: @DECtecInfo
HECnet: STAR69::MARK

Online Resource & Mailing List for DEC Enthusiasts.

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


[Simh] Ethernet Bridge and living on the same LAN.

2011-11-13 Thread Mark Benson
Hi,

I have bootstrapped my latest evil project. I have a Cobalt Qube2 running 
NetBSD/cobalt and SimH!
It's not very fast and it took a long time to compile but it works like a charm 
:)

The Qube2 has a nice feature of having twin DEC 21134 10/100 ethernet adapters. 
This is great as
I can assign one to SimH and leave the other one for TCP/IP on the native box. 
The purpose of this
as many will know is to avoid the issue of the host not talking to it's own 
emulator.

One thing that was previously suggested was that I bridge the ethernet ports on 
the box to allow
them to talk to each other. I don't seem to be able to do this if they are on 
the sam LAN though
as the LAN goes nuts because the traffic goes round in a big loop, and 
eventually the whole LAN
basically crashes.

Is there any way anyone knows to create an internal-only bridge? Is it even 
required if both
interfaces are on a LAN with a router?

-- 

Mark Benson

http://DECtec.info
Twitter: @DECtecInfo
HECnet: STAR69::MARK

Online Resource & Mailing List for DEC Enthusiasts.

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


[Simh] Another Serial question.

2011-11-07 Thread Mark Benson
If I redirect the master terminal to /dev/ttyS0 (a serial port) will SimH carry 
on regardless of if a user interacts with the terminal?

If I redirect it to a TELNET port the emulator quits if I close the telnet link 
(presumably because it defaults to modem controls and so closes the terminal on 
disconnect).

Or... can I disable the modem controls on the telnet connection?

-- 
Mark Benson

http://markbenson.org/blog
http://twitter.com/MDBenson
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


[Simh] Simulate Punch Tape Reader/Punch via RS232?

2011-11-07 Thread Mark Benson
Is it possible to feed SimH VAX or PDP sims a punch tape data feed via RS232 or 
push it out to RS232? I don't have a real reader/punch but I'm curious all the 
same. I have a madcap plan in my head :)

-- 
Mark Benson

http://markbenson.org/blog
http://twitter.com/MDBenson
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] PDP-11 using DZ11

2011-10-17 Thread Mark Benson
On 18 Oct 2011, at 07:36, SPC wrote:

It works fine with 32 lines now, I was just being thick I a moron - it was very 
getting late last night :)

I suspect I tried it before I'd reset the system after the SYSGEN and it didn't 
initialise the DZ11 correctly.

-- 
Mark Benson

My Blog:
<http://markbenson.org/blog>
Follow me on Twitter:
http://twitter.com/mdbenson

"Never send a human to do a machine's job..."





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


[Simh] PDP-11 using DZ11

2011-10-17 Thread Mark Benson
Hi,

Having setup my PDP-11 simulation (with bit of help from Matt) and built a 
successful SYSGEN on it, I am now fooling about trying to get terminal ports on 
it.

I included a DZ11 device in the config using;

set dz enable

during the SYSGEN so the driver was picked up on the Autoconfig and installed. 
That seemed to work great.

I used:

attach -am dz 3200

to attach it to port 3200.

I can now boot the sim and log in to the local terminal, but connecting to port 
3200 via TELNET doesn't seem to have the desired effrect. Pretty dure I'm doing 
something stupid but need to know what ;)

-- 
Mark Benson

My Blog:
<http://markbenson.org/blog>
Follow me on Twitter:
http://twitter.com/mdbenson

"Never send a human to do a machine's job..."





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


[Simh] 'Building' a PDP-11

2011-10-15 Thread Mark Benson
Hi,

I'm trying to bootstrap a 'simple' PDP-11 for use with RSX-11M Plus 4.2 and 
eventually DECnet and wondered if anyone had a hardware setup recommendation 
for the SIMH simulator.

I am not after a large plethora of devices. A lot of the 'peripherals', like 
the punch tape reader/punch, various cartridge drives, terminal multiplexers 
etc,  (which are fascinating real hardware) seem redundant for me as I am not 
building an environment for a particular application or environment, I intend 
to use it to run some languages and talk to my VAX and Alpha but that's 
more-or-less it.

I am also confused as to wether to use a QBus or UNIBUS machine. The UNIBUS 
machines seem more popular, and the XU UNIBUS ethernet controller has a driver 
in the 11M Plus SYSGEN that the Q-Bus controller does not have.

Is there a 'real' world machine that is fairly basic that I could use to bas my 
simulation on? Maybe an 11/83 or 11/84? About the only specification I 
currently need is a TK50 tape drive to read the install tape and a hard drive 
(an RQ is preferable so I can transfer the images tot he VAX emulator if needed 
and that's possible?) but that aside I'm otherwise open to suggestions.

Thirdly I'd like to attach a terminal to a telnet port on the host computer 
too, if possible, as I'm aware that unlike a VAX running VMS 7.3 I am unlikely 
to be able to use telnet into a TCP/IP stack?

Aside from the actual simulations this has been a very interesting voyage 
through specs, manuals, pictures and even the odd video of these crazy old 
beasts. While I can't see myself owning a PDP-11 I am keen to at least 
experience the use of RSX-11M to see what they were like.

Thanks for any help :)

-- 
Mark Benson

My Blog:
<http://markbenson.org/blog>
Follow me on Twitter:
http://twitter.com/mdbenson

"Never send a human to do a machine's job..."





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


[Simh] SIMH as a Service

2011-09-05 Thread Mark Benson
Hi,

I would like to auto-run SimH VAX at startup in Ubuntu Linux 10.04. Is there a 
way to make it a service I can (re)start as required? I will probably set the 
output from the master console to an alternate console tty area in the config.

What's the best way to do this, I have no clue and a quick Google turns up very 
little :)

-- 
Mark Benson

My Blog:
<http://markbenson.org/blog>
Follow me on Twitter:
http://twitter.com/mdbenson

"Never send a human to do a machine's job..."





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