VirtualBox

Changeset 1530 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
Mar 16, 2007 1:49:12 PM (18 years ago)
Author:
vboxsync
Message:

Corrected VBox-specific bug in INT15h mouse reset handling. Fixes MS
PS/2 mouse driver, including the one built into Windows 3.x.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/rombios.c

    r1434 r1530  
    41444144           * sense to reset the mouse and leave the mouse flags as is. */
    41454145          mouse_flags_2 = read_byte(ebda_seg, 0x0027);
    4146           mouse_flags_2 = (mouse_flags_2 & 0x00) | regs.u.r8.bh;
     4146          if (regs.u.r8.al == 5)
     4147            mouse_flags_2 = (mouse_flags_2 & 0x00) | regs.u.r8.bh;
    41474148          mouse_flags_1 = 0x00;
    41484149          write_byte(ebda_seg, 0x0026, mouse_flags_1);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette