Set image

Sets whole image on the screen.

Parameters

A1 [in,1u]
Device: screen - 5
A2 [in,1u]
Message type - 7
A3 [out,1b]
Whether image writing succeeded
AY [in,4u(addr)->4u(XRGB)[width*height]]
Address of the image

Description

To draw in the graphic mode on the screen, you need to fill in the array of [4u(XRGB)[width*height]]] values in memory with pixel colors and call this message. Width and height are coordinates of the current screen resolution.