home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.whtech.com
/
ftp.whtech.com.tar
/
ftp.whtech.com
/
Geneve
/
9640news
/
CAT14
/
TCHR1X.ARK
< prev
next >
Wrap
Text File
|
2006-10-19
|
11KB
|
221 lines
?
AUTHOR: Karl D. Schuneman
Here is a complete breakdown of the CHARA1 file for TI WRITER. It shows just
where everything is located, how to change characters, and how to use them in
Ex Basic programs.
HEX ASC Hex Description Sector Beg to End
00 0 NUL 00 20 00 00 18 24 24 18 1 06 0D
01 1 SOH 00 20 00 08 18 08 08 1C 1 0E 15
02 2 STX 00 20 00 18 24 08 10 3C 1 16 1D
03 3 ETX 00 20 00 18 24 08 24 18 1 1E 25
04 4 EOT 00 20 00 14 14 1C 04 04 1 26 2D
05 5 ENQ 00 20 00 1C 10 18 04 18 1 2E 35
06 6 ACK 00 20 00 08 10 38 24 18 1 36 3D
07 7 BEL 00 20 00 1C 04 08 10 10 1 3E 45
08 8 BS 00 20 00 18 24 18 24 18 1 46 4D
09 9 HT 00 20 00 18 24 1C 04 08 1 4E 55
0A 10 LF 20 20 38 00 1C 10 1C 10 1 56 5D
0B 11 VT 00 40 00 20 20 38 24 38 1 5E 65
0C 12 FF 00 70 50 70 48 54 1C 14 1 66 6D
0D 13 CR 00 70 40 70 00 1C 10 10 1 6E 75
0E 14 SO 00 20 00 18 24 3C 20 18 1 76 7D
0F 15 SI 00 40 08 14 10 1C 10 10 1 7E 85
10 16 DLE 00 40 40 40 18 24 24 18 1 86 8D
11 17 DC1 00 20 20 20 28 08 08 08 1 8E 95
12 18 DC2 00 40 40 58 24 08 10 3C 1 96 9D
13 19 DC3 00 40 40 58 24 08 24 18 1 9E A5
14 20 DC4 00 40 40 54 14 1C 04 04 1 A6 AD
15 21 NAK 00 40 40 5C 10 18 04 18 1 AE B5
16 22 SYN 00 40 40 48 10 38 24 18 1 B6 BD
17 23 ETB 00 40 40 5C 04 08 10 10 1 BE C5
18 24 CAN 00 40 40 40 18 24 24 18 1 C6 CD
19 25 EM 00 40 40 58 24 1C 04 08 1 CE D5
1A 26 SUB 00 40 40 40 18 24 3C 24 1 D6 DD
1B 27 ESC 00 40 40 50 10 1C 14 1C 1 DE E5
1C 28 FS 00 40 40 40 1C 10 10 1C 1 E6 ED
1D 29 GS 00 40 44 44 04 1C 14 1C 1 ED F5
1E 30 RS 00 70 70 70 70 70 70 70 1 F6 FD
1F 31 US 00 40 4C 50 10 1C 10 10 1 FE 05
20 32 00 00 00 00 00 00 00 00 2 06 0D
21 33 ! 00 10 10 10 10 00 10 00 2 0E 15
22 34 " 00 28 28 28 00 00 00 00 2 16 1D
23 35 # 00 28 7C 28 28 7C 28 00 2 1E 25
24 36 $ 00 38 54 30 18 54 38 00 2 26 2D
25 37 % 00 44 4C 18 30 64 44 00 2 2E 35
26 38 & 00 20 50 20 54 48 34 00 2 36 3D
27 39 ' 00 08 10 20 00 00 00 00 2 3E 45
28 40 ( 00 08 10 10 10 10 08 00 2 46 4D
29 41 ) 00 20 10 10 10 10 20 00 2 4E 55
2A 42 * 00 40 28 7C 28 44 00 00 2 56 5D
2B 43 + 00 10 10 7C 10 10 00 00 2 5E 65
2C 44 , 00 00 00 00 00 30 10 20 2 66 6D
2D 45 - 00 00 00 7C 00 00 00 00 2 6E 75
2E 46 . 00 00 00 00 00 30 30 00 2 76 7D
2F 47 / 00 04 08 10 20 40 00 00 2 7E 85
30 48 0 00 3C 4C 54 64 44 38 00 2 86 8D
31 49 1 00 10 30 10 10 10 38 00 2 8E 95
32 50 2 00 38 44 08 10 20 7C 00 2 96 9D
33 51 3 00 38 44 18 04 44 38 00 2 9E A5
34 52 4 00 08 18 28 48 7C 08 00 2 A6 AD
35 53 5 00 78 40 78 04 44 38 00 2 AE B5
36 54 6 00 38 40 78 44 44 38 00 2 B6 BD
37 55 7 00 7C 04 08 10 20 20 00 2 BE C5
38 56 8 00 38 44 38 44 44 38 00 2 C6 CD
39 57 9 00 38 44 44 3C 04 78 00 2 CE D5
3A 58 : 00 00 30 30 00 30 30 00 2 D6 DD
3B 59 ; 00 00 30 30 00 30 10 20 2 DE E5
3C 60 < 00 00 10 20 40 20 10 00 2 E6 ED
3D 61 = 00 00 00 7C 00 7C 00 00 2 EE F5
3E 62 > 00 00 10 08 04 08 10 00 2 F6 FD
3F 63 ? 00 38 44 08 10 00 10 00 2 FE 05
40 64 @ 00 38 44 45 58 40 3C 00 3 06 0D
41 65 A 00 38 44 44 7C 44 44 00 3 0E 15
42 66 B 00 78 44 78 44 44 78 00 3 16 1D
43 67 C 00 38 44 40 40 44 38 00 3 1E 25
44 68 D 00 78 44 44 44 44 78 00 3 26 2D
45 69 E 00 7C 40 78 40 40 7C 00 3 2E 35
46 70 F 00 7C 40 78 40 40 40 00 3 36 3D
47 71 G 00 38 44 40 4C 44 38 00 3 3E 45
48 72 H 00 44 44 7C 44 44 44 00 3 46 4D
49 73 I 00 38 10 10 10 10 38 00 3 4E 55
4A 74 J 00 04 04 04 04 44 38 00 3 56 5D
4B 75 K 00 44 48 50 70 48 44 00 3 5E 65
4C 76 L 00 04 40 40 40 40 7C 00 3 66 6D
4D 77 M 00 44 6C 54 44 44 44 00 3 6E 75
4E 78 N 00 44 64 54 54 4C 44 00 3 76 7D
4F 79 O 00 7C 44 44 44 44 7C 00 3 7E 85
50 80 P 00 78 44 44 78 40 40 00 3 86 8D
51 81 Q 00 38 44 44 54 4C 3C 00 3 8E 95
52 82 R 00 78 44 44 78 48 44 00 3 96 9D
53 83 S 00 38 44 30 08 44 38 00 3 9E A5
54 84 T 00 7C 10 10 10 10 10 00 3 A6 AD
55 85 U 00 44 44 44 44 44 38 00 3 AE B5
56 86 V 00 44 44 44 44 28 10 00 3 B6 BD
57 87 W 00 44 44 44 54 54 28 00 3 BE C5
58 88 X 00 44 28 10 10 28 44 00 3 C6 CD
59 89 Y 00 44 44 28 10 10 10 00 3 CE D5
5A 90 Z 00 7C 08 10 20 40 7C 00 3 D6 DD
5B 91 [ 00 38 20 20 20 20 38 00 3 DE E5
5C 92 \ 00 00 40 20 10 08 04 00 3 E6 ED
5D 93 ] 00 38 08 08 08 08 38 00 3 EE F5
5E 94 ^ 00 01 28 44 00 00 00 00 3 F6 FD
5F 95 _ 00 00 00 00 00 00 7C 00 3 FE 05
60 96 ` 00 20 10 08 00 00 00 00 4 06 0D
61 97 a 00 00 00 38 48 48 3C 00 4 0E 15
62 98 b 00 20 20 38 24 24 38 00 4 16 1D
63 99 c 00 00 00 1C 20 20 1C 00 4 1E 25
64 100 d 00 04 04 1C 24 24 1C 00 4 26 2D
65 101 e 00 00 00 1C 28 30 1C 00 4 2E 35
66 102 f 00 0C 10 38 10 10 10 00 4 36 3D
67 103 g 00 00 00 1C 24 1C 04 38 4 3E 45
68 104 h 00 20 20 38 24 24 24 00 4 46 4D
69 105 i 00 10 00 30 10 10 38 00 4 4E 55
6A 106 j 00 08 00 08 08 08 48 30 4 56 5D
6B 107 k 00 20 20 24 38 28 24 00 4 5E 65
6C 108 l 00 30 10 10 10 10 38 00 4 66 6D
6D 109 m 00 00 00 78 54 54 54 00 4 6E 75
6E 110 n 00 00 00 38 24 24 24 00 4 76 7D
6F 111 o 00 00 00 18 24 24 18 00 4 7E 85
70 112 p 00 00 00 38 24 38 20 20 4 86 8D
71 113 q 00 00 00 1C 24 1C 04 04 4 8E 95
72 114 r 00 00 00 28 34 20 20 00 4 96 9D
73 115 s 00 00 00 1C 30 0C 38 00 4 9E A5
74 116 t 00 10 10 38 10 10 0C 00 4 A6 AD
75 117 u 00 00 00 24 24 24 1C 00 4 AE B5
76 118 v 00 00 00 44 28 28 10 00 4 B6 BD
77 119 w 00 00 00 44 54 54 28 00 4 BE C5
78 120 x 00 00 00 24 18 18 24 00 4 C6 CD
79 121 y 00 00 00 24 24 1C 04 38 4 CE D5
7A 122 z 00 00 00 3C 08 10 3C 00 4 D6 DD
7B 123 { 00 0C 10 10 20 10 10 0C 4 DE E5
7C 124 00 10 10 10 00 10 10 10 4 E6 ED
7D 125 } 00 60 10 10 08 10 10 60 4 EE F5
7E 126 ~ 00 00 20 54 08 00 00 00 4 F6 FD
7F 127 00 00 00 00 00 00 00 00 4 FE 05
TO
FF 255 00 00 00 00 00 00 00 00 8 F6 FD
The above is a complete description of the TI-WRITER character set in HEX.
Bits 0 to 05 contain informtion loading the memory image file. Bits 06 to the
end of the 8th sector is the complete character set. Lets take one of the
descriptions and see how to change or use this character set in a Exbasic
program.
4A 74 J 00 04 04 04 04 44 38 00
HEX DEC BIN
00 = 00 = 00000000
04 = 04 = 00000100
04 = 04 = 00000100
04 = 04 = 00000100
04 = 04 = 00000100
44 = 68 = 01000100
38 = 56 = 00111000
00 = 00 = 00000000
See how the 1's form the character. These numbers can also be useful defining
new characters in Basic or Extened Basic. Let's use the same charater in a
Basic program.
100 CALL CHAR(74,"0004040404443800")
TRY THIS PROGRAM
100 PRINT "J"
110 CALL CHAR(74,"0004040404443800")
120 PRINT "J"
130 GOTO 120
Now every time "J" is printed on the screen it will look just like does in
TI-WRITER. We can also redefine the character "J" to be any thing you want in
TI-WRITER. The description for "J" is in the 3rd sector of CHARA1 starting bit
66 to 6D. Now we know where to find it we can change it.
6 7 8 9 A B C D
NOW 60 00 04 04 04 04 44 38 00
to
THIS 60 30 30 3F FF FE 7C 18 0C
100 PRINT "JJJJJ"
110 CALL CHAR(74,"30303FFFFE7C180C")
120 PRINT "J"
130 GOTO 120
Now every time you print a "J" on the screen you will get a Texas Instruments
symbol on the screen. You could do the same with the cursor which is the 1st
sector of the file CHARA1 and the bit location is F6 to FD and you get the TI
symbol for a cursor.
This maybe print and copy but please put credit where credit is due
Karl D. Schuneman
Download complete. Turn off Capture File.