public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Interrupt jitter on Kuper Control RTMC48 Motion Control Card?
@ 2009-03-30 16:41 Paul Crawford (at UoD)
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Crawford (at UoD) @ 2009-03-30 16:41 UTC (permalink / raw)
  To: linux-msdos

We make use of dosemu for antenna control and use the IRQ-5 interrupt 
line along with the timer-0 interrupts for our own software.

Our main reason for keeping with DOS is simplicity - we don't need to 
change the working software or worry about device driver updates. 
However, we were keen to move from Windows 95 to LINUX/dosemu due to the 
great improvement in security (from none to good!) and networking.

We find the IRQ-5 hardware interrupt seems to get through pretty 
reliably, but the timer-0 stuff can go AWOL for over 0.25 seconds at 
times. We run dosemu with nice level -11 (to prioritise over the 
X-server) and disable any cron jobs that could take away host time 
significantly at regular intervals.

I don't know about the particular card you use, but the cases where we 
used stepper motors the hardware controlled the stepping, and only the 
reaching of set points or detecting of limit/reference positions relied 
on rapid response from the software.

Maybe not much help, but just to share our experience.

Regards,
Paul
-- 
Dr. Paul S. Crawford
Satellite Station
Dundee University
Small's Wynd, Dundee,
DD1 4HN, U.K.
Tel: +44 (0)1382 38 4687
The University of Dundee is a Scottish Registered Charity, No. SC015096

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Interrupt jitter on Kuper Control RTMC48 Motion Control Card?
@ 2009-03-29 22:22 Stefan Diercks
  2009-03-29 22:26 ` Frank Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Diercks @ 2009-03-29 22:22 UTC (permalink / raw)
  To: linux-msdos

Hi Group!

I am going to install dosbox on a linux system to use some old
proprietary control software that directly accesses an ISA-Card that
controls stepper motors.

Hardware: Pentium 233 or PentiumII 233 on ATX-Board with some
ISA-Slots and a  "Kuper Control RTMC48" Card (used for Motion Control
applications)
on http://www.kupercontrols.com/Kuper/Products/Kuper2001/K2001.html is
a picture of its successor. It is used to control stepper motors.

I assume it is very important, to have very little interrupt jitter
with dosbox direct hardware access. I haven't seen the card itself (it
was built into an old computer on a Film Production Set) but I have
seen the system up and running. I will figure out its IRQ and IOPORT
and use DOSBOX's Direct hardware access.

Of cause it depends on how the card manages Timers, and in what manner
Interrupts are used. Is there anyone out there who got anything
comparable running satisfactory? I expect interrupt jitter to cause
the stepper timings to run out of range. Should I use a faster
Computer to start with? :D Hmm, maybe I should, but the jitter
question is the same. What are your suggestions and experiences?

Stefan Diercks

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-03-30 16:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-30 16:41 Interrupt jitter on Kuper Control RTMC48 Motion Control Card? Paul Crawford (at UoD)
  -- strict thread matches above, loose matches on Subject: below --
2009-03-29 22:22 Stefan Diercks
2009-03-29 22:26 ` Frank Cox
2009-03-29 23:00   ` Stefan Diercks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox