This file explains how to compile and link programs using EOUE, 
how to make a Japanese string-resource file for such programs, 
and it provides a check-list for programming with EOUE.

The best way to get familiar with this library is to start with
CMDLDEMO.C and to modify the lines a bit. Call it your own. 
Use plot() or linedel(), modify the palette a bit and restore it.


(1) Compiling and linking EOUE programs

 The following are instructions on how to build the two sample
 programs under the Borland C++ 3.1 IDE.

 (1.1) building from library source

 Open a new project (model large) named DEMO.PRJ, containing the 
 following files:
 
  VGA.C          ROMAKANA.C  
  DOSALLOC.C     CONVERT.C  
  LOADFONT.C     WRCHAR.C  
  EMSALLOC.C     INITEXIT.C                            
  
 Add either DEMO.C or CMDLDEMO.C, but not both. Then do a 'build all'.

 For your own programs, add all files of the above list to your
 project, except DEMO.C and CMDLDEMO.C - then build.

 (1.2) building using the pre-compiled library

 Open a new project, add EOUE.LIB to it, add your own source
 and build.
  

(2) Japanese string-resources for your program

 The distribution includes JIS2C. This program reads an existing 
 file in old-JIS format and generates the text file JIS2C.OUT, 
 containing all Japanese characters that were encountered in the 
 form of a C-array definition. The elements of the array are 
 either JIS, 0h indicating a line break or JIS/ASCII transition,
 or FFFFh for the last array element.

 Copy and paste the array definition into your application, and
 set the global pointer variable 'jtext' to point to the array.
 Subsequently, use 'jprint(..)' or its equivalent 'tategaki(..)' 
 to print Japanese character strings from the resource array by
 giving an index number as argument.
 
 See the demonstration program DEMO.C for more information.


(3) When using EOUE...

 - Include EOUE.H. 
 
 - Make sure the compiler sees EOUE.H, and the linker EOUE.LIB

 - Re-assign jtext to point to j_resource[] if using string resources.
 
 - Call 'eoue_init (1)' at beginning of program if you plan to use
   the scrolling functions. If not, call 'eoue_init (0).
 
 - Call 'eoue_exit ()' just before main() terminates.
 
 - Don't use the global variable names x,y and c since they are used
   by various EOUE functions internally. Look at EOUE.H to avoid other,
   possible collisions with globally declared variables.
 
 - make sure KANA.16 and JOYO.16 are in a 'visible' directory

 - when using  cmdl_out(...)  make sure that either the ASCII string
   or the Japanese string are set to NULL.










