home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / textutil / jgpsuite / Docs / JGCharDoc < prev    next >
Encoding:
Text File  |  1993-05-14  |  3.9 KB  |  90 lines

  1. .sp 0               Comment out if Pages wanted; default 66 lines (.sp 66)
  2. .ft
  3. /
  4.  
  5. .col
  6. |Page \p
  7. /
  8. .hd
  9. :.if \o
  10. .col
  11. Manual|Sat,30 Mar,1993|MkChar
  12. .else
  13. .col
  14. MkChar|Sat,30 Mar,1993|Manual
  15. .fi
  16.  
  17. :
  18. .col
  19. |JGEd
  20.  
  21. The application !JGMakeCh is provided to enable editing to take place in JGEd
  22. with Top\-Bit and VDU characters redesigned to correspond to those of some
  23. Printer set e.g. PC-8. From within JGEd, the extended command Character
  24. Pixel/<file>/ has now been implemented, as have the arrangements for the vdu
  25. characters, but you may also use the arrangements described in the next three
  26. paragraphs.
  27.  
  28. Outside JGEd, for files of top-bit set characters only, the definitions in the
  29. character design file <mkchar$dir>.JGChars can be put into effect and cancelled
  30. by the two obey files JGSetChar and ArcChars; this is best seen in the !chars
  31. window.
  32.  
  33. It is vital that, used in this latter way, this design file does not contain
  34. definitions for vdu characters, otherwise unexpected effects may well occur.
  35.  
  36. JGSetChars contains the single line "copy <mkchar$dir>.JGChars rawvdu: ~C ~V",
  37. and you can change the filename, <mk......ars, to put any other file into
  38. effect.
  39.  
  40. Technical note: Character definition files contain an ordered list of character
  41. definitions, where a character definition is 23 <chrano> <64bytes>, where
  42. <64bytes> are in the order required by vdu 23 <charno> <n1> <n2>, or OSWord 10.
  43. To look at them in the raw, use To Dump in JGPCopy.
  44.  
  45. !JGMakeCh has been designed to develop a file of character definitions,
  46. held in an internal vector, CharV, indexed from 0 to 255. The vector can be
  47. filled by dragging a character definition file to the JGMakeChar main window,
  48. and the file icon near the bottom of the window will hold the last file name
  49. loaded.
  50.  
  51. To save CharV, click on the Save button, and a save window will come up. If you
  52. click with Select, what was previously in the file icon of this window
  53. (originally JGChars) will be preserved; if you click with Adjust, the loaded
  54. filename will be transferred to the Save window. Dragging in a file of partially
  55. developed characters and saving with Adjust enables the development process to
  56. be spread over more than one session.
  57.  
  58. The main window contains an 8x8 pixel area where each pixel can be turned on and
  59. off by clicking on it. To the right is a number, expressible either as a decimal
  60. or as a hexadecimal (preceeded by &). This is the byte number in terms of which
  61. this character design can be saved in CharV or effected as a current Ch, or
  62. both. There is a Done light that flashes on and off to confirm that these
  63. actions have been executed.
  64.  
  65. The pixels can be filled from CharV, or from the current Chs. In either case,
  66. the number of the byte to be taken is set in the window opposite the
  67. command ("Get from CharV" or "Get Ch") and the user clicks on the command, not
  68. on the window.
  69.  
  70. Since there is frequent content overlap in different character sets, it is often
  71. possible to make a character for the new set simply by getting the character
  72. which realises a different byte in current Chs, or from a file inserted into
  73. CharV; where this is not possible, another character often serves as a starting
  74. point to save some of the labour of character design.
  75.  
  76. If you take from 32(space) of the current Chs, the pixel area will normally be
  77. cleared.
  78.  
  79. The icon 'Exclude vdu characters' swaps to and from 'Include vdu characters'
  80. when clicked, and governs how much of the CharV designs are saved. Obviously, if
  81. you are intending to use JGSetChars, you must  not have included the vdu
  82. characters in your character design file.  Files including the vdu characters are
  83. intended only for the cp facilities of JGEd. When designing for such a file, it
  84. is wise to switch to 'Include...' at the beginning of the session.
  85.  
  86. Finally, there is a quit icon to quit with at  the end of a character designing
  87. session. I may include a warning to save CharV.
  88.  
  89.  
  90.