Reply 120 of 580, by NJRoadfan
I'm running CuteMouse 2.1b4.
Mem already reports less than 640k of RAM on my EISA machine. The cause is the LBA option ROM on my IDE controller using the top 2k to store the drive parameters. DDOs like EZDrive install in memory using the same system. That note specifically refers to a MR BIOS, AMI and Award doesn't appear to use the EBDA as I have never seen a PS/2 mouse equipped machine report less than 640k.
Regarding Int 15h c2h, it would be nice to get a clear answer if all BIOS with PS/2 mouse support it. Some are doubting its available on all machines. It basically wraps all those i8042 commands in a neat easily accessible package. Well at least that is what it looks like gleaming over VirtualBox's source code: http://www.virtualbox.org/svn/vbox/trunk/src/ … BIOS/ps2mouse.c
Then there is ReactOS. I love the comment on the top, now I know why the keyboard magically re-enables itself after sending the "disable" command. Every step of the process involves flushing the input and output buffers. i8042MouseDetect() pretty much does what we have been trying to do in QBasic. It also doesn't involve the Int 15h functions or reading the equipment byte with Int 11h. Why? Because those services aren't available in protected mode. BIOS Interrupt services are only available in real mode. If anything, getting the mouse working in DOS is going to be harder than something like Windows NT or Linux.
<http://svn.reactos.org/svn/reactos/trunk/reac … 750&view=markup>
I'd say this is worth revisiting once you get an EPROM burner and try the AMI Enterprise III BIOS. At least it will provide a working mouse under all operating systems, not just DOS.