VirtualBox

Changeset 18265 in vbox for trunk/src/VBox/Devices/Graphics


Ignore:
Timestamp:
Mar 25, 2009 5:09:08 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
45012
Message:

config file cleanup + small copyright year update

Location:
trunk/src/VBox/Devices/Graphics/BIOS
Files:
2 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
  • trunk/src/VBox/Devices/Graphics/BIOS/vgabios.c

    r17325 r18265  
    439439
    440440msg_vga_init:
    441 .ascii "Sun xVM VirtualBox Version "
     441.ascii "Sun VirtualBox Version "
    442442.ascii VBOX_VERSION_STRING
    443443.ascii " VGA BIOS"
     
    32133213
    32143214// --------------------------------------------------------------------------------------------
    3215 static Bit16u biosfn_read_video_state_size2 (CX) 
     3215static Bit16u biosfn_read_video_state_size2 (CX)
    32163216     Bit16u CX;
    32173217{
     
    32293229    return size;
    32303230}
    3231 static void biosfn_read_video_state_size (CX, BX) 
     3231static void biosfn_read_video_state_size (CX, BX)
    32323232     Bit16u CX; Bit16u *BX;
    32333233{
     
    32353235    write_word(ss, BX, biosfn_read_video_state_size2(CX));
    32363236}
    3237 static Bit16u biosfn_save_video_state (CX,ES,BX) 
     3237static Bit16u biosfn_save_video_state (CX,ES,BX)
    32383238     Bit16u CX;Bit16u ES;Bit16u BX;
    32393239{
     
    33203320}
    33213321
    3322 static Bit16u biosfn_restore_video_state (CX,ES,BX) 
     3322static Bit16u biosfn_restore_video_state (CX,ES,BX)
    33233323     Bit16u CX;Bit16u ES;Bit16u BX;
    33243324{
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