VirtualBox

Ignore:
Timestamp:
Mar 25, 2009 5:09:08 PM (16 years ago)
Author:
vboxsync
Message:

config file cleanup + small copyright year update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/BIOS/vbe.c

    r11982 r18265  
    7979
    8080_vbebios_product_revision:
    81 .ascii       "Sun xVM VirtualBox Version "
     81.ascii       "Sun VirtualBox Version "
    8282.ascii       VBOX_VERSION_STRING
    8383.byte        0x00
     
    150150  ret
    151151vesa_pm_set_display_start1:
    152 ; convert offset to (X, Y) coordinate 
     152; convert offset to (X, Y) coordinate
    153153; (would be simpler to change Bochs VBE API...)
    154154  push eax
     
    576576  call in_ax_dx
    577577#else
    578   in  ax,dx 
    579 #endif
    580   pop dx 
    581   cmp dx,ax 
    582   jne dispi_set_bank_farcall_error 
     578  in  ax,dx
     579#endif
     580  pop dx
     581  cmp dx,ax
     582  jne dispi_set_bank_farcall_error
    583583  mov ax, #0x004f
    584584  retf
     
    11551155  #define RT_OFFSETOF(type, member)   ( (int)(unsigned)&( ((type *)(void *)0)->member) )
    11561156
    1157         /* Don't use a local copy of VbeInfoBlock on the stack; it's too big. 
     1157        /* Don't use a local copy of VbeInfoBlock on the stack; it's too big.
    11581158         * The Ubuntu 8.04 64 bits splash screen emulator can't handle this.
    11591159         */
     
    15691569    write_word(ES, BX, enable);
    15701570    BX += 2;
    1571     if (!(enable & VBE_DISPI_ENABLED)) 
     1571    if (!(enable & VBE_DISPI_ENABLED))
    15721572        return;
    15731573    for(i = VBE_DISPI_INDEX_XRES; i <= VBE_DISPI_INDEX_Y_OFFSET; i++) {
     
    15881588    enable = read_word(ES, BX);
    15891589    BX += 2;
    1590    
     1590
    15911591    if (!(enable & VBE_DISPI_ENABLED)) {
    15921592        outw(VBE_DISPI_IOPORT_INDEX,VBE_DISPI_INDEX_ENABLE);
     
    19091909 *     Secondary palette support is a "future extension".
    19101910 *     Attempts to set/get it should return status 02h.
    1911  * 
     1911 *
    19121912 *     In VBE 3.0, reading palette data is optional and
    19131913 *     subfunctions 01h and 03h may return failure.
    1914  * 
     1914 *
    19151915 *     The format of palette entries is as follows:
    1916  * 
     1916 *
    19171917 *     PaletteEntry struc
    19181918 *     Blue     db  ?   ; Blue channel value (6 or 8 bits)
     
    19211921 *     Padding  db  ?   ; DWORD alignment byte (unused)
    19221922 *     PaletteEntry ends
    1923  * 
     1923 *
    19241924 *     Most applications use VGA DAC registers directly to
    19251925 *     set/get palette in VBE modes. However, subfn 4F09h is
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