VirtualBox

Changeset 43527 in vbox for trunk/src


Ignore:
Timestamp:
Oct 3, 2012 2:02:11 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
81115
Message:

VGABIOS: Do not trash palette in text modes when setting border color.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/BIOS-new/vgarom.asm

    r43152 r43527  
    229229  push  cx
    230230  push  dx
    231   mov   dx, VGAREG_ACTL_RESET
    232   in    al, dx
     231  push  ds
     232  mov   dx, BIOSMEM_SEG
     233  mov   ds, dx
     234  mov   dx, VGAREG_ACTL_RESET
     235  in    al, dx
     236  cmp   byte ptr ds:[BIOSMEM_CURRENT_MODE], 3
     237  jbe   set_border_done
    233238  mov   dx, VGAREG_ACTL_ADDRESS
    234239  mov   al, 00h
     
    256261  cmp   cl, 4
    257262  jne   set_intensity_loop
     263set_border_done:
    258264  mov   al, 20h
    259265  out   dx, al
     
    262268  in    al, dx
    263269endif ; VBOX
     270  pop   ds
    264271  pop   dx
    265272  pop   cx
Note: See TracChangeset for help on using the changeset viewer.

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