Changeset 89270 in vbox for trunk/src/VBox/Devices
- Timestamp:
- May 25, 2021 12:25:16 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 144613
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/timepci.c
r82968 r89270 128 128 129 129 if( read_byte( 0x40, 0xA0 ) != 0 ) { 130 // Wait Interval (Int 15, AH=83 ) active.130 // Wait Interval (Int 15, AH=83 or AH=86) active. 131 131 uint32_t time; 132 132 … … 138 138 segment = read_word( 0x40, 0x98 ); 139 139 offset = read_word( 0x40, 0x9A ); 140 write_byte( 0x40, 0xA0, 0 ); // Turn of status byte.140 write_byte( 0x40, 0xA0, 0 ); // Turn off status byte. 141 141 outb_cmos( 0xB, registerB & 0x37 ); // Clear the Periodic Interrupt. 142 142 write_byte( segment, offset, read_byte(segment, offset) | 0x80 ); // Write to specified flag byte.
Note:
See TracChangeset
for help on using the changeset viewer.