Home · Articles · Downloads · Hobby Wear · Forums · Web Links · News CategoriesMonday, January 22, 2018
Navigation
Home
Articles
Downloads
Hobby Wear
FAQ
Forums
Web Links
News Categories
Contact Us
Photo Gallery
OpenVMS Bigot
Search
Users Online
Guests Online: 5
No Members Online

Registered Members: 7,021
Newest Member: pd123d
PdfFactory Pro Enterprise 2.31, MATFOR 4.00.061031 in Lahey Fortran, Adobe PhotoShop 9.0 CS2 oem, Trend Micro InterScan VirusWall 6.0, Adobe Acrobat 7.0 Professional sale, Salon Iris 5.05, Drafix Pro Landscape 11.2, oem Adobe PhotoShop CS 8.0 cheap buy, Catia 5 R12 P3 with SP2, Mcafee Secure Internet Gateway 4.5, oem Adobe Acrobat Professional 8 oem, Visual UML 4.1 Developer Edition, sale Adobe CS3 Design Premium Vol for Mac low price, Nuance Dragon Naturally Speaking 9.0 Professional With SP1, Adobe After Effects Plugins, low price AutoCAD 2006 cheap buy, Avid NewsCutter XP 3.8, The Movie Library 1.7.11, oem Adobe Creative Suite Premium Edition 2.0, ProFlyers 6.0 PDF Forms for Adobe Acrobat, PTC Pro Engineer Routed Systems Designer 5.0, sale DVDXCopy Platinum 4.0.38, CyberBizPlan v1.0.165 WinAll, NeverCenter Silo 1.16b, cheap buy AutoCAD 2005, Norton Save And Restore 11, sale Adobe Creative Suite 3 Design Premium sale, Adobe Premiere Plugins Collection 2007, cheap buy Adobe Creative Suite Premium Edition 2.0 for Mac sale, Active Desktop Calendar 6.5.061124, sale Adobe Acrobat 6.0 Professional, X-Rite MonacoPROFILER Platinum 4.8, EmailUnlimited 6.1 Win98NTME, oem Adobe Photoshop CS3 Extended sale
Sponsors
Island Computer
View Thread
OpenVMS Hobbyist Program | Alpha Systems Forums | Emulated Alpha Forum
Author Alpha Cygwin Emulator - es40 -
JonathanBelanger
Member

Posts: 32
Joined: 09.06.16
Posted on January 13 2017 06:19
Hi All,

I thought I'd let others know that I have been working on the ES40 emulator. I have it compiling and running, non-SMP, on Windows 10 and Cygwin. I have found and fixed quite a few issues. I'm right now working through determining why a secondary processor is not fully recognized (it is seen as available, but not configured or active). I don't think it is quite ready for prime time and have not checked in my code changes (I do have a github repository for it). Also, the code is not terribly efficient, It does use calculated jumps, but also does all kinds of questionable checks. After I get the SMP working, I'll look to make the code much more efficient.

Just thought I'd let you know.

JonB
Author RE: Alpha Cygwin Emulator - es40 -
Bruce Claremont
Member

Posts: 485
Joined: 07.01.10
Posted on January 13 2017 11:32
Good to know. Thanks for posting. Let us know when it is ready for testing.
Author RE: Alpha Cygwin Emulator - es40 -
JonathanBelanger
Member

Posts: 32
Joined: 09.06.16
Posted on March 28 2017 04:37
How about a quick update...

I found quite a few issues, some can be resolved, some require rearchtecture...

The current issue I'm working on is that the interrupt processing has a number of issues. The biggest is the timer interrupt processing. Currrently, the timer interrupt get set, but never cleared. This causes the interrupt processing to get into a tight loop. It checks the flags that an interrupt is pending (timer in this case) and sets the PC to the PAL interrupt processing code. The PAL interrupt processing code tries to clear the flag, but it does not get cleared. When returning from this code, the emulator attempts to execute the next instruction and checks for any interrupts. Since the interrupt flag is still set, the PC is again set to the PAL interrupt processing code. And so on. When there is just one CPU, the processing is sufficiently slow enough to still have the issue, but the loop is not so tight and allows other instructions to be processed. When there is more than one CPU, one of the CPUs, usually the primary, will execute fine, still with the loop, but the other CPUs will be in the tight loop.

The architectural issue is there are quite a few places where a component thread will access data, both read and write, in another component thread without the use of any kind of synchronization (mutex). Now this is not a huge problem because the emulated software is multiple execution thread safe, but it may cause some on expected and random issues. At some point, I'll reachitect the entire emulator (one thread should never access the data in another thread).

~Jon.
Author RE: Alpha Cygwin Emulator - es40 -
malmberg
Moderator

Posts: 443
Joined: 15.04.08
Posted on March 29 2017 03:02
That is very good news. However the link to firmware at the ES-40 project page is dead, so while there are some others that may want to try it, they can not.

Do you have write access to the ES-40 project to be able to post updates there?

Also one thing that is very useful to have in an emulator is a way to do paravirtualization. That is provide a way for things like VMS system services or device drivers to run code on the native platform.

