Did the screen change?
amiga_region_changedDetects whether a screen, window, or rectangle changed by comparing checksums, so you can poll cheaply without transferring a screenshot.
Instructions
Tell whether the screen, a window or a rectangle has changed, without sending a picture: the Amiga works out a checksum. Call once without 'since' (answers 'first look' and a checksum), then later with that checksum as 'since' (answers 'changed' or 'unchanged' and the new checksum). Cheap polling when a screenshot would be too big; to block until a change use amiga_wait with what=change. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | the checksum from an earlier call | |
| region | No | only this rectangle | |
| window | No | only this window (part of its title) |