Hello i want to implement some functions in NASM to get the 3 or 4 bytes of the mouse. i know that IN At 0x64 with 5 bit on (0x20) says that in 0x60 is available info from the mouse (how to get the remaining?). i would like to have these 3 or 4 packets. Im in REAL MODE. with no interruption handling. i know:
1st byte has button states and others
2nd x offset
3rd y offset
i want to get them or identify the movement. thanks
in al, 0x64
test al, 0x20
jnz mouse-event
(how to get packets)
Im compiling asm to elf and boot it in qemu (Seabios) in REAL MODE with vga text, the only progress that i have is detect when the mouse is moved or clicked with the code above