From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams) Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem raising exceptions in tight loops Date: Sat, 30 Nov 1996 13:34:04 GMT Lines: 23 Message-ID: <849360845.357.2@abwillms.demon.co.uk> References: <199611290438 DOT RAA23487 AT papaioea DOT manawatu DOT gen DOT nz> NNTP-Posting-Host: abwillms.demon.co.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp "Malcolm Taylor" wrote: >The explanation is that HW ints cause the limit of ds to be lowered, >thereby causing a page fault the next time the ds is accessed. This >page fault is what causes the exception to be handled. In your tight >loops you are not accessing the ds, hence no exception. Hey, O libc porting people, why not lower cs instead? ABW -- "Simply drag your mother in law's cellphone number from the Address Book to the Laser Satellite icon, and the Targeting Wizard will locate her. Then follow the onscreen prompts for gigawattage and dispersion pattern..." (Windows for Early Warning and Defence User's manual P385) Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk Hello :-)