<context>
I have a program that needs direct access to the floppy controller. It
must be that way, because it is an educational OS, that's supposed to
teach about device drivers. Since it will be run in a student lab, I
can't allow suid access to DosEMU. Thus, I have decided that the way
to do this is to paste the FDC emulator from Bochs into DosEMU. 
</context>

When receiving commands from the DOS program, the emulation sets a
timer. After it expires, it tries to raise an interrupt (IRQ 6), so
the DOS programm will go on. In my timer handler, I call
pic_request(pic_irq_list[6]). The log output indicates that the IRQ is
set to be triggered, but it never is! Not only the DOS program doesn't
receive the interrupt, not even my internal handler is ever called,
and the log shows the request there forever.

I copied the IRQ code from the SB emulation. In my init I do the following:

  floppy_plugin_dosemu_irq = pic_irq_list[6];
  pic_seti(floppy_plugin_dosemu_irq, floppy_irq_trigger, 0); 
  pic_unmaski(floppy_plugin_dosemu_irq);

So, anyone knows what could be wrong?

-- 
Rodrigo
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to