HGET

HGET (sx,sy)-(ex,ey),buffer
Stores a rectangle that is on the high-resolution graphics screen into a buffer previously set up by the HBUFF command for future use by the HPUT command.
sx,sy First corner of rectangle
ex,ey Opposite corner of rectangle
buffer Number of buffer

HGET (21,32)-(28,37),1

POSSIBLE IMPROVEMENTS

Calculate HBUFF automatically from mode and size of rectangle requested.

Merge with GET command to manage buffers on all screen types.

Automatically optimize to amount of bytes needed for faster GET/PUT operations.

RTS

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies