Chameleon-AVR Nurve Networks, Chameleon-AVR Datasheet - Page 266

MCU, MPU & DSP Development Tools AVR8 & PROPELLER DEV SYSTEM (SBC)

Chameleon-AVR

Manufacturer Part Number
Chameleon-AVR
Description
MCU, MPU & DSP Development Tools AVR8 & PROPELLER DEV SYSTEM (SBC)
Manufacturer
Nurve Networks
Datasheet

Specifications of Chameleon-AVR

Processor To Be Evaluated
AVR 328P
Data Bus Width
8 bit
Interface Type
USB, VGA, PS/2, I2C, ISP, SPI
Operating Supply Voltage
3.3 V, 5 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Appendix J: ANSI Terminal Codes
This appendix lists some of the more popular ANSI X3.64 terminal codes used to control graphically terminals and make
really cool graphics on 8-bit computers! The majority of ANSI codes start off with the ANSI escape sequence which is the
characters ESC (ASCII decimal 27 / hex 0x1B) and [ (left bracket), in other words:
Where “ESC” is actually the decimal value 27. This sequence is called CSI for Control Sequence Introducer (or Control
Sequence Initiator). There is a single-character CSI value = 155 or 0x9B hexl. The “ESC [ “ two-character sequence is
more often used than the single-character alternatives. Devices supporting only ASCII (7-bits), or which implement 8-bit
code pages which use the 0x80–0x9F control character range for other purposes will recognize only the two-character
sequence. Though some encodings use multiple bytes per character, in this topic all characters are single-byte. You can
run a terminal program on the PC in ANSI mode and then send these commands to it from the Chameleon.
CSI n A
CSI n B
CSI n C
CSI n D
CSI n E
CSI n F
CSI n G
CSI n ; m H
CSI n J
CSI n K
CSI n S
CSI n T
CSI n ; m f
CSI n [;k] m
CSI 6 n
CSI s
CSI u
CSI ?25l
CSI ?25h
Intensity 0
Normal
Bright
Color Table for Select Graphics Rendition “SGR” Commands
Code
“ESC [ “
Black Red
Black Red Green Yellow
1
CUU
CUD
CUF
CUB
CNL
CPL
CHA
CUP
ED
EL
SU
SD
HVP
SGR
DSR
SCP
RCP
DECTC
EM
DECTC
EM
Name
2
Green Yellow[5]
Moves the cursor n (default 1) cells in the given direction. If the cursor is already at the edge of
the screen, this has no effect.
CUU: Up; CUD: Down; CUF: Forward; CUB: Back;
Moves cursor to beginning of the line n (default 1) lines down (next line).
Moves cursor to beginning of the line n (default 1) lines up (previous line).
Moves the cursor to column n.
Moves the cursor to row n, column m. The values are 1-based, and default to 1 (top left corner)
if omitted. A sequence such as CSI ;5H is a synonym for CSI 1;5H as well as CSI 17;H is the
same as CSI 17H and CSI 17;1H
Clears part of the screen. If n is zero (or missing), clear from cursor to end of screen. If n is one,
clear from cursor to beginning of the screen. If n is two, clear entire screen (and moves cursor
to upper left on MS-DOS ANSI.SYS).
Erases part of the line. If n is zero (or missing), clear from cursor to the end of the line. If n is
one, clear from cursor to beginning of the line. If n is two, clear entire line. Cursor position does
not change.
Scroll whole page up by n (default 1) lines. New lines are added at the bottom. (not ANSI.SYS)
Scroll whole page down by n (default 1) lines. New lines are added at the top. (not ANSI.SYS)
Moves the cursor to row n, column m. Both default to 1 if omitted. Same as CUP
Sets SGR (Select Graphic Rendition) parameters. After CSI can be zero or more parameters
separated with ;. With no parameters, CSI m is treated as CSI 0 m (reset / normal), which is
typical of most of the ANSI codes.
Reports the cursor position to the application as (as though typed at the keyboard) ESC[n;mR,
where n is the row and m is the column. (May not work on MS-DOS.)
Saves the cursor position.
Restores the cursor position.
Hides the cursor.
Shows the cursor.
3
4
Blue Magenta
Blue
5
Magenta Cyan White
ANSI Codes (Most Popular)
6
Cyan White reset
7
9
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon AVR 8-Bit”
Effect
266

Related parts for Chameleon-AVR