El 10/12/2012, a les 10:26, Tony Blews <tonyblews at gmail.com> va escriure:
What I'd like to do is run the bridge program on the same raspberry that the SIMH image runs on, but I have no idea how to do this. I seem to recall a post about doing it recently, but I can't recall how to view the list archives.
Running the bridge in the Pi is a non-issue. You just have to recompile it and you are set.
As for running DECnet, there is no decnet support in the raspbian kernel. I have tried to build myself a kernel with decnet support (cross-compiling it from another machine) and my first try was a complete failure (the new kernel crashes during boot). I will give it another try...
On the other hand, since I am running KLH10 in the same machine the main interface is hijacked by a virtual TOPS-20 machine, so I won't be able to run native linux decnet anyway... :)
Jordi Guillaumes i Pons
jg at jordi.guillaumes.name
HECnet: BITXOV::JGUILLAUMES
Hi,
Despite me not doing anything different apart from rebooting my machine, TARDIS is back up.
This has spurred me into action.
What I'd like to do is run the bridge program on the same raspberry that the SIMH image runs on, but I have no idea how to do this. I seem to recall a post about doing it recently, but I can't recall how to view the list archives.
Ideally I'd like to be the bridge, the TARDIS SIMH image and Linus DECnet on the same machine. Is this possible?
Tony.
Jordi Guillaumes i Pons
Barcelona - Catalunya - Europa
El 04/12/2012, a les 22:55, "Boyanich, Alastair" <Alastair.Boyanich at au.fujitsu.com> va escriure:
I've not messed around with TOPS-10/20 and only VMS on simh, but there
you need specify which O/S is running inside the VM and specify it with
something like:
set cpu idle=VMS
Well, KLH10 os a different beast. You have to patch the guest OS to do a write to an " idler" device so the simulator knows the guest is not doing anything and it can enter a wait state until next timer tick or interrups happens. This patch is included in the Panda monitor and it works as expected...
... Unless you happen to be using a "high performance" host system (he, and the Pi seems to fit that class lol...). Then you have to build the simulator to use a synchronous implementation for the timers and device interrupts (see https://groups.google.com/forum/m/?fromgroups#!msg/alt.sys.pdp10/vHcQ49tjMa…) and the idler simply does not work at all. Unfortunately it seem there is no fix for this problem (see https://groups.google.com/forum/m/?hl=en&fromgroups#!msg/alt.sys.pdp10/xndb…) so I will have to live with it. Not a big problem in the raspi anyway...
(Apologies for the double post... The bus just caught a bump and my finger moved to the send button when I was completing the message :))
Jordi Guillaumes i Pons
Barcelona - Catalunya - Europa
El 04/12/2012, a les 22:55, "Boyanich, Alastair" <Alastair.Boyanich at au.fujitsu.com> va escriure:
I've not messed around with TOPS-10/20 and only VMS on simh, but there
you need specify which O/S is running inside the VM and specify it with
something like:
set cpu idle=VMS
Well, KLH10 os a different beast. You have to patch the guest OS to do a write to an " idler" device so the simulator knows the guest is not doing anything and it can enter a wait state until next timer tick or interrups happens. This patch is included in the Panda monitor and it works as expected...
... Unless you happen to be using a "high performance" host system (he, and the Pi seems to fit that class lol...). Then you have to build the simulator to use a synchronous implementation for the timers and device interrupts (see https://groups.google.com/forum/m/?fromgroups#!msg/alt.sys.pdp10/vHcQ49tjMa…) and the idler simply does not work at all. Unfortunately it seem there is no fix for this problem (see https://groups.google.com/forum/m/?hl=en&fromgroups#!msg/alt.sys.pdp10/xndb…) so I will have to liv
On Dec 4, 2012, at 4:55 PM, Boyanich, Alastair wrote:
Hi Jordi,
I've not messed around with TOPS-10/20 and only VMS on simh, but there
you need specify which O/S is running inside the VM and specify it with
something like:
set cpu idle=VMS
If I get it wrong or omit it, then it will sit there wasting a huge
amount of cycles on my alpha. Off the top of my head, I suspect simh is
actually looking for instruction patterns for the idle loop and
detecting based upon that, which would differ from O/S to O/S. Perhaps
TOPS-10/20 requires something similar?
Yes, that's what SIMH does. Depending on the processor type, this code may be rather fragile. On a PDP-11, most (though not all) idle loops have a WAIT in them somewhere. On VAX, there is no such thing, and the code looks for "scheduler idle loop" patterns. It's pretty ugly and your particular OS may not work well. For example, NetBSD 6 does not match any of the VAX idle patterns, and in fact it's not clear any idle handling can be done sanely there without help from the NetBSD code...
The first step would be to make sure the idle checker is set for your OS. If that still doesn't work, you may need to read the emulation code to see what the checker actually does, to determine if it needs to be updated to handle the OS you're running.
paul
Hi Jordi,
I've not messed around with TOPS-10/20 and only VMS on simh, but there
you need specify which O/S is running inside the VM and specify it with
something like:
set cpu idle=VMS
If I get it wrong or omit it, then it will sit there wasting a huge
amount of cycles on my alpha. Off the top of my head, I suspect simh is
actually looking for instruction patterns for the idle loop and
detecting based upon that, which would differ from O/S to O/S. Perhaps
TOPS-10/20 requires something similar?
Al.
-----Original Message-----
From: owner-hecnet at Update.UU.SE [mailto:owner-hecnet at Update.UU.SE]
On Behalf Of Jordi Guillaumes i Pons
Sent: Monday, 3 December 2012 8:25 PM
To: hecnet at Update.UU.SE
Subject: [HECnet] KLH10 on Raspberri Pi / Nodelist update
Hello,
Please add to the HECnet nodelist:
7.79 BITXT0 TOPS-20(PANDA) - KLH10 - Raspbery Pi
I am running this simulator in the same Pi which currently holds 5
more VMs. I
will see if it keeps stable, and if it does I will run it permanently.
Issues to solve
- KLH10 does not idle in the Pi. I'll check the idler device code to
see if I can
guess what is happening.
- I tried to give KLH10 its own bridge device, plugged into the rest
of my
network via VDE switches and plugs, but it does not work. I have lots
of IPBLP
bugchecks and IP networking is unusable (weird enough, DECNET and LAT
seem to work). It works fine if I use the main host interface in
non-exclusive
mode (but then I don't get LAT).
- KLH10 frontend can't load *.EXE files.
- TOPS-10 does not run well. I used a x86 KLH to dump the load code in
SAV
format and then I can boot TOPS-10, but it hungs after a while.
On the other hand, I'm thinking about building a blinkenlights device
using
the GPIO pins of the Rasp-pi basing it on the actual parallel port
blinkenlights
panel driven by the "lites" device... :) It could be another nice
hobby project...
Jordi Guillaumes i Pons
jg at jordi.guillaumes.name
HECnet: BITXOV::JGUILLAUMES
I know PDT-11s are off-topic but they came up before: V6.1 of the Ersatz-11
PDP-11 emulator is now done, and the demo/hobby version is available here:
http://www.dbit.com/demo.html
This release adds emulation of the PDT-11/130 and PDT-11/150 microcomputers,
as well as a rough cut of the Terak 8510/a microcomputer (but the Terak
graphics require DOS, Windows, or OS/2 -- no Linux unless/until a better
linker turns up). There's an appendix showing how to configure each.
John Wilson
D Bit
I have put the basic setup in BITXOV:: (default FAL directory), in the file TOPS20PI.ZIP
The ZIP contains the compiled binaries and the setup files I use. If you drop the PANDA distribution RH.RP07.0 in the same directory you should be fine. Just follow the instructions in the PANDA docs to set up TOPS-20 networking and you will have IP connectivity. If you want DECNET you will have to uncomment a line in SYSTEM:7-1-CONFIG.CMD (near the end), add the DECNET address to the "NODE" line (it should read NODE NODNAM XX.XX). Add (or uncomment) these lines to SYSTEM:SYSTEM.CMD:
NCP SET CIRCUIT NI-0-0 SERVICE ENABLED
NCP SET CIRCUIT NI-0-0 STATE ON
With all of this you should have both IP and DECNET running...
El 03/12/2012, a les 10:25, sampsa at mac.com va escriure:
Jordi,
Can I get a copy of that setup? I've got a Pi sitting here doing nothing, a TOPS-20 machine sounds awesome.
Sampsa
On 3 Dec 2012, at 11:24, Jordi Guillaumes i Pons <jg at jordi.guillaumes.name> wrote:
Hello,
Please add to the HECnet nodelist:
7.79 BITXT0 TOPS-20(PANDA) - KLH10 - Raspbery Pi
I am running this simulator in the same Pi which currently holds 5 more VMs. I will see if it keeps stable, and if it does I will run it permanently.
Issues to solve
- KLH10 does not idle in the Pi. I'll check the idler device code to see if I can guess what is happening.
- I tried to give KLH10 its own bridge device, plugged into the rest of my network via VDE switches and plugs, but it does not work. I have lots of IPBLP bugchecks and IP networking is unusable (weird enough, DECNET and LAT seem to work). It works fine if I use the main host interface in non-exclusive mode (but then I don't get LAT).
- KLH10 frontend can't load *.EXE files.
- TOPS-10 does not run well. I used a x86 KLH to dump the load code in SAV format and then I can boot TOPS-10, but it hungs after a while.
On the other hand, I'm thinking about building a blinkenlights device using the GPIO pins of the Rasp-pi basing it on the actual parallel port blinkenlights panel driven by the "lites" device... :) It could be another nice hobby project...
Jordi Guillaumes i Pons
jg at jordi.guillaumes.name
HECnet: BITXOV::JGUILLAUMES
Jordi Guillaumes i Pons
jg at jordi.guillaumes.name
HECnet: BITXOV::JGUILLAUMES