In fact, smsw has an interesting property, which is thatOK, if only SMSW is used then I'll keep the emulation for SMSW only.Yes, that would be optimal if this does not severely breakBut at least dosemu implements it, so probably it is needed.Right.
Of course if it is used by one of 100 DOS progs, then thereDo you mean relaying the GP fault to dosemu instead of trapping it and
is an option to just add its support to dosemu2 and pretend
the compatibility problems did not exist. :)
emulating it in the kernel?
the current setups. If we can find out that smsw is not in
the real use, we can probably do exactly that.
But other
instructions are not in real use in v86 for sure, so I
wouldn't be adding the explicit test-cases to the kernel
that will make you depend on some particular behaviour
that no one may need.
My objection was that we shouldn't
write tests before we know exactly how we want this to work.