All of lore.kernel.org
 help / color / mirror / Atom feed
* About VBE double buffering
       [not found] <48c69f99.1ba67e0a.7caf.3a70SMTPIN_ADDED@mx.google.com>
@ 2008-09-10  0:24 ` y.volta
  2008-09-10 15:31   ` Vesa Jääskeläinen
  2008-09-14 19:55   ` Colin D Bennett
  0 siblings, 2 replies; 3+ messages in thread
From: y.volta @ 2008-09-10  0:24 UTC (permalink / raw)
  To: grub-devel


    I noticed that `grub_vbe_bios_set_display_start () which used AX=4F07h INT10h' used in the fancy menu patch. This will use the video buffer to do buffering, but this function will fail on some system, Collin told us in his Journal:

"However, VMware doesn't seem to support the VBE set display start operation, at least in the video mode that GRUB uses (for the basic video test, which uses indexed color 1024x768 mode). "

    so, this may have compatible issue. i think, is there any possible, use a non-video-card memory to be the drawing buffer, when done, we copy its contents to video memory? this obviously has performance issue, but has more compatible.

    Furthmore, i suggest, we should implement the bank-switch function in VBE framework, for there are a few system's video card may have no LFB modes. for example, here is a card i meet: ( i gathered 22 cards, it is only one without lfb in each modes; many cards have no lfb in 4 colours mode. )


VESA VBE version 3.0 detected (NVidia) 

Available VESA videomodes:
mode W  *  H  memory  bpl NoP banks banksz dmode modeattr colors
-------------------------------------------------------------------------------------------
100h 640 x 400 PK   640 1 1  0  0  1100011111 256
101h 640 x 480 PK   640 1 1  0  0  1100011111 256
102h 800 x 600 PL   100 4 1  0  0  1100011111 16
103h 800 x 600 PK   800 1 1  0  0  1100011111 256
104h 1024 x 768 PL   128 4 1  0  0  1100011111 16
105h 1024 x 768 PK   1024 1 1  0  0  1100011111 256
106h 1280 x 1024 PL   160 4 1  0  0  1100011111 16
107h 1280 x 1024 PK   1280 1 1  0  0  1100011111 256
108h 80 x 60 0   160 1 1  0  0  1100001111 16
109h 132 x 25 0   264 1 1  0  0  1100001111 16
10Ah 132 x 43 0   264 1 1  0  0  1100001111 16
10Bh 132 x 50 0   264 1 1  0  0  1100001111 16
10Ch 132 x 60 0   264 1 1  0  0  1100001111 16
10Eh 320 x 200 RGB   640 1 1  0  0  1100011111 64K
10Fh 320 x 200 RGB   1280 1 1  0  0  1100011111 32 bits per pixel
111h 640 x 480 RGB   1280 1 1  0  0  1100011111 64K
112h 640 x 480 RGB   2560 1 1  0  0  1100011111 32 bits per pixel
114h 800 x 600 RGB   1600 1 1  0  0  1100011111 64K
115h 800 x 600 RGB   3200 1 1  0  0  1100011111 32 bits per pixel
117h 1024 x 768 RGB   2048 1 1  0  0  1100011111 64K
118h 1024 x 768 RGB   4096 1 1  0  0  1100011111 32 bits per pixel
11Ah 1280 x 1024 RGB   2560 1 1  0  0  1100011111 64K
130h 320 x 200 PK   320 1 1  0  0  1100011111 256
131h 320 x 400 PK   320 1 1  0  0  1100011111 256
132h 320 x 400 RGB   640 1 1  0  0  1100011111 64K
133h 320 x 400 RGB   1280 1 1  0  0  1100011111 32 bits per pixel
134h 320 x 240 PK   320 1 1  0  0  1100011111 256
135h 320 x 240 RGB   640 1 1  0  0  1100011111 64K
136h 320 x 240 RGB   1280 1 1  0  0  1100011111 32 bits per pixel
13Dh 640 x 400 RGB   1280 1 1  0  0  1100011111 64K
13Eh 640 x 400 RGB   2560 1 1  0  0  1100011111 32 bits per pixel
145h 1600 x 1200 PK   1600 1 1  0  0  1100011111 256
146h 1600 x 1200 RGB   3200 1 1  0  0  1100011111 64K
147h 1400 x 1050 PK   1400 1 1  0  0  1100011111 256
148h 1400 x 1050 RGB   2800 1 1  0  0  1100011111 64K


