CAD CAM EDM DRO - Yahoo Group Archive

Re: EMC C code - Real Time DOS and Win 3.1

Posted by James Eckman
on 1999-06-14 10:08:52 UTC
> From: paul@...
> Subject: Re: EMC C Code
>
> There is a vast difference between being able to compile code on a
> platform and actually being able to execute it. With some work, you
> could probably compile the EMC code using the Borland compiler. However,
> you would not have all of the operating system real time calls that
> the code depends on. To be able to run the program, you would need
> to build all of the required functionality that is missing on Windows.
> Practically speaking, this is not realistic.
>
Because Windows 95+ freaks out when you deny it interrupts, running any
kind of RT is impossible that I know of. (Somebody may know a trick I
don't but that's my experience) However DOS and 3.1 can be completely
shut off at the users discretion in terms of interrupts with no bad
effects other than frozen mice and such. If you really wanted to port
EMC to such a platform, you would have to rewrite the servo tasks as
interrupt service routines. As for real time NT, I've never used it.
However, also having used Linux/GNU in the past with success using
similar hacks, I'd be tempted to go this route for a controller and
not bother with Microsoft anymore. (Unless there was a real serious
customer requirement)

Jim Eckman

Discussion Thread

James Eckman 1999-06-14 10:08:52 UTC Re: EMC C code - Real Time DOS and Win 3.1 Jon Elson 1999-06-14 11:55:37 UTC Re: EMC C code - Real Time DOS and Win 3.1 James Eckman 1999-06-14 20:28:07 UTC Re: EMC C code - Real Time DOS and Win 3.1