Re: Introducing my own interrupt in dosemu.

2004-07-21 Thread Wartan Hachaturow
On Fri, Jul 16, 2004 at 03:18:20PM +0400, Stas Sergeev wrote: Note that pic_unmaski() unmasks the IRQ only internally, i.e. it makes it available for the use of a DOS prog. You still have to unmask it from within your DOS program yourself, when setting up the handler. I guess this is what

Re: Introducing my own interrupt in dosemu.

2004-07-16 Thread Stas Sergeev
Hello. Wartan Hachaturow wrote: Then, in signal handler: pic_sched(PIC_IRQ10, 1); /* That should schedule an irq 10 in * 1 dosemu jiffie, right? */ do_irq(); That's rather wrong. You took that from the timer code, but that's really not the case here. You should just use