delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
Message-ID: | <003a01c4e35a$83224700$67b92951@josepmariaxp> |
From: | "JM Rams" <josepmaria AT turomas DOT com> |
To: | <djgpp AT delorie DOT com> |
Subject: | Problems with timer interrupt chaining and SmartDrv |
Date: | Thu, 16 Dec 2004 11:31:28 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 6.00.2741.2600 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2742.200 |
Reply-To: | djgpp AT delorie DOT com |
This is a multi-part message in MIME format. ------=_NextPart_000_0037_01C4E362.C8E7C870 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable My interrupt comes every 500 micro seconds. If anyone use HD without = smartdrive interrupts works fine every time if it is 9 (If I use INT 5 = the interrupt gets down to 20 ms). When I use smartdrv some intervals = over two interrupts gets down to 20 ms aprox. I soposed that smartdrv = catch CPU control and not reenable interrupts, then I probe to catch HD = interrupt and enable PIC interrupts (outport(0x20...)) and CPU = interrupts (enable()) but it don't works. It may be possible that = smartdrv disable interrupts. ------=_NextPart_000_0037_01C4E362.C8E7C870 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2745.2800" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>My interrupt comes every 500 micro = seconds. If=20 anyone use HD without smartdrive interrupts works fine every time if it = is 9 (If=20 I use INT 5 the interrupt gets down to 20 ms). When I use=20 smartdrv some intervals over two interrupts gets down to 20 ms = aprox. I=20 soposed that smartdrv catch CPU control and not reenable = interrupts, then=20 </FONT><FONT face=3DArial size=3D2>I probe to catch HD interrupt and = enable PIC=20 interrupts (outport(0x20...)) and CPU interrupts (enable()) but it = don't=20 works. It may be possible that smartdrv disable interrupts.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML> ------=_NextPart_000_0037_01C4E362.C8E7C870--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |