Alessandro,
All you should need to do to raise an IRQ in your code is:
pic_set_irq(s->irq,1);
When the irq is serviced (in one of your ioport traps, I would assume),
knock the irq down:
pic_set_irq(s->irq,0);
For debugging, you might want to go into i8259.c and uncomment the #define
DEBUG_IR
Attached patch fixes 3 issues I found while trying to write files from guest
to a vfat drive using this configuration:
Host: Windows XP (NTFS)
Guest: DOS 5 (yeah, really!)
Compiler: gcc version 3.4.2 (mingw-special)
Qemu Version: 0.8.2
Command line: qemu -hdb fat:rw:c:\dev\qemu\work...
Probl
> Soo, do you have any more ideas what qemu can what the (free)
alternatives> from M$/VMWare can't?
I use both QEMU and VMWare (commercial version),
but for very different reasons. Both are excellent tools that make my job
easier.
I'm primarily a Windows developer, but I do have
some Linux