Information for mode 0100h - 640x400 8bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        640
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     8
Number of memory blocks                             1
Memory model                                        4
Size of memory blocks                               0


Information for mode 0101h - 640x480 8bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        640
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     8
Number of memory blocks                             1
Memory model                                        4
Size of memory blocks                               0


Information for mode 0102h - 800x600 4bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        100
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 4
Number of bits per screen pixel                     4
Number of memory blocks                             1
Memory model                                        3
Size of memory blocks                               0


Information for mode 0103h - 800x600 8bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        800
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     8
Number of memory blocks                             1
Memory model                                        4
Size of memory blocks                               0


Information for mode 0104h - 1024x768 4bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        128
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 4
Number of bits per screen pixel                     4
Number of memory blocks                             1
Memory model                                        3
Size of memory blocks                               0


Information for mode 0105h - 1024x768 8bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        1024
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     8
Number of memory blocks                             1
Memory model                                        4
Size of memory blocks                               0


Information for mode 0106h - 1280x1024 4bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        160
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 4
Number of bits per screen pixel                     4
Number of memory blocks                             1
Memory model                                        3
Size of memory blocks                               0


Information for mode 0107h - 1280x1024 8bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        1280
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     8
Number of memory blocks                             1
Memory model                                        4
Size of memory blocks                               0


Information for mode 0108h - 80x60 4bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Text
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         32k
Size of the two access windows                      32k
Segment address of first access window              b800h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        160
Width of character matrix in pixels                 8
Height of character matrix in pixels                8
Number of bitplanes                                 1
Number of bits per screen pixel                     4
Number of memory blocks                             1
Memory model                                        0
Size of memory blocks                               0


Information for mode 0109h - 132x25 4bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Text
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         32k
Size of the two access windows                      32k
Segment address of first access window              b800h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        264
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     4
Number of memory blocks                             1
Memory model                                        0
Size of memory blocks                               0


Information for mode 010ah - 132x43 4bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Text
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         32k
Size of the two access windows                      32k
Segment address of first access window              b800h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        264
Width of character matrix in pixels                 8
Height of character matrix in pixels                9
Number of bitplanes                                 1
Number of bits per screen pixel                     4
Number of memory blocks                             1
Memory model                                        0
Size of memory blocks                               0


Information for mode 010bh - 132x50 4bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Text
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         32k
Size of the two access windows                      32k
Segment address of first access window              b800h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        264
Width of character matrix in pixels                 8
Height of character matrix in pixels                8
Number of bitplanes                                 1
Number of bits per screen pixel                     4
Number of memory blocks                             1
Memory model                                        0
Size of memory blocks                               0


Information for mode 010ch - 132x60 4bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Text
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         32k
Size of the two access windows                      32k
Segment address of first access window              b800h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        264
Width of character matrix in pixels                 8
Height of character matrix in pixels                8
Number of bitplanes                                 1
Number of bits per screen pixel                     4
Number of memory blocks                             1
Memory model                                        0
Size of memory blocks                               0


Information for mode 010eh - 320x200 16bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        640
Width of character matrix in pixels                 8
Height of character matrix in pixels                8
Number of bitplanes                                 1
Number of bits per screen pixel                     16
Number of memory blocks                             1
Memory model                                        6
Size of memory blocks                               0


Information for mode 010fh - 320x200 32bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        1280
Width of character matrix in pixels                 8
Height of character matrix in pixels                8
Number of bitplanes                                 1
Number of bits per screen pixel                     32
Number of memory blocks                             1
Memory model                                        6
Size of memory blocks                               0


