The LazyBoy Library Manual - CRT_GetCharAttr

Part of the CRT group.

%imacro CRT_GetCharAttr 1
Prefers: AX

Mostly for internal usage.

Returns the current Text/Attribute of the character at the current cursor position from the display. The cursor does not move.

Example:

    CRT_GetCharAttr bx      ; returns bl=character, bh=color attributes