A discussion with RevTech identified the fact that VIDEO.RW is actually not a subroutine but a function and returns a value reflecting the success of the last operation. Thus far, the following codes have been identified (where calling syntax is RESULT = VIDEO.RW(X1, Y1, X2, Y2, ACTION, IMAGE))
Code Meaning
0 OK
1 Out of memory during read attempt
2 Display not memory mapped (historical from Generic Rev days)
3 X1/X2/Y1/Y2 too small, X2/Y2 too big
4 X1/Y1 too big
5 Invalid ACTION
6 IMAGE doesn't fit (too big/small)
(Volume 2, Issue 7, Page 7)