Function 61 - get parameters for the direct graphics access.

The data of the graphics screen (the memory area which displays screen contents) are accessible to a program directly, without any system calls, through the selector gs:
	mov	eax, [gs:0]
places in eax the first dword of the buffer, which contains information on color of the left upper point (and, possibly, colors of several following).
	mov	[gs:0], eax
by work in VESA modes with LFB sets color of the left upper point (and, possibly, colors of several following). To interpret the data of graphics screen program needs to know some parameters, returning by this function.
Remarks:

Screen resolution

Parameters: Returned value: Remarks:

Number of bits per pixel

Parameters: Returned value:

Number of bytes per scanline

Parameters: Returned value: