ya! it's done. i didn't like doing that, but i comared your code to mine. i noticed that you unmask IRQ2 (video interrupt). before, no IRQ was asserted when moving the mouse, but when unmasking this interrupt it did! (can you explain me that?)
furthermore i noticed that i was always running the mouse in streaming mode, as i intended to - but i did not think about that when reading the mouse data. with the 0xeb-command (get datapacket) i got my packet, but neither the keyboard nor the mouse-interrupt was called after that.
so, in streaming mode the mouse sends the data and i can get it via port60 - and i was done. i implemented the mouse completely getting the flags & position.

so, i'm ready with the gui: i have a working keyboard where i can read the information and also the mouse is implemented completely. multitasking works (even with 256 task, 1kHz timer interrupt for switching) and the gfx-mode works also, since i've enabled A20 line (no memory holes anymore).

thanks!
Posted on 2003-05-13 13:18:42 by hartyl
IRQ2 or IRQ12 ?
Posted on 2003-05-13 14:40:58 by BogdanOntanu
Well, IRQ2 must be unmasked to receive any of the interrupts IRQ8 through IRQ15 right?
Posted on 2003-05-13 14:58:23 by Sephiroth3
Right
Posted on 2003-05-14 06:00:49 by BogdanOntanu
Help, My P2 400 refuse to boot. What happen? Is something happen with my CMOS battery?

error message:
"CPU is Unworkable or have been changed......"
Posted on 2003-05-14 17:44:05 by realvampire