VflatD_Query


include vflatd.inc

mov   dx, VflatD_Query          ; Function number
call  VFlatDApiProcAdr
jz    errorhandler
mov   VerNum, eax
mov   FrameBufSelector, ebx
mov   FrameBufSize, ecx
mov   FrameBufBase, edx

Retrieves the VFLATD version number and other information. Uses Flags.

EAX

VFLATD version

EBX

GDT selector to the frame buffer

ECX

Size of frame buffer

EDX

Linear base of frame buffer. (if linear mode)