Date: Wed, 12 Jan 2000 07:43:16 +0500 (MVT) From: Prashant TR To: Groman cc: djgpp AT delorie DOT com Subject: Re: ISR with DJGPP in a kernel. In-Reply-To: <002301bf5c83$e81bf240$010ea8c0@homepc> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 11 Jan 2000, Groman wrote: > _AsmLoadIDT: > push ebp > mov ebp, esp > > > lidt [idtr] > > > mov esp, ebp > pop ebp > > ret Checkup your DS register. Are you loading the IDT right? Then, selector values in the IDT descriptors *must* be in the GDT and *not* in LDT. Is this OK, too? > idtr: > dw 8*256-1 > dd _IDT Fine. > dw 0 What is this one for? Not needed for IDT. Prashant