Burst Electronics MCG-2 User Manual
Page 37

36
MCG-2 Micro Character Generator
R
R
R
R
RL R
L R
L R
L R
L REA
EA
EA
EA
EAD LI
D LI
D LI
D LI
D LIN
N
N
N
NE
E
E
E
E
PURPOSE: Reads one line from the MCG-2 memory.
FORMAT: R
R
R
R
RL,p,l
L,p,l
L,p,l
L,p,l
L,p,l
p = Page number 1 through 10
1 = line number 1 through 9
DESCRIPTION: This command reads any line in the MCG-2 memory,
given the page and line number. Results are in ASCII. However, if a
character is displayed in bold (meaning B
B
B
B
BG
G
G
G
G-Background is On) or is
flashing, the corresponding ANSI.SYS codes will also be sent.
Codes are defined as follows:
Function
ANSI code
Bold on
ESC[7m
Flash on
ESC[5m
All attr. off
ESC[0m
Note that ESC is ASCII code 27d.
EXAMPLE: If the string
THIS IS A TEST
is in the MCG-2 memory at
page 1, line 1 and the word
IS
is flashing the sequence read by the
command R
R
R
R
RL,
L,
L,
L,
L,1
1
1
1
1,,,,,1
1
1
1
1 would be:
THIS ESC[5misESC[0m A TEST
followed by a carriage return (13d), and line feed (10d).
If there were no flashing or bolded characters the sequence read would
be
THIS IS A TEST
again followed by a carriage return (13d), and line feed (10d).