From: "Alexei A. Frounze" Newsgroups: alt.os.development,alt.lang.asm,comp.os.msdos.djgpp,alt.os.assembly Subject: Re: Having troubles with IDT/IRQ0 Date: 12 Jan 2000 19:27:38 GMT Organization: MTU-Intel ISP Lines: 36 Message-ID: <01bf5d34$679713a0$LocalHost@alex> References: NNTP-Posting-Host: dial55010.mtu-net.ru X-Trace: gavrilo.mtu.ru 947705258 3740 195.34.55.10 (12 Jan 2000 19:27:38 GMT) X-Complaints-To: usenet-abuse AT mtu DOT ru NNTP-Posting-Date: 12 Jan 2000 19:27:38 GMT X-Newsreader: Microsoft Internet News 4.70.1155 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi! Check out my COFF UTIL package at http://alexfru.chat.ru There is a sample pmode program exactly for DJGPP. The program works with exceptions and IRQs (0=timer,1=kbd,3/4=standard serial mouse). All the sources (really well-commented) and binaries are available there. New version is out very soon. Good Luck Alexei A. Frounze -- P.S. In order to reply via e-mail, remove the "n-o-s-p-a-m" substring out of the e-mail address. Groman записано в статью ... > Could somebody please tell me if the following bits and pieces are correct > and do what I want(99% chance the problem is elseware, but I want to make > sure > these pieces are which work) > I've been starring into this code for about 16 hours now, and I think I am > missing something obvious: > The computer reboots as soon as I enable the interrupts(IRQs are shifted to > 0x20 and are all masked but 0x2 and 0x0(code from Linux 2.0 source)) > > Bochs panics saying > interrupt(): gate descriptor is not valid sys seg > > > > I am using djgpp with nasm...