This function returns the attributes of the specified cursor. It is useful for saving the current cursor state before a change. If the page # p is invalid for the current video mode, p = 0 is used. The cursor coordinates (r,c) are fetched from the RAM variable CURCOOR using p as an index. The cursor size is fetched from the RAM Variable CURTYPE. Note that the cursor size is not necessarily the same value stored in the hardware. See Int 10h, Fcn 01h on page 3-65 for details.