Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

working in more than 1280*1024 under Dos (Developers)

posted by freecrac, 28.08.2013, 06:29

For to get the capacity of the used CRT-monitor:

          mov      ax, 4F15h           ; DDC - INSTALLATION CHECK
          xor      bl, bl
          int    10h
          cmp      ax, 4Fh
          jnz NODDC

          mov      ax, 4F15h           ; DDC - READ EDID
          mov      bl, 1
          xor      cx, cx
          xor      dx, dx
          mov      di, OFFSET EDID     ; es:di 128 byte
          int    10h
          cmp      ax, 4Fh
          jnz short NODDC

          mov      eax, 0FD000000h     ; Text-identifier V/H range
          mov      bx, 36h
          cmp      eax, [di+bx]        ; di+36h detailed timing #1
          jz  short RANGE
          lea      bx, [bx+12h]        ; alternative/substitute for "add bx,12h"
          cmp      eax, [di+bx]        ; di+48h detailed timing #2
          jz  short RANGE
          lea      bx, [bx+12h]
          cmp      eax, [di+bx]        ; di+5Ah detailed timing #3
          jz  short RANGE
          lea      bx, [bx+12h]
          cmp      eax, [di+bx]        ; di+6Ch detailed timing #4
          jnz short NODDC

RANGE:    mov      al, [di+bx+6]       ; MAXHZ
          mov      dl, [di+bx+8]       ; MAXKHZ


EDID couldn't be readed if a CRT-Monitor is connected via a 5 pol. BNC-Monitor cable.

Public documents from http://www.vesa.org/ (Need register and/or login!)
Registation: https://fs16.formsite.com/VESA/form714826558/secure_index.html

vbe3.pdf
EEDIDguideV1.pdf
EEDIDverifGuideRa.pdf

Dirk

 

Complete thread:

Back to the forum
Board view  Mix view
22762 Postings in 2122 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum