EDID: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content added Content deleted
m (Formating)
m (vm8086 → Virtual 8086 Mode)
Line 1: Line 1:
'''E'''xtended '''D'''isplay '''ID'''entification is data about the monitor, which the monitor provides to the video card. EDID is ''the'' programmatical way to check if a video mode is supported. However, this procedure is rather complex. (See [[Getting VBE Mode Info|VBE]]).
'''E'''xtended '''D'''isplay '''ID'''entification is data about the monitor, which the monitor provides to the video card. EDID is ''the'' programmatical way to check if a video mode is supported. However, this procedure is rather complex. (See [[Getting VBE Mode Info|VBE]].)


== Reading EDID ==
== Reading EDID ==
The first step, is, naturally, to actually get the data. This is done through the BIOS - int 0x10, ax=4F15h, bl=01h.
The first step is, naturally, to actually get the data. This is done through the BIOS - int 0x10, ax=4F15h, bl=01h.
<source lang="asm">
<source lang="asm">
mov ax, 0x4f15
mov ax, 0x4f15
Line 13: Line 13:
;ES:DI contains the EDID
;ES:DI contains the EDID
</source>
</source>
Note that this code will only run in [[Real Mode]] or vm8086.
Note that this code will only run in [[Real Mode]] or [[Virtual 8086 Mode]].


== EDID Data ==
== EDID Data ==

Revision as of 06:29, 1 July 2015

Extended Display IDentification is data about the monitor, which the monitor provides to the video card. EDID is the programmatical way to check if a video mode is supported. However, this procedure is rather complex. (See VBE.)

Reading EDID

The first step is, naturally, to actually get the data. This is done through the BIOS - int 0x10, ax=4F15h, bl=01h.

mov ax, 0x4f15
mov bl, 0x01
mov cx, 0
mov dx, 0
int 0x10
;AL = 0x4F if function supported
;AH = status (0 is success, 1 is fail)
;ES:DI contains the EDID

Note that this code will only run in Real Mode or Virtual 8086 Mode.

EDID Data

This page is a stub.
You can help the wiki by accurately adding more contents to it.