<div dir="ltr"><div><div>Try again (stupid tablets)<br><br></div>Allocate the shared memory inside the emulation like is done with device registers. Capture the memory locations and handle them spedially. When that area of shared memory is read or written to, you can use simh code to access the actual mapped memory, doing any 16/18 bit conversions, etc. <br><br></div>The linked simulators will have to agree on how the mapped memory is laid out (16/18 bit), but the conversions would be invisible to the emulated machine. And since they are directly accessing the shared memory, many problems would disappear.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 17, 2015 at 10:49 AM, Phil Budne <span dir="ltr"><<a href="mailto:phil@ultimate.com" target="_blank">phil@ultimate.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Johnny Billquist wrote:<br>
> There is a problem in that different emulators might use a different<br>
> layout for memory, that you somehow need to overlap when you come here.<br>
> And that layout can become rather weird, and how do you actually figure<br>
> this out.<br>
<br>
</span>If all simulated memory access is wrapped in C macros, you can hide<br>
most of the ugliness, assuming you don't mind a special build of the<br>
simulators for each multi-processor system.  You might end up with<br>
four or more builds of the PDP-11 simulator: uniprocessor, 11-only<br>
multiprocessor, PDP-15 + PDP-11, PDP-10 + PDP-11.<br>
<br>
Since we have CPU cycles to throw away, a "memory server" process<br>
could solve the cache coherency problems...<br>
<span class="HOEnZb"><font color="#888888"><br>
phil<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Simh mailing list<br>
<a href="mailto:Simh@trailing-edge.com">Simh@trailing-edge.com</a><br>
<a href="http://mailman.trailing-edge.com/mailman/listinfo/simh" target="_blank">http://mailman.trailing-edge.com/mailman/listinfo/simh</a></div></div></blockquote></div><br></div>