EDID: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Columbus (talk | contribs)
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 ==