Product specifications
The byte following the RST 10 is made up in the following way:
RST 10 Control byte – Bit Format
7 6 5 4 3 2 1 0
1 0 C
Where bit 5 indicates that the routine should continue to interpret data after this
instruction. n is the number of bytes in the string.
Virtual Screen and RST 10
The format for the virtual screen RST 10 instruction byte is:
RST 10 Control byte – Bit Format
7 6 5 4 3 2 1 0
0 1 c * cls
Where c is the continuation bit, n the virtual screen to be selected and cls gives the
option to clear the screen.
* = don’t care. (It can assume any value and has no operational effect when used in
this mode).
One Byte Screen Write
This RST 10 call allows the transfer of single bytes to the screen.
Its format is:
RST 10 Control byte – Bit Format
7 6 5 4 3 2 1 0
0 0 c * * * * *
Where c is the continuation bit
* = don’t care. (it can assume any value and has no operational effect when used in
this mode).
The following is an example using RST 10 and CALL £79, keyboard input.
START: CALL £79
JR Z,START
LD C,A
LD B,0
RST 10
DB 192
CP 13
JR NZ,START
RET