Offset: 56 (&38)
Set up by: you
This is the address of the data to draw on the screen, in this format
r_data format
This block contains the text to be printed on the screen. There should be
sufficient text here to redraw the specified area of the screen (given its
size, the scroll offset, character sizes etc). Terminating each line with the
bytes 0,2 will ensure the redraw doesn't run out of text horizontally and
terminating the line list with a zero will ensure the same vertically. The
value in r_data points to a list of words. The n'th word in the list is the
offset (from the block data start) of the n'th line of text to be printed in
the window. This list can be terminated by a 0 offset in which case all
further lines will be cleared to background colour (r_bac).
The data for each line consists of a string of bytes giving the characters to
print. By character number 'n' I mean the n'th (n starting from 0) bitmap in
your character cache in DSA mode or the character with ASCII code 'n' in VDU
redraw mode. The Redraw module does not limit n to the range 0-255 but also
allows higher values. Currently you can access 0-65535. Of course, ASCII
characters for the codes 0-31 and 256-65535 are not defined. ZapRedraw treats
these specially - see below.
The byte 0 in the data for a line introduces a control code.
Bytes 1-255 just print characters n=1-255 as normal so you will need to use
control codes to access characters > 256.
|
|
|