The LazyBoy Library Manual - WindowSave

Part of the CRT group.

%imacro WindowSave 1
Prefers: ES:DI

Save the contents of the current window to a memory location. Use the WindowSize macro to ensure the contents will not require more space than available in the memory buffer. This does not save the cursor postion, shape or visibilty. It only saves the text and color attributes of the window contents.

Example:

    WindowSave  es:di      ; Save the window to memory location es:di
    WindowSave  bx         ; Save the window to memory location ds:bx
    WindowSave  ORG_SCRN   ; Save the window to memory location cs:ORG_SCRN

See also: WindowSize, WindowLoad and Window.