Open eskojones opened 2 months ago
another one would be a designated int code for a pixel buffer graphics draw operation (basically just a "present" op) it might work something like:
r1
= address of pixelsr2
= bits per pixelr3
= num pixels
alternatively used in conjunction with a second interrupt which set the graphics mode, thereby removing the need for r2
and r3
(and maybe even r1
)
for example, an HTTP client that could request like:
r1
= urlr2
= methodr3
= destination in memory of response data and then a result like:r0
= bytes readr10
= 0 on success, 1 on failure