Changeset 94451 in vbox
- Timestamp:
- Apr 4, 2022 9:33:05 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/BIOS/vgabios.c
r94363 r94451 2379 2379 outb(VGAREG_SEQU_DATA, read_byte(ES, BX)); BX++; 2380 2380 2381 // select crtc base address 2382 v = inb(VGAREG_READ_MISC_OUTPUT) & ~0x01; 2383 if (crtc_addr == 0x3d4) 2384 v |= 0x01; 2385 outb(VGAREG_WRITE_MISC_OUTPUT, v); 2386 2381 2387 // Disable CRTC write protection 2382 2388 outw(crtc_addr,0x0011); … … 2389 2395 BX++; 2390 2396 } 2391 // select crtc base address2392 v = inb(VGAREG_READ_MISC_OUTPUT) & ~0x01;2393 if (crtc_addr == 0x3d4)2394 v |= 0x01;2395 outb(VGAREG_WRITE_MISC_OUTPUT, v);2396 2397 2397 // enable write protection if needed 2398 2398 outb(crtc_addr, 0x11);
Note:
See TracChangeset
for help on using the changeset viewer.