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.
Flags
Options flags. Currently, no flags are defined; this parameter must be zero.
FrameBufBase
Physical base of frame buffer. The physical base is the address of the frame buffer in physical memory.
FrameBufSize
Size of frame buffer, in bytes.