Information for mode 0111h - 640x480 16bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        1280
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     16
Number of memory blocks                             1
Memory model                                        6
Size of memory blocks                               0


Information for mode 0112h - 640x480 32bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        2560
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     32
Number of memory blocks                             1
Memory model                                        6
Size of memory blocks                               0


Information for mode 0114h - 800x600 16bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        1600
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     16
Number of memory blocks                             1
Memory model                                        6
Size of memory blocks                               0


Information for mode 0115h - 800x600 32bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        3200
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     32
Number of memory blocks                             1
Memory model                                        6
Size of memory blocks                               0


Information for mode 0117h - 1024x768 16bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        2048
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     16
Number of memory blocks                             1
Memory model                                        6
Size of memory blocks                               0


Information for mode 0118h - 1024x768 32bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        4096
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     32
Number of memory blocks                             1
Memory model                                        6
Size of memory blocks                               0


Information for mode 011ah - 1280x1024 16bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        2560
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     16
Number of memory blocks                             1
Memory model                                        6
Size of memory blocks                               0


Information for mode 0130h - 320x200 8bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        320
Width of character matrix in pixels                 8
Height of character matrix in pixels                8
Number of bitplanes                                 1
Number of bits per screen pixel                     8
Number of memory blocks                             1
Memory model                                        4
Size of memory blocks                               0


Information for mode 0131h - 320x400 8bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        320
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     8
Number of memory blocks                             1
Memory model                                        4
Size of memory blocks                               0


Information for mode 0132h - 320x400 16bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        640
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     16
Number of memory blocks                             1
Memory model                                        6
Size of memory blocks                               0


Information for mode 0133h - 320x400 32bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        1280
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     32
Number of memory blocks                             1
Memory model                                        6
Size of memory blocks                               0


Information for mode 0134h - 320x240 8bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        320
Width of character matrix in pixels                 8
Height of character matrix in pixels                8
Number of bitplanes                                 1
Number of bits per screen pixel                     8
Number of memory blocks                             1
Memory model                                        4
Size of memory blocks                               0


Information for mode 0135h - 320x240 16bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        640
Width of character matrix in pixels                 8
Height of character matrix in pixels                8
Number of bitplanes                                 1
Number of bits per screen pixel                     16
Number of memory blocks                             1
Memory model                                        6
Size of memory blocks                               0


Information for mode 0136h - 320x240 32bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        1280
Width of character matrix in pixels                 8
Height of character matrix in pixels                8
Number of bitplanes                                 1
Number of bits per screen pixel                     32
Number of memory blocks                             1
Memory model                                        6
Size of memory blocks                               0


Information for mode 013dh - 640x400 16bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        1280
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     16
Number of memory blocks                             1
Memory model                                        6
Size of memory blocks                               0


Information for mode 013eh - 640x400 32bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        2560
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     32
Number of memory blocks                             1
Memory model                                        6
Size of memory blocks                               0


Information for mode 0145h - 1600x1200 8bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        1600
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     8
Number of memory blocks                             1
Memory model                                        4
Size of memory blocks                               0


Information for mode 0146h - 1600x1200 16bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        3200
Width of character matrix in pixels                 8
Height of character matrix in pixels                16
Number of bitplanes                                 1
Number of bits per screen pixel                     16
Number of memory blocks                             1
Memory model                                        6
Size of memory blocks                               0


Information for mode 0147h - 1400x1050 8bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        1400
Width of character matrix in pixels                 8
Height of character matrix in pixels                14
Number of bitplanes                                 1
Number of bits per screen pixel                     8
Number of memory blocks                             1
Memory model                                        4
Size of memory blocks                               0


Information for mode 0148h - 1400x1050 16bit color
-----------------------------------------------------------------

Can this mode be used with the attached monitor?    Yes
Are the BIOS text functions supported in this mode? Yes
Monochrome or colour?                               Color
Mode type                                           Graphic
Linear Frame Buffer memory model?                   No

Access window information: 
  A Available, Read Access, Write Access
  B Not Available, No Read Access, No Write Access

