Congratulations on figuring that out and getting it working. I did not realise that a PS/2 mouse was quite so complicated. I did a bit of DOS mouse programming circa ~1991 and it was a bit iffy getting things to work reliably with a serial mouse and different video modes, etc. The PS/2 mouse adds even more things on top.
Thanks. I suspect the Mouse developer kit LIB probably hid some of the complexity. I would guess there would have been only a handful of people back in the 80's and 90's who understood the internal workings of the drivers. Some of the stuff in the 7.x driver detecting what PC it was running on looked particularly odd! Looked like it was re-written in 8.x. Dave
what can i say except magnificent. and congrats on this achievement! epic to troubleshoot mouse error with a logic analyzer and reverse eng a closed source driver
Yes I have Ghidra too but I am even less familiar with that one and when I tried it quickly I didn't see any of the disassembly code after it had theoretically disassembled it! Not sure it has the .COM 16 bit config by default. Something to look into over the coming months. I know Ghidra has a lot in it for reverse engineering hardware too. Dave
Congratulations on figuring that out and getting it working. I did not realise that a PS/2 mouse was quite so complicated. I did a bit of DOS mouse programming circa ~1991 and it was a bit iffy getting things to work reliably with a serial mouse and different video modes, etc. The PS/2 mouse adds even more things on top.
Thanks. I suspect the Mouse developer kit LIB probably hid some of the complexity. I would guess there would have been only a handful of people back in the 80's and 90's who understood the internal workings of the drivers. Some of the stuff in the 7.x driver detecting what PC it was running on looked particularly odd! Looked like it was re-written in 8.x.
Dave
what can i say except magnificent. and congrats on this achievement! epic to troubleshoot mouse error with a logic analyzer and reverse eng a closed source driver
Thanks. Would have been preferable that it worked first time BUT nothing worth doing ever seems to be easy!
Dave
Ghidra is another disassembler that is worth running this sort of thing through
With different strengths and weaknesses versus IDA
Yes I have Ghidra too but I am even less familiar with that one and when I tried it quickly I didn't see any of the disassembly code after it had theoretically disassembled it!
Not sure it has the .COM 16 bit config by default.
Something to look into over the coming months.
I know Ghidra has a lot in it for reverse engineering hardware too.
Dave