I need to port some DOS industrial control software to Windows. The application is tolerant of the non-real-time nature of Windows, but in one specific place, I need to execute several consecutive machine instructions without any possibility of being interrupted between them, because they directly start two external hardware processes that need to be nearly synchronous. In DOS I just bracketed my three instructions with a CLI and STI. But will that work in Windows, especially Windows 2000 and Windows XP? Will a CLI be virtualized or something, thus invalidating its use in ensuring that no time elapses between these several instructions?
-Robert Scott Ypsilanti, Michigan (Reply through this forum, not by direct e-mail to me, as automatic reply address is fake.)