972
edits
[unchecked revision] | [unchecked revision] |
No edit summary |
m (Bot: Replace deprecated source tag with syntaxhighlight) |
||
Line 3:
== Reading EDID ==
The first step is, naturally, to actually get the data. This is done through the BIOS - INT 0x10, AX=4F15h, BL=01h, CX = Controller Unit, DX = EDID block, ES:DI = 128-Byte Buffer.
<
mov ax, 0x4f15
mov bl, 0x01
Line 12:
;AH = status (0 is success, 1 is fail)
;ES:DI contains the EDID
</syntaxhighlight>
Note that this code will only run in [[Real Mode]] or [[Virtual 8086 Mode]].
|