dennisparker
Programmer
I have developed a control system for an automatic machine that bases motion on open loop stepper systems. The controller is a pc-104 card running a pentium class processer with an embedded multi-threaded DOS environment.
It is my understanding that MSC makes an assumption that the DS register is always loaded with a pointer to the data segment, which is the same as the stack segment. This makes it impossible for allocated threads to refer to global data.
I have read that it is possible to turn this assumption off with the right compiler switch. Does anyone know what that switch is?
It is my understanding that MSC makes an assumption that the DS register is always loaded with a pointer to the data segment, which is the same as the stack segment. This makes it impossible for allocated threads to refer to global data.
I have read that it is possible to turn this assumption off with the right compiler switch. Does anyone know what that switch is?