Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

Programming With VESA BIOS Extensions


August 1996/Programming With VESA BIOS Extensions/Figure 1

Figure 1: VESA VBE Function List (INT 10H)

AX=0x4f00    Return VBE Controller Information
AX=0x4f01    Return VBE Mode Information
AX=0x4f02    Set VBE Mode
AX=0x4f03    Return Current VBE Mode
AX=0x4f04    Save/Restore State
               
    DL=0: Return save/restore buffer size
    DL=1: Save state
    DL=2: Restore state

AX=0x4f05    VBE Display Window Control
               
    BH=0: Set memory window
    BH=1:Get memory window

AX=0x4f06    VBE Set/Get Logical Scan
             Line Length
               
    BL=0: Set Scan Line Length  In Pixels
    BL=1: Get Scan Line Length
    BL=2: Set Scan Line Length In Bytes
    BL=3: Get Maximum Scan Line Length

AX=0x4f07    VBE Set/Get Display Start Control

    BL=0: Set Display Start
    BL=1: Get Display Start
    BL=0x80: Set Display Start 
             During Vert.Retrace

AX=0x4f08    VBE Set/Get DAC Palette Format

    BL=0: Set DAC Palette Format
    BL=1: Get DAC Palette Format

AX=0x4f09    Load/Unload Palette Data
             (2.0+ only)

    BL=0: Set Palette Data
    BL=1: Get Palette Data
    BL=2: Get Secondary Palette Data
    BL=3: Set Secondary Palette Data
    BL=0x80: Set Palette Data During Vertical Retrace

AX=0x4f0a    VBE 2.0 Protected Mode Interface
             (2.0+ only)
               
    BL=0: Return Protected Mode Table

VESA VBE Function Status Word (AX)

AH    Result:
      0: success
      1: failure
      2: unsupported in hardware (2.0+ only)
      3: invalid in current video mode
         (2.0+ only)

AL    Support:
      0x4f: function supported in VBE
      Other: function unsupported

Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.