include vflatd.inc
mov dx, VflatD_Begin_Linear_Access ; Function number
call VFlatDApiProcAdr
jc errorhandler
mov AccessCount, eax
Start linear access to the frame buffer. The frame buffer can be accessed via its linear address (by default the frame buffer must be accessed with the default selector). The frame buffer will remain in linear access mode until VflatD_End_Linear_Access is called. This call can be nested.
The access count is incremented each time VflatD_Begin_Linear_Access is called, and is decremented with each call to VflatD_End_Linear_Access. Linear access mode is turned off when the access count is zero.
VflatD_End_Linear_Access