Author |
RE: Alpha Cygwin Emulator - es40 - |
martinv2
Member
Posts: 107
Location: Goslar, Germany
Joined: 02.10.07 |
Posted on January 30 2019 03:14 |
|
|
I have a version of the ES40 emulator that seems to run VMS 8.3 quite flawlessly under MacOS
I built it years ago from the last SourceForge version of the code (0.18+), with some changes (I think one was proposed by Volker Halle), some changes that remove obvious warnings when compiling with llvm-g++, and now with KenAllan's macro.
I just uploaded the sources to http://de.openvms.org/martinv/es40.zip . Beware: unzip into an empty folder!
http://de.openvms.org/martinv/
Edited by martinv2 on January 31 2019 05:29 |
|
Author |
RE: Alpha Cygwin Emulator - es40 - |
JonathanBelanger
Member
Posts: 42
Joined: 09.06.16 |
Posted on May 09 2019 02:31 |
|
|
m2-guy wrote:
last change on https://github.com/JonathanBelanger/DECaxp was several months ago. hopefully this project is still alive
It's not dead, I was just taking a break and implementing a version of SDL, called OpenSDL, because I wanted to use that to generate the header files. I'm actually starting back on it now. I want to do a couple of things that I think can be done better, namely branch prediction and the caches. I'm also going to pretty much scrap the Chip set code, as what I was looking to do will not work the way I want it.
I'm also going to open this up to more than just Cygwin. I'm thinking Windows and Linux.
~Jon.
Edited by JonathanBelanger on May 09 2019 02:32 |
|
Author |
RE: Alpha Cygwin Emulator - es40 - |
malmberg
Moderator
Posts: 530
Joined: 15.04.08 |
Posted on July 19 2019 02:33 |
|
|
As I posted on the other thread, an emulator needs to be able to use the https://libvirt.org/formatdomain.html to be compatible with standard management tools. It gives you both a command line and X11 GUI control panel that can be network accessible just with the basic Libvirt package.
On Linux, the target should be to run under LXD, the almost forgotten container environment.
LXD has a big advantage over Docker in that it can run a single image as a container instead of having to install even a minimal Linux instance.
For A Windows target, I would just use Linux in a VirtualBOX VM. This handles all your network bridging for you.
Linux on Virtualbox is very low overhead. For newer Windows, the Linux Subsystem for UNIX would be a possible target, but I do not think that handles the network bridging like VirtualBox will.
You will probably find that Linux on VirtualBox is even more convenient for hosting an emulator than using Cygwin.
With VirtualBOX you can set up an internal network, and 4 vNICs. 2 for the Linux host, and 2 for the Emulator.
|
|
Author |
RE: Alpha Cygwin Emulator - es40 - |
malmberg
Moderator
Posts: 530
Joined: 15.04.08 |
Posted on May 25 2020 16:43 |
|
|
Just tried to build and run ES-40 on an UBUNTU 18.10 VM.
So far I have not added Martinv's and KenAllan's fixes.
I started with the Tim Stark fork at: https://github.com/fsword7/es40 and needed to merge in the SMR11 branch based on the https://github.com/SMR11/es40 to it to build.
Lots of compiler noise.
Looks like there are patches from: https://github.com/promovicz/es40 to fix that nose.
The https://raymii.org/s/blog/Installing_the_es40_AlphaServer_emulator_0.18_on_Ubuntu_16.04_and_trying_to_install_openVMS_8.4_on_es40.html was a big help.
However while it is now built, it does not work.
No X11 console display.
Not sure what to put in the es40.cfg for the network device. Looks like I need to create a bridge device and possibly a TAP device. Only reference I can find online is the use of a tap device on NETBSD.
The emulator starts to the point of getting to:
serial0(serial): $Id: Serial.cpp,v 1.51 2008/06/03 09:07:56 iamcamiel Exp $
serial1(serial): Waiting for connection on port 21265.
I telnet to that port and get:
telnet localhost 21264
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
This is serial port #0 on ES40 Emulator
And that is where it just hangs.
|
|
Author |
RE: Alpha Cygwin Emulator - es40 - |
martinv2
Member
Posts: 107
Location: Goslar, Germany
Joined: 02.10.07 |
Posted on June 16 2020 07:14 |
|
|
John,
I, too, have looked into SMR11's and promovicz's projects, and fixed some more g++ warnings under Ubuntu 18.04. My current state of the project is at https://github.com/mvorl/es40. It build mostly clean using -Wall -Wno-unused-variable -Wno-unused-but-set-variable.
Using DECxterm from the Freeware CD v7, you can let es40 open xterms for any serial port that's configured, like
serial0 = serial
{
port = 21264;
action = "./DECxterm.sh -e telnet 127.0.0.1 21264";
}
I have not yet been able to get the network configuration working, even when using my trusted old taptap program (from https://www.headcrashers.org/comp/programs/taptap.html with only slight modifications - don't you immediately feel at home at that site ). Not even when pointing the emulated DEC21143 device to the physical NIC of my PC can I connect to it from the home network. Most be some sort of Linux voodoo...
cu,
Martin
http://de.openvms.org/martinv/
Edited by martinv2 on June 17 2020 16:54 |
|
Author |
RE: Alpha Cygwin Emulator - es40 - |
lenticularis
Member
Posts: 4
Location: Brno, Czech Republic
Joined: 22.08.19 |
Posted on October 03 2020 08:52 |
|
|
martinv2 wrote:
I have not yet been able to get the network configuration working, even when using my trusted old taptap program (from https://www.headcrashers.org/comp/programs/taptap.html with only slight modifications - don't you immediately feel at home at that site ). Not even when pointing the emulated DEC21143 device to the physical NIC of my PC can I connect to it from the home network. Most be some sort of Linux voodoo...
I'm having similar problems - the internal loopback test done by the SRM firmware fails and there is no connectivity from the VM. This happened on three different Linux distributions (Debian, Gentoo, RHEL), so I believe it's either an issue with es40 or with modern Linux. There is a video on YouTube from 2016 that shows networking working in es40 (https://www.youtube.com/watch?v=qbjZxGHZfGQ). |
|