Granularity                                         64k
Size of the two access windows                      64k
Segment address of first access window              a000h
Segment address of second access window             0000h
bankSwitch far call address                         C000:A6F1
Number of bytes required for each pixel line        2800
Width of character matrix in pixels                 8
Height of character matrix in pixels                14
Number of bitplanes                                 1
Number of bits per screen pixel                     16
Number of memory blocks                             1
Memory model                                        6
Size of memory blocks                               0

-----------------------------------------
y.volta



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: About VBE double buffering
  2008-09-10  0:24 ` About VBE double buffering y.volta
@ 2008-09-10 15:31   ` Vesa Jääskeläinen
  2008-09-14 19:55   ` Colin D Bennett
  1 sibling, 0 replies; 3+ messages in thread
From: Vesa Jääskeläinen @ 2008-09-10 15:31 UTC (permalink / raw)
  To: The development of GRUB 2

y.volta wrote:
>     I noticed that `grub_vbe_bios_set_display_start () which used AX=4F07h INT10h' used in the fancy menu patch. This will use the video buffer to do buffering, but this function will fail on some system, Collin told us in his Journal:
> 
> "However, VMware doesn't seem to support the VBE set display start operation, at least in the video mode that GRUB uses (for the basic video test, which uses indexed color 1024x768 mode). "
> 
>     so, this may have compatible issue. i think, is there any possible, use a non-video-card memory to be the drawing buffer, when done, we copy its contents to video memory? this obviously has performance issue, but has more compatible.

It will have backwards compatibility mode if not available. And before I
will commit any change to support hardware double buffering I will make
sure it works in qemu/vmware/my hardware so do not worry about that one.

>     Furthmore, i suggest, we should implement the bank-switch function in VBE framework, for there are a few system's video card may have no LFB modes. for example, here is a card i meet: ( i gathered 22 cards, it is only one without lfb in each modes; many cards have no lfb in 4 colours mode. )

As I said previously, I have no plan to work with bank switch
functionality. You are however free to do so.

And please state what card you had?

I am pretty surprised that you got vbe3.0 there and no LFB.

Oh... and I pretty much don't care about 4 color modes ;). In my opinion
they shall be unsupported. 256 index color in minimum feasible for any use.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: About VBE double buffering
  2008-09-10  0:24 ` About VBE double buffering y.volta
  2008-09-10 15:31   ` Vesa Jääskeläinen
@ 2008-09-14 19:55   ` Colin D Bennett
  1 sibling, 0 replies; 3+ messages in thread
From: Colin D Bennett @ 2008-09-14 19:55 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 1154 bytes --]

On Wed, 10 Sep 2008 08:24:21 +0800
"y.volta" <y.volta@gmail.com> wrote:

> 
>     I noticed that `grub_vbe_bios_set_display_start () which used
> AX=4F07h INT10h' used in the fancy menu patch. This will use the
> video buffer to do buffering, but this function will fail on some
> system, Collin told us in his Journal:
> 
> "However, VMware doesn't seem to support the VBE set display start
> operation, at least in the video mode that GRUB uses (for the basic
> video test, which uses indexed color 1024x768 mode). "
> 
>     so, this may have compatible issue. i think, is there any
> possible, use a non-video-card memory to be the drawing buffer, when
> done, we copy its contents to video memory? this obviously has
> performance issue, but has more compatible.

Hi,

Actually I have implemented the behavior you describe.  It is called
the 'blit' double buffering strategy, as opposed to the 'page flipping'
strategy that simply changes the display start address.

The gfxmenu detects whether page flipping is supported, and whether
there is enough video memory.  If not, then the blit method is used.

Regards,
Colin

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-14 19:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <48c69f99.1ba67e0a.7caf.3a70SMTPIN_ADDED@mx.google.com>
2008-09-10  0:24 ` About VBE double buffering y.volta
2008-09-10 15:31   ` Vesa Jääskeläinen
2008-09-14 19:55   ` Colin D Bennett

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.