cReader 1.1 - Rex 6000 Chinese reader

Copyright 2004 Jian Ren

cReader is free software under the terms of the GNU General
Public License.  See the end of this file, and the file 
GPL.txt, for further explanation.

What's new
------------
The biggest change is, other than version 1.0, this version makes use of the unused space of more than 100 pages but not the 19 full empty pages. So adder and other addins using empty pages could work with it. But the displaying is a little slower because it has to locate the Chinese BMP in more than 100 pages. Please see the attached list for the page and address used by Chinese BMPs. If you still got any addin uses the same address, let me know and I will modify it.

Another fix is the knowning 1.0 end of Memo bug(When it reaches the end of memo, the index messed up).


Introduction
------------
cReader displays Chinese memos on your Rex6000 screen. 
It uses a 12X12 GB2312 Chinese character font library.
cReader could also display and wrap English memos.
cReader doesn't use the memo line index table in Rex to wrap the
memo because it couldn't work for Chinese. It uses an unused column
in the memo table to store the bookmark.


A.  Installation
----------------

1.  Unzip the file cReader.zip to a temporary directory on
your PC.  It contains the following files:

ReadMe.txt 		- this text file
cReader.rex		- cReader addin
GPL.txt			- GNU General Public License text file
REX.BIN			- The firmware contains the font library(1.1.2.7)
HZK.BIN			- The font library in S record format.

cReader.c		- The source code
cReader.bmp		- The addin icon
cReader.txt		- The file used by rexdk
make.bat		- The make file to build under rexdk
    
2.  Backup the important data in your Rex, make sure the version of your
    firmware is 1.1.2.7. (Go to main/controls/about)
3.  Copy the REX.BIN to your Rextools directory. Run RexTools, 
    select Tools/Firmware update. It takes about 20 minutes to finish
    the updating.
4.  Load cReader.rex as an addin into your rex with Rextools.
5.  Load Chinese memos(GB2312) and run cReader.


B.  Known issues
----------------
    If you applied calendar and dock patches, you would have to redo them.

    If you got a patched firmware which is not 1.1.2.7, you can 
    insert the HZK.BIN into your firmware then do an updating. The
    place to insert HZK.bin should be right before the last S9 record
    in your firmware BIN file. You also need to modify the first 4 bytes
    of the file to include the length of HZK.bin.

cReader is offered "as-is". No warranty is expressed or implied. 

If you wish to contact me with problems or suggestions, use:  
ridgeren@yahoo.com


Jian Ren


Pages and the starting address which contain the Chinese BMP:

PgNo	Address
0x0	n/a
0x1	n/a
0x2	n/a
0x3	n/a
0x4	0x1CF4
0x5	0x105C
0x6	0x117A
0x7	0x1D76
0x8	0x1556
0x9	0x18FE
0xA	0x1B54
0xB	0x168E
0xC	0x1EC8
0xD	0x1F7E
0xE	0x1F16
0xF	0x1E12
0x10	0x1CDA
0x11	0xBCA
0x12	0x1452
0x13	0x1E46
0x14	0xE20
0x15	0x7D4
0x16	0x139C
0x17	0x1BA2
0x18	0x1EFC
0x19	0x5E6
0x1A	n/a
0x1B	n/a
0x1C	n/a
0x1D	0x1674
0x1E	0x19CE
0x1F	n/a
0x20	0xFF4
0x21	0x14A0
0x22	0x926
0x23	0x1D76
0x24	0x1D42
0x25	n/a
0x26	0x1710
0x27	0x1932
0x28	0x187C
0x29	0x11AE
0x2A	0x1DF8
0x2B	0x1D90
0x2C	0x194C
0x2D	0x30E
0x2E	0x90C
0x2F	n/a
0x30	n/a
0x31	n/a
0x32	n/a
0x33	n/a
0x34	n/a
0x35	n/a
0x36	n/a
0x37	n/a
0x38	0x1A50
0x39	0x1D90
0x3A	n/a
0x3B	0x1F16
0x3C	0x1EFC
0x3D	n/a
0x3E	0x1792
0x3F	0x1DAA
0x40	0x19CE
0x41	0x1B88
0x42	0x1DF8
0x43	n/a
0x44	n/a
0x45	0x1EE2
0x46	0x172A
0x47	0x1404
0x48	0x1F30
0x49	0x1EFC
0x4A	0x3F8
0x4B	0x18B0
0x4C	0x17AC
0x4D	n/a
0x4E	0x14BA
0x4F	0x1D42
0x50	0x1C72
0x51	n/a
0x52	0x153C
0x53	0x1932
0x54	0x1848
0x55	0x17C6
0x56	0x11E2
0x57	0x1B88
0x58	0x1AB8
0x59	0x1E12
0x5A	0x1F7E
0x5B	0x14BA
0x5C	n/a
0x5D	0x16DC
0x5E	0xB62
0x5F	0x1C3E
0x60	0x1B06
0x61	0x146C
0x62	0x6A
0x63	0x494
0x64	0x1264
0x65	0x131A
0x66	n/a
0x67	0x1EE2
0x68	0x1C3E
0x69	0x1E2C
0x6A	0x15A4
0x6B	0x1194
0x6C	0xE54
0x6D	n/a
0x6E	0x1F98
0x6F	0xFC0
0x70	0x15F2
0x71	0x13EA
0x72	0x1966
0x73	0x18B0
0x74	0x1EC8
0x75	0x10AA
0x76	0xA92
0x77	0xB7C
0x78	0x1814
0x79	0x1814
0x7A	0x1404
0x7B	0x530
0x7C	n/a
0x7D	n/a
0x7E	n/a
0x7F	0x1EE2

;
; This file is part of cReader.
;
; cReader is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 2 of the License, or
; (at your option) any later version.  
;
; cReader is distributed in the hope that it will be useful, but 
; WITHOUT ANY WARRANTY; without even the implied warranty of 
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
; GNU General Public License for more details. 
;
; You should have received a copy of the GNU General Public License 
; along with cReader; if not, write to the Free Software Foundation, Inc.,
; 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
;
