VirtualBox

Changeset 3258 in vbox


Ignore:
Timestamp:
Jun 24, 2007 7:50:09 AM (18 years ago)
Author:
vboxsync
Message:

Don't clear REG_B_UIE when REG_B_SET is written as this breaks OS/2 DosSetDateTime() (the clock stops afterwards).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevRTC.cpp

    r3257 r3258  
    229229                /* set mode: reset UIP mode */
    230230                s->cmos_data[RTC_REG_A] &= ~REG_A_UIP;
    231                 data &= ~REG_B_UIE;
     231#if 0 /* This is probably wrong as it breaks changing the time/date in OS/2. */
     232                data &= ~REG_B_UIE;
     233#endif
    232234            } else {
    233235                /* if disabling set mode, update the time */
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