delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Andris Pavenis <pavenis AT latnet DOT lv> |
To: | djgpp AT delorie DOT com |
Subject: | Re: Troubles with hard interrupts aand HDD |
Date: | Thu, 10 Jun 2004 16:15:35 +0300 |
User-Agent: | KMail/1.6.2 |
References: | <001701c44ed6$30907d40$0d01a8c0 AT josepmariaxp> |
In-Reply-To: | <001701c44ed6$30907d40$0d01a8c0@josepmariaxp> |
MIME-Version: | 1.0 |
Message-Id: | <200406101615.35163.pavenis@latnet.lv> |
Reply-To: | djgpp AT delorie DOT com |
On Thursday 10 June 2004 13:32, turomas wrote: > I am developing a CNC. I use a hard interrupt every 500 micro seconds. I > have used Irq9 and Irq0 too. It works fine but when I use HDD the latency > gets back to 2,5 ms. Can somebody help me. Perhaps HDD interrupt handling could take rather much time in DOS or somewhere interrupts are getting masked for up to 2.5 ms. Also switching between real and protected mode requires time. I myself would try to use some real time operating system for such task (see for example http://www.rtai.org). Andris
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |