The LazyBoy Library Manual - GetTextAttr

Part of the CRT group.

%imacro GetTextAttr 1
Prefers: 8-bit register

Return the current color attributes used for displayed text.

Examples:

    GetTextAttr  cl          ; return current TextAttr as CL
    GetTextAttr  [di]        ; store current TextAttr at [DS:DI]

See also: TextAttr, TextColor and TextBackground.