delorie.com/archives/browse.cgi | search |
Message-ID: | <011201c25fd9$2d18b0d0$ee148589@bgo.nera.no> |
From: | "Gisle Vanem" <giva AT bgnett DOT no> |
To: | <djgpp AT delorie DOT com> |
References: | <36F74B8910ED2E4AB98A2E8829085F151796 AT email2k DOT compuweigh DOT com> <3D88FEFB DOT EFB9C4C AT phekda DOT freeserve DOT co DOT uk> |
Subject: | Re: Problems running Watt-32 |
Date: | Thu, 19 Sep 2002 14:36:28 +0200 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 6.00.2600.0000 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
Reply-To: | djgpp AT delorie DOT com |
"Richard Dawe" <rich AT phekda DOT freeserve DOT co DOT uk> said: > > I suspect there's some problem with interrupts there. Have you tried talking > to the author, Gisle Vanem, about how to debug it? Does it hang when you use > gdb instead? Problem solved; see other thread "detecting debugger". Problem was this very tight loop: static void Wait (void) { unsigned long t = _farpeekl (_dos_ds,0x46C); while (_farpeekl (_dos_ds,0x46C) == t) ; } Inserting an __asm__ ("sti") in the loop solved the problem. Gisle V.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |