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!
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!
IRQ2 or IRQ12 ?
Well, IRQ2 must be unmasked to receive any of the interrupts IRQ8 through IRQ15 right?
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......"
error message:
"CPU is Unworkable or have been changed......"