It won't be possible. Macs that old used PowerPC processors. The architecture of the processor is different from the intel/amd processors used on pc's. Any program compiled for a powerpc processor won't run on Intel/compatible hardware, directly at least.
On the other hand, you may be able to use a powerpc based virtual machine. What you will do is load the virtual machine program onto a different OS (can be either Linux or Windows), and then run OSX within the virtual machine. A virtual machine is a program that emulates a hardware environment, and in doing so allows you to run one operating system, called the guest )S, inside another operating system that controls the hardware, known as the host OS.
This approach does have some limitations. For one, the operating system running the virtual machine is what controls the hardware. If you run OSX under windows, windows will still suffer from whatever stability issues you are having, and this will affect the guest OS as well. If you are running linux, you still won't be able to run any hardware linux can't run, with the exception that if your virtual machine is capable of doing so, you can give control of serial/usb based peripherals over to the guest OS, which will be able to run them so long as OSx has the drivers. Based on my own experience, though, the host OS won't be able use those peripherals while the guest OS is using them.