<div dir="auto">I am also looking for an Alpha simulator. Problem with FreeAXP is that it won't run in Wine and I only have Linux. There used to be one called AlphaVM Free but now they charge a prohibitive cost for the hobbyist version. </div><div class="gmail_extra"><br><div class="gmail_quote">On Nov 20, 2017 11:45 AM, "Eberhard Heuser" <<a href="mailto:eberhard.heuser@chemie.uni-konstanz.de">eberhard.heuser@chemie.uni-konstanz.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 20.11.2017 um 17:36 schrieb Hittner, David T [US] (MS):<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm actually working on the Alpha implementation right now, during my not-as-free-as-I-would-like time.<br>
<br>
Why is it taking so long?<br>
------------------------------<wbr>-<br>
The Alpha is amazingly complex, as you have to simulate the entire set of PC devices (JDEC memory, RT Clock, APICs, Serial Ports, etc.) and buses (PCI, ISA, EISA, SCSI, USB, etc.) that have not been developed for SIMH yet. I have recently found almost all of the needed PC device simulation logic in the QEMU code base, and might be able to port that logic into the SIMH simulator to speed up the development process. Driving the SCSI bus state transitions will be particularly time consuming without the real dedicated SCSI processors which were on every SCSI device and host card.<br>
<br>
I have the Alpha simulator booting and running some 68 million instructions before it gives up due to a "fatal hardware error", but it hasn't gotten up to the firmware chevrons (>>>) yet, as I haven't simulated most of the required hardware devices yet. The Alpha Firmware itself is a very complex OS, initializing and testing the hardware, and setting up all of the in-memory data structure required by the Alpha Architecture manual, before running the interactive console chevron dialog.<br>
<br>
What about JIT?<br>
--------------------<br>
The emulator is also amazingly slow compared to real hardware due to the sheer number of emulated instructions executed and the emulation overhead. JIT would be a wonderful thing, but it's more important to get the emulation right than to make it work faster, as (theoretically) newer host hardware will eventually "catch up" to the emulation overhead. That said, the TCG (Tiny Code Generator) component of QEMU has made me think that we could "do some JIT" in SIMH, either at the single instruction level or at the block level. The primary impact of adding JIT to the emulator is that it throws the emulated clock off - SIMH time, IO, and polling works by counting emulated instructions, and if the emulation instruction count "jumps"  because you executed a large block of JIT code, it could significantly delay or miss the response required for SIMH polling and simulated clock interrupts. It is unlikely that a SIMH Alpha emulation will ever hit the speeds of the commercial emulators, since SIMH is designed be portable, and the commercial emulators are tweaked for specific host platforms. Note that SIMH VAX has never hit the speeds posted by commercial VAX emulators, but runs on almost anything. It is probable that JIT would only be possible on specific host processors or host OS's, requiring that the emulator be capable of both JIT and non-JIT operation.<br>
<br>
<br>
If anyone would care to help in the Alpha development process, I can start checking my code in to allow other developers to assist. If you are interested in helping, send me an email.<br>
<br>
In the meantime, if you just want to run a free Alpha emulator, the FreeAXP emulator from MSI is and will continue to be available.<br>
<br>
David Hittner<br>
<br>
-----Original Message-----<br>
From: Simh [mailto:<a href="mailto:simh-bounces@trailing-edge.com" target="_blank">simh-bounces@trailing-<wbr>edge.com</a>] On Behalf Of Paul Koning<br>
Sent: Monday, November 20, 2017 8:58 AM<br>
To: Gordon Miller <<a href="mailto:gordonamiller60@gmail.com" target="_blank">gordonamiller60@gmail.com</a>><br>
Cc: <a href="mailto:simh@trailing-edge.com" target="_blank">simh@trailing-edge.com</a><br>
Subject: EXT :Re: [Simh] Any chance of AXP for SIMH ?<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Nov 20, 2017, at 12:07 AM, Gordon Miller <<a href="mailto:gordonamiller60@gmail.com" target="_blank">gordonamiller60@gmail.com</a>> wrote:<br>
<br>
Hi guys<br>
<br>
I'm the new kid here, despite my grey hair.<br>
<br>
Anyway, what I'm quite interested in, is any kind of Alpha AXP support for SIMH.<br>
</blockquote>
Take a look at the current code, there is an "alpha" subdirectory.  I don't remember the status of that, probably quite preliminary but there are at least some pieces in place.<br>
<br>
        paul<br>
<br>
<br>
______________________________<wbr>_________________<br>
Simh mailing list<br>
<a href="mailto:Simh@trailing-edge.com" target="_blank">Simh@trailing-edge.com</a><br>
<a href="http://mailman.trailing-edge.com/mailman/listinfo/simh" rel="noreferrer" target="_blank">http://mailman.trailing-edge.c<wbr>om/mailman/listinfo/simh</a><br>
______________________________<wbr>_________________<br>
Simh mailing list<br>
<a href="mailto:Simh@trailing-edge.com" target="_blank">Simh@trailing-edge.com</a><br>
<a href="http://mailman.trailing-edge.com/mailman/listinfo/simh" rel="noreferrer" target="_blank">http://mailman.trailing-edge.c<wbr>om/mailman/listinfo/simh</a><br>
</blockquote>
<br>
Take a look into the es40 source code:<br>
<br>
<a href="https://sourceforge.net/projects/es40" rel="noreferrer" target="_blank">https://sourceforge.net/projec<wbr>ts/es40</a><br>
<br>
eberhard<br>
<br>
<br>
<br>
---<br>
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.<br>
<a href="https://www.avast.com/antivirus" rel="noreferrer" target="_blank">https://www.avast.com/antiviru<wbr>s</a><br>
<br>
______________________________<wbr>_________________<br>
Simh mailing list<br>
<a href="mailto:Simh@trailing-edge.com" target="_blank">Simh@trailing-edge.com</a><br>
<a href="http://mailman.trailing-edge.com/mailman/listinfo/simh" rel="noreferrer" target="_blank">http://mailman.trailing-edge.c<wbr>om/mailman/listinfo/simh</a></blockquote></div></div>