Think of the advantages of ES-40 being hosted on future x86_64 VMS or even IA64/VMS.
Author RE: Alpha Cygwin Emulator - es40 -
JonathanBelanger
Member

Posts: 32
Joined: 09.06.16
Posted on March 29 2017 12:18
Unfortunately, I don't have write/update rights on the ES40 site. I did replicate the project source and have the ES40 firmware.

~Jon.
Author RE: Alpha Cygwin Emulator - es40 -
malmberg
Moderator

Posts: 443
Joined: 15.04.08
Posted on March 29 2017 13:40
ES-40 firmware located.

ftp://ftp.hp.com/pub/alphaserver/firmware/current_platforms/v7.3_release/ES40_series/
Author RE: Alpha Cygwin Emulator - es40 -
malmberg
Moderator

Posts: 443
Joined: 15.04.08
Posted on November 16 2017 03:07
Will either of your projects run OpenVMS 8.4 well enough to use it as a dedicated Infoserver box on Linux?
Author RE: Alpha Cygwin Emulator - es40 -
JonathanBelanger
Member

Posts: 32
Joined: 09.06.16
Posted on December 07 2017 15:47
Well I have stopped work on the es40 emulator. The multithread code was not protecting shared resources well enough, which caused some timing issues. My new emulator, DECaxp, will replicate a 21264 CPU as close as possible. Each CPU will have 4 integer threads, 2 FP threads, plus 3 other threads. I'm not too sure how many threads the system board emulation will require, yet. I'm also not emulating PALcode, like es40 does, some of which does not match the real PALcode.

~Jon.
Author RE: Alpha Cygwin Emulator - es40 -
malmberg
Moderator

Posts: 443
Joined: 15.04.08
Posted on December 08 2017 02:27
Please add paravirtulization support to it.

This is where we can device drivers and privileged code call host native modules.
Author RE: Alpha Cygwin Emulator - es40 -
JonathanBelanger
Member

Posts: 32
Joined: 09.06.16
Posted on December 09 2017 00:59
Hi All,

It was brought to my attention that I did not have a URL to where the code is for the emulator. So here it is: https://github.com/JonathanBelanger/DECaxp. As for paravirtualization, I will look into it. I'm still implementing the actual CPU emulation (currently at Dcache and Bcache an associated code). I have all of the following near completion:

1. Icache
2. Instruction decode
3. ITB
4. Branch prediction
5. All instructions (integer and FP)
6. Integer Pipeline (4 of them)
7. FP pipeline (2 of them)
8. Dcache (I'm refactoring this at present)
9. DTB
10. System Interface (refactoring along with Dcache)
11. Bcache
12. All IPRs and CSRs
13. All initialization code (CPU only)
14. Pretty much all threading code, which includes thread-to-thread interfaces

~Jon.
Author RE: Alpha Cygwin Emulator - es40 -
malmberg
Moderator

Posts: 443
Joined: 15.04.08
Posted on December 09 2017 03:38
Sounds good.

Please add a libvirt API for the configuration instead of rolling your own to my wishlist.

A libvirt API will allow your emulator to be more easily deployed by standard cloud orchestration tools.
Jump to Forum:
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Member Poll
Are you going to OpenVMS Boot Camp 2016?

Yes

No

You must login to vote.
Shoutbox
You must login to post a message.

malmberg
December 12 2017
HPE only makes the most current version of OpenVMS Alpha / IA64 /VAX available to hobbyists. When I had access to the Alliance 1 program it was the same. No public downloads are allowed by HPE.

nmbonao
December 08 2017
Is anybody knows OpenVMS 8.2 version downloadable version? or CD copy? Thank you very much

aarommes
December 02 2017
Bitcoin and Blockchain enthusiasts ( plus distributed computing ) please connec / reply: http://www.openvmshobbyis
t.com/forum/viewthread.ph
p?forum_id=130&thread_id=
2991


malmberg
September 10 2017
https://sourceforge.net/p
/vms-ports/wiki/VMSInstal
lation/ For the most part just use VMS 6.1 media instead of 7.3. But why run the older release?


DoeveR
August 07 2017
Where can I find the write up on running VMS 6.1 using the simh emulator?

Bart
March 20 2017
Happy to have found my password again!

pintero
March 16 2017
peteherrera. Agreed.

peteherrera
March 04 2017
It would be nice to be able to buy the lastest hardcopy full OpenVMS docset at a very reduced price through the Hobbyist program. smiley

malmberg
February 05 2017
Decus > Connect > Encompass<Country>

ChrisChiesa
February 02 2017
What's the status of DECUS memberships? Just found my membership card. :-)

bofh
January 06 2017
Searching for Pathworks 6.0 for DOS & Windows. Anyone have it?

malmberg
December 29 2016
The openvms disks question is frequently answered in the forums, and is not something to ask about in the shout box.

Cmota
December 29 2016
Hello, I am in need of the openvms.disk, but I don't know where to obtain it

moch75
December 26 2016
personal alpha

moch75
December 24 2016
personal alpha+

Shoutbox Archive