[Simh] Way out idea for simh

Johnny Billquist bqt at softjar.se
Wed Apr 20 13:58:45 EDT 2016


On 2016-04-20 19:51, Armistead, Jason          . wrote:
> OK, so maybe my example was a bit more high-level than what folks are discussing, but even for a "bunch of bits/bytes" device, synchronization still has to be considered here (just as it would for access to common data when writing a multi-threaded program).

No, you definitely have a point. But yes, if people plan to write a 
separate application to access this device, then you worry about system 
caching of data does not apply.

But I still do not think that writing such a program for every platform 
(or even a noticeable number of them) is going to happen. Essentially I 
consider this whole thread to be a lot of hot air.

> As long as the guest OS has exclusive access to the device (preventing the host OS doing reads or writes) , or the host OS has exclusive access to the underlying host file representation (preventing the guest OS from doing reads or writes), then things are OK.  The minute that both try to access it, with one reading and the other writing, it all falls apart because there are lots of ways to corrupt the data stream mid-way through either operation.

Right.

Now, do people want to transfer some information, or are we going to 
continue this mad idea all night?

	Johnny


More information about the Simh mailing list