home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.whtech.com
/
ftp.whtech.com.tar
/
ftp.whtech.com
/
club100
/
ref
/
rvideo.doc
< prev
next >
Wrap
Text File
|
2006-10-19
|
1KB
|
39 lines
CREATING A REVERSE VIDEO EFFECT
ON THE LCD OF A MODEL 100, 102 OR 200
by Richard Hanson
22-Feb-88
The LCD (liquid cristal display) of the model 100 is composed of 15,360 little
square pixels that have two stable states, i.e., on & off. The character set
is composed of a 6 wide by 8 high grid of square of these pixels. To see the
entire grid for one character do a GRAPH X, then do a CODE C to see a reverse
video affect, the normal appearience of character #171, decimal.
In TEXT mode the characters you generate can only be seen in their "normal"
mode, but in BASIC you can display these same characters in a "reverse" mode.
Create the reverse affect by generating an ESC p before a printed string, and
off by generating an ESC q right after the printed string.
esc = chr$(27)
esc p turns the reverse affect on
esc q turns the normal affect on
Example:
10 r$=chr$(27)
20 n$=chr$(27)
30 print r$"p TITLE "n$"q"
The word TITLE in the above example will appear in reverse video when you
run this little program. The space before and after the word makes it look
better in most cases... a matter of style!
These instructions are off-the-head, and I'm sure there are other ways to
accomplish the same tasks -- feedback is welcome.
<END>