include vflatd.inc
mov dl, VflatD_Create_Physical_Frame_Buffer ; Function number
mov dh, Flags ; Must be zero
mov eax, FrameBufBase ; Physical base of frame buffer
mov ecx, FrameBufSize ; Size of frame buffer, in bytes
call VFlatDApiProcAdr
jc errorhandler
mov VideoSelector, ax
mov VideoAddress, edx
Retrieves a GDT selector to a flat video buffer. Uses Flags.