home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 2 / DATAFILE_PDCD2.iso / utilities / chinese / !FlashCard_ReadMe10 < prev    next >
Encoding:
Text File  |  1993-11-20  |  9.5 KB  |  213 lines

  1.                       
  2. _____________________________________________________________________________
  3.  
  4.                         Chinese for the Archimedes
  5. _____________________________________________________________________________
  6.  
  7.         I'm not sure if there are any other Acorn users out there with an
  8. interest in Chinese but this is one way to find out. I started learning 
  9. Mandarin this year and was disappointed to find that there were plenty of
  10. programs for PCs (word processors, readers, tuition programs etc.) but
  11. nothing at all for RiscOs. So I decided to write something myself and
  12. 'FlashCard' is the result of my first attempts at Chinese programming.
  13.  
  14.         It is a simple program to display Chinese characters in either
  15. simplified (Jianti) or traditional (Fanti) form from standard 'card' files.
  16. These also contain the 'pin-yin' pronunciation for the characters and the
  17. English translations. It is intended mainly as an aid to recognising the
  18. characters. Some sample card files based on the book 'A Practical Chinese
  19. Reader' have been included which were written by Steve Simpson
  20. (simpson@math.psu.edu) of Pennsylvania State University. He kindly gave me
  21. his permission to include them. He has also written a flashcard program in
  22. 'Turbo C' which is available from his own ftp site in /Simpson/Chinese and 
  23. from the main Chinese ftp sites ifcss.org and ftp.edu.tw. The code for 
  24. this and other programs on the internet was my main source of education in
  25. Chinese computing. 
  26.  
  27.         The program accesses the character bitmap files using the HBF 
  28. (Hanzi Bitmap Font) standard. The hbf header files provide the information
  29. necessary to locate the right character amongst the many thousand  stored
  30. bitmaps from the gb or big5 encoding. You can use alternative font files, if
  31. you want, just by  using the appropriate HBF headers and changing the font
  32. paths in the !boot file. The program uses the HBF interfacing code written
  33. by Ross Paterson (rap@doc.ic.ac.uk). Thanks to him also. The fonts used were
  34. obtained from  ifcss.org and there are many more available there.
  35.  
  36. STOP PRESS:
  37.  
  38. Sorry - In fact you can't use different chinese fonts. The next version will
  39. definately have this option.
  40.  
  41. The Files Included Are:
  42.  
  43. !Flash Application 
  44.         !boot
  45.         !run
  46.         !Runimage
  47.         README
  48. PCR - Practical Chinese Reader card files (by Stephen Simpson).
  49.         Hopefully more will be include in future releases.
  50. Fonts
  51.         cclib24hbf - HBF header for cclib bitmaps
  52.         kcm24hbf - HBF header for kcchin bitmaps
  53.         cclib.24 - 24x24 Jianti Bitmap File (guobiao)
  54.         kcchin24.f00 - 24x24 Fanti Bitmap File (big5)
  55.  
  56.  
  57.  Using FlashCard
  58. _________________
  59.  
  60. Flashcard is a RISCOS program and runs from the desktop. It works best in 
  61. high resolution modes such as 28 and 31. I have a VGA monitor but it  should
  62. also be OK with multisyncs. With poorer monitors or mode 12, the  characters
  63. are liable to look really dire. I hope to include anti-aliased  characters
  64. once I get to grips with OS_SpriteOp 53 and read up on colourtrans. Wimp
  65. programming is damned hard work, that's for sure. Even using 'Desklib'
  66. (thanks to the originators of that, too. Is there going to be a new
  67. release?) most of the man hours on FlashCard were spent struggling with
  68. submenus which  wouldn't appear (nobody told me you don't include the '>' in
  69. menu strings if you want the submenu to open automatically. All I was
  70. getting were menuwarning messages) and events which disappeared into the
  71. void without being handled. Rant! Rant! But it's all working now. (Ha! that's
  72. what you think! signed: THE WIMP).
  73.  
  74. Where was I. Yes, using FlashCard. Offhand, I don't think there's too much
  75. that can go wrong.
  76.  
  77. Ensure that you have the correct locations for the HBF files set in the boot
  78. file. I use the variable <ChineseFonts$Path> where this is the directory
  79. !Flashcard.^.fonts. There are also paths in the HBF files for the bitmap
  80. locations.
  81.  
  82. To start up, double click on the application (surprise, surprise) and drag 
  83. a card file to the icon. There are 4 items on the menu - Duck a l'orange,
  84. truite aux amandes ... No, sorry! They are:
  85.  
  86.         Characters - choose traditional or simplified (default).
  87.  
  88.         Options - Set order of display (pinyin etc). 
  89.                         The latter isn't implemented yet 
  90.                         because I'm too lazy and I've got a PhD to
  91.                         do in my spare time :-).
  92.  
  93.         Random - Display cards in a random order.
  94.                         Just in case you are learning the cards
  95.                         by order rather than by recognition.
  96.  
  97.         Auto - Not Implemented.(See above at 'Options');
  98.  
  99. Clicking 'show' will display the pinyin and translation and clicking again
  100. will 'show' the next character sequence.
  101.  
  102. The arrows cycle through the characters in the file in order (even with 
  103. random on). New card files can be dragged to the window, replacing the 
  104. previous ones. The files are all stored in memory and extra large ones may
  105. need a larger wimpslot and take a couple of seconds to load while things are
  106. sorted out. The program continually gobbled up lot's of memory in it's
  107. infancy but I suspect it's grown out of that now.
  108.  
  109. (If and) when your ability improves, I would recommend joining some of the
  110. card files supplied together (in !Edit) to make larger ones and give a 
  111. bigger selection. If you want to use your own files, then it's best to have
  112. them in the same format - ie with tab (Hex09) characters separating big5,
  113. guobiao, piyin and English. Comment lines must start with a '#'. The big5
  114. and guobiao (simplified and traditional) codes can be separated by spaces
  115. but to be safe, stick to the above. Corrupt files *shouldn't* crash the
  116. program but they won't work very well and it may complain - bitterly.
  117.  
  118. If you want to use larger card files you may have to alter the size of the
  119. templates to hold the pinyin and English. Up to ten chinese characters can
  120. be displayed (it would be easy to include more but it would hardly be a
  121. flashcard then, would it ? :-)). Don't alter the sprite which is used for
  122. the characters icon. 
  123.  
  124. Only 24x24 Chinese bitmaps are supported at present.
  125.  
  126. If you want to change the size of the fonts used then you can alter this in
  127. the templates as well (Use TemplEd - available from a good pd stockist near
  128. you).
  129.  
  130. Er. That's about it. Hope you like it.
  131. _____________________________________________________________________________
  132.  
  133. NOW FOR THE NASTY BIT.
  134.  
  135. You are licensed to use this program for thirty days. If after this time
  136. you find it useful and would like to keep using it, ....................
  137.  
  138.  
  139. .......... , then you can keep it as long as you want. Ha! Had you going
  140. there for a second :-). However if you *really* feel that I should be 
  141. rewarded for my efforts (After all I did spend ages making stupid mistakes 
  142. while writing this program ... and student grants aren't what they used to
  143. be, *sigh*) then don't send me any money 'cos I don't deserve it. Give  a
  144. fiver (or equivalent - after all it's a big world) to Oxfam or  Greenpeace
  145. or something instead. At least they'll spend it on something useful other
  146. than beer.
  147.  
  148.  
  149. But seriously :-|, I think there are far too many people writing Shareware
  150. programs which are REALLY rubbish. I was shown one (for DOS) recently which
  151. removed the [0d]'s from text files. Now that's really pathetic!. It's all
  152. very well if you've spent ages making a super professional job and lovingly
  153. crafted a wonderful program which actually does something useful. Then it's
  154. only fair that people who use your software should give you somthing in
  155. return. But those who write useless gimmick programs in the hope of making a
  156. fast buck are just chancers (as we say here in Glasgow) :-(.
  157.  
  158. Even More Seriously:
  159. *****************************************************************************
  160. FlashCard Version 1.00 is Freeware.
  161.  
  162. It may not be distributed for profit of any kind. 
  163.  
  164. It may be freely distributed through non-commercial ftp sites on the
  165. internet, provided all files - including this one - are supplied unchanged
  166. (apart from the bitmap and HBF files which to the best of my knowledge - and
  167. the folks at ifcss.org - are public domain).
  168.  
  169. Individuals are free to distribute copies but it may not be distributed by 
  170. any profit-making organisation or any organisation which also deals in 
  171. commercial software.
  172.  
  173. The author will not be responsible in any for any damage, virus infections 
  174. (picked up on the way, I certainly haven't written any) or loss of
  175. files caused by use of this program. You use it entirely at your own risk.
  176.  
  177. L. Taylor ( 00.31 hrs 19.11.93 ).
  178.  
  179. *****************************************************************************
  180.  
  181. That sounds official enough.
  182.  
  183. On a lighter note, I would be keen to hear from any other Sinological  Acorn
  184. users (if there are any). I also hope to write more Chinese stuff (file 
  185. readers and so on) and I would like to know if there's a market. Any feedback
  186. on this program would also be gratefully received. Bug reports, suggestions,
  187. comments, flattery, anything in fact. I'm a real addict to that "You Have
  188. New Mail" message when I log on.
  189.  
  190. I can be contacted as:
  191.  
  192. gapv76@uk.ac.gla.udcf  or,
  193.  
  194. Luke Taylor.
  195. Room 536,
  196. Department of Physics and Astronomy,
  197. Glasgow University,
  198. Glasgow,
  199. G12 8QQ.
  200.  
  201. Bye for now. Or Zai4 Jian4 as we say in my Chinese class ('cos we don't know
  202. much else yet).
  203.  
  204. P.S. Doesn't anyone have any requests or feedback about PhysDemos - quite  a
  205. few people seem to have made downloaded it but nobody's sent us any
  206. comments. Is it really that bad? The author Dr A. Watt can now be contacted
  207. directly. He's finally got his terminal up and running and read last year's
  208. mail. He is NS01@uk.ac.gla.ph.i1. You can still send anything to me if you 
  209. want it read quickly. 
  210.  
  211.  
  212.  
  213.