QUOTE(flemming007 @ Jun 30 2007, 02:49 PM) [snapback]56170[/snapback]
Hi gravitar,
Oh yeah... cost is a concern. But the Japanese at my company will not let me use eBay! I have been trying to get them to let me use eBay to purchase used Omron and Mitsubishi hardware. No such luck.
Thanks again,
Flemming007
Two dirty tricks. First, VMWare is really, really good. It tends to be able to emulate just about any platform. Many developers (I can vouch that GE Fanuc uses it internally at least) use it. Basically, you have "bootable images" on your hard drive. You load the appropriate one as needed. All hardware devices are emulated. It is not possible (especially when your targets are W95 & DOS) for the software to be able to detect what platform it's on since everything hardware-wise is emulated.
This allows you to step up to a current (P4 Mobile, dual-core whatever, or AMD Mobile) laptop, and yet still run anything you want. If you're really concerned, I believe VMWare has some sort of demo thing that lets you test this ahead of time.
Another good alternative is DOSEMU or Bochs, which are both Linux programs. They basically do the same thing, although if I remember correctly, one does a slightly better job with emulation than the other.
All of these packages do exactly the same thing. They trap all instructions that attempt to access the "real" hardware and emulate that. Everything else is allowed to run natively in "386 mode". About the only way a program could ever detect that it is running in an emulated "box" is that instruction timing in many cases could return some really funky results.
These emulators are emulating the machine down to the hardware level. The Mac versions even go so far as to emulate the CPU, too. This is WAY superior to the built-in W95/98/XP methods. . The built-in Windows methods do not trap ALL calls, substitute current OS responses for the original DOS/Windows ones, and will return current responses to calls such as ones to detect the OS. For instance if I recall correctly, Windows XP response with "DOS 8.0" or some such if the software requests the DOS version number.
You can use FreeDOS if you want to get away from "DOS" itself, too. It works MOST of the time. There are a few annoying progams that I ran into that freaked out when they tried to detect DOS versions, forcing me to use "PC DOS 6.0" (good luck finding boot disks for that!)
As to USB-only, once you've gone down the emulator road, you can use the USB/RS-232 dongles to get around the fact that current hardware with real RS-232 ports is becoming extinct. I hate carrying around yet another cable but it seems like this is becoming more and more common. About the only advantage I've found yet is that if a pin gets bent, I lost a $15 dongle instead of a laptop motherboard. If I'm going to be using that port frequently, I'll go buy a Digi One SP for about $100 and convert the serial port to an Ethernet port.