home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / KAYPRO / ARTIE71.LBR / ARTIE.DZC / ARTIE.DOC
Text File  |  2000-06-30  |  15KB  |  284 lines

  1. =====================================================================
  2.  
  3.                  Documentation for ARTIE Version 7.1
  4.  
  5.                           by Peter Donnelly
  6.  
  7.                            - March 1987 -   
  8.  
  9. =====================================================================
  10.  
  11.      ARTIE is for creating graphic images on CP/M Kaypros. Basic 
  12. instructions are included in the program itself. 
  13.      The following files make up the complete ARTIE package:
  14.  
  15. ARTIE.COM    - the command file for drawing and printing. 
  16. ARTFONT.ART  - must be present for the big-character function.
  17. ARTHELP.TXT  - same for the help function.
  18. ARTJUKI.CHN  - rename to ARTPRINT.CHN to support a Diablo 630-
  19.                compatible daisy-wheel printer.
  20. ARTPAN.CHN   - same for Panasonic 1091 and other dot-matrix printers.
  21. ARTOKI.CHN   - same for Okidata 91 or 92 printer.
  22. ARTSHOW.COM  - program to display a series of screens. 
  23. SHOW-?.ART   - sample screens to be viewed with TYPE or ARTSHOW.
  24. ARTIE.DOC    - TYPEable to the printer.
  25.  
  26. =====================================================================
  27.  
  28.                             NEW FEATURES
  29.  
  30.      First I must apologize for the proliferation of versions. 
  31. Writing programs for the Kaypro is a little like offering custom kits 
  32. for Ramblers; you want to get them out there quickly, before the 
  33. number of interested people drops to zero. So I've released new 
  34. editions of the program as it evolved rather than waiting for it to 
  35. reach a definitive form.
  36.      That said, version 7 will probably be the last major revision. 
  37. ARTIE was originally conceived as a tool for creating easy-to-use, 
  38. TYPEable screen files, and it has gone about as far as it can in that 
  39. direction. 
  40.      This latest version of ARTIE sees two major additions: simple 
  41. production of characters in large fonts, and a built-in screen dump 
  42. for the Panasonic/Epson/Gemini printers. There are many small 
  43. changes, and the code has been streamlined so that even with the new 
  44. features it will fit into less than 37K of RAM.
  45.      The big characters are accessed through a new ^T command. A 
  46. default typeface is provided but users can easily build their own 
  47. font libraries. See ARTFONT, below.
  48.      The screen dump, activated by ^G, produces a different image 
  49. than the regular ARTPAN printer driver: smaller and somewhat 
  50. distorted, with keyboard characters printed in compressed rather than 
  51. pica mode. Text in inverse video is printed in italics, as it now is 
  52. in ARTPAN.
  53.      ARTIE now distinguishes between the numerical keypad and the 
  54. ordinary number keys, so it is possible to type in numbers without 
  55. the old ^N command.
  56.                                   
  57.                              USEABILITY
  58.  
  59.      The program was developed on the Kaypro 2X (1984) and should  
  60. work fully on any model that has TYPEable graphics associated with 
  61. ASCII numbers 0-31 and 128-255. In 1985 and later models using the 
  62. so-called universal ROM, and under some non-standard operating 
  63. systems, the non-pixel graphics on palette 3 will not be available. 
  64. Users of the earlier machines that display palette 3 should not 
  65. select this palette for output intended to be portable to other 
  66. Kaypros. (See also USER PATCHES and note on ARTSHOW, below.)
  67.      The Panasonic printer driver should work on many other machines 
  68. such as the Epsons and Geminis. The Juki version will support most 
  69. daisy-wheels including the "Kaypro Letter Quality Printer."
  70.      The graphics mode under ZCPR is automatically enabled.
  71.  
  72.                            ARTIE AND DDRAW
  73.  
  74.      Files from D. Griffith's non-commercial program DDRAW that have 
  75. been saved with the "T" option are to some extent compatible with 
  76. ARTIE. It is possible, for example, to draw a circle graph in DDRAW, 
  77. save it as a screen with the extension .ART, and read it into ARTIE. 
  78. Limitations are that you won't be able to edit the extreme right-hand 
  79. column, line 25 will be lost, and there will be difficulties where 
  80. more than two special video effects have been combined in a single 
  81. cell.
  82.  
  83.                           HINTS ON DRAWING 
  84.  
  85.      Cells can have invisible attributes. If you print spaces while  
  86. the blink function is turned on, for example, then those spaces are  
  87. defined in the array as blinking spaces. If you get some odd results  
  88. when using the fill function, this may be the reason; only truly  
  89. empty spaces will be filled, not those defined as blinking or dim.  
  90. Similarly, ^E will clear only those cells which are the same in all  
  91. respects as the cell where the pointer is placed. Erasing with DEL  
  92. will restore spaces to neutrality. 
  93.      A quick way to reset the brush to a neutral state is to hit 0  
  94. followed by LINE FEED. This a good method to keep from accidentally  
  95. erasing or overwriting a cell when you next move the pointer. 
  96.      When in pixel-drawing mode you can only modify existing block 
  97. graphics or draw on a blank part of the screen. To do anything else 
  98. you must return to normal drawing mode. 
  99.      Since the special video effects apply only to whole characters, 
  100. it is not possible to toggle effects on and off in pixel-drawing 
  101. mode. If you want to draw with dim pixels, first fill the area with 
  102. "dim spaces" in normal drawing mode; or else draw at normal intensity 
  103. and then add dimming with a cut-and-paste procedure. When adding a 
  104. pixel to a blinking character you may get unexpected results, because 
  105. if you fill in the lower left corner you are in effect creating an 
  106. inverse graphic.
  107.  
  108.                             CUT AND PASTE
  109.  
  110.      The first time you strike ^C a cue line will appear, asking you  
  111. to mark the upper left corner of the rectangle to be cut. If you wish 
  112. to abort the cut at this time, just home the pointer. Otherwise move 
  113. the pointer to the top left corner of the block, placing it under the 
  114. top row, not above it. (To mark a single line, don't move the cursor 
  115. up the screen at all -  just to the left.) ARTIE will remember the 
  116. defined area until it is erased with ^KE or until ^C is struck again. 
  117. It is the boundaries of the block that are stored in memory, not the 
  118. contents, so any changes you make to the block after it is cut will 
  119. be part of subsequent paste operations. 
  120.      Details read into the screen from disk while the erasing toggle 
  121. is on will completely overwrite the rectangle they occupy; otherwise 
  122. the old image will show through wherever there are spaces (with no 
  123. video effects) in the new. This feature is handy for creating 
  124. textured backgrounds around complex images. You can also merge two 
  125. complete screens; simply save the one that is to appear in the  
  126. foreground as a detail file and read it into the other.
  127.      You can add special effects to any block by setting the 
  128. appropriate toggles and then either marking the block and altering it 
  129. with ^KA or reading it in as a detail file. 
  130.      The ^R command serves for both screen and detail files.  ARTIE 
  131. will look for a screen file when you strike ^R with the pointer  on 
  132. the top line; otherwise it will look for a detail. 
  133.  
  134.                                ARTFONT
  135.  
  136.      The file ARTFONT.ART contains a partial font of large keyboard 
  137. characters that is automatically loaded into memory from the logged 
  138. drive. To use the font, strike ^T and enter a string of up to 20 
  139. characters. A block five lines deep will come in much as if it were a 
  140. detail file, already marked as a block for further manipulation with 
  141. ^K. Unsupported keys are printed as blanks. 
  142.      ARTFONT can be edited like any screen file, and different 
  143. fontfiles can be created for loading anytime with the ^N command. 
  144. When you edit the current font and save it under the same name, the 
  145. new version is automatically loaded into font memory.
  146.      Editing of fontfiles must be done with pixel graphics only. 
  147. Characters may be altered completely but must always be contained 
  148. within a cell of 4 rows by 6 columns and of course are always 
  149. accessed with the same key. Proportional spacing imposes narrower 
  150. limits on some characters. The backslash is reserved for a user-
  151. defined character or pattern.
  152.  
  153.                               ARTPRINT
  154.  
  155.      The program ARTPRINT.CHN can be run only on exiting ARTIE, with 
  156. the command ESC P. 
  157.      One can achieve surprisingly varied effects with the Juki 
  158. version. Unlike other graphics programs supporting the daisy-wheel, 
  159. ARTPRINT does not attempt to replicate a dot-matrix effect by 
  160. printing thousands of periods; rather, it prints a "shading  
  161. character" (of your choice) once for each screen pixel. The equals 
  162. sign makes a good all-purpose shading character. A larger character 
  163. such as a dollar sign will produce complex interwoven patterns; the 
  164. letter 'n', used in the fine checkerboard pattern, gives the effect 
  165. of woven rattan. If you want to get really fancy, divide your work 
  166. into two or more screens and print each one with a different shading 
  167. character, repositioning the paper each time.
  168.  
  169.                                ARTSHOW
  170.  
  171.      This standalone program can be used in two ways: to give a quick 
  172. scan of all screen files on the disk or to present a prepared show. 
  173. With the "A" argument (type "ARTSHOW ?" for a list of options) it 
  174. will search the logged drive for all files named *.ART and show these 
  175. in alphabetical order, with the filenames printed on the status line. 
  176. Otherwise it will display, repeatedly and without comment, up to 6 
  177. screens that have been named consecutively as SHOW-1.ART, SHOW-2.ART, 
  178. and so on. (These are loaded into memory to save wear on the drives.)
  179.      ARTSHOW controls the video chip directly, not through the 
  180. regular BIOS routines, so that non-pixel graphics will be displayed 
  181. on all machines. (Special thanks to Raymond Rosenkranz for his help 
  182. with this.) However, you must cold boot with the reset button before 
  183. running the program, to prevent problems. Also, some machines may 
  184. produce a lot of screen-write errors. 
  185.  
  186.                           USING ARTIE FILES
  187.  
  188.      Remember that a TYPE command will leave only 23 lines of an 
  189. ARTIE file on the screen, as the system prompt will print on line 24. 
  190. If you want to make TYPEable electronic greeting-cards, leave the top 
  191. line blank so that nothing will scroll out of sight. 
  192.      For the information of programmers who wish to incorporate ARTIE  
  193. screen graphics into their own routines, the files are made up of  
  194. continous strings of characters with no carriage returns or line  
  195. feeds. In case anyone wants to read a file line-by-line, the 80th  
  196. column contains a graphic space, character #128, a value not normally  
  197. found elsewhere on the screen. An exception is made for the last 
  198. column of the last line, which contains a null so that when the file 
  199. is written the cursor will not advance and force the top line to 
  200. scroll off the screen. Escape sequences have been inserted wherever 
  201. the video attributes (underlining, dimming, inverting, and blinking) 
  202. need to be toggled on and off as the screen prints. 
  203.     In Pascal, and I presume in other languages with character  
  204. variables, a file may be accessed by a simple loop of read and write  
  205. commands continuing until the EOF is encountered. Lines will sort  
  206. themselves out automatically with the normal dropping of the cursor  
  207. after every 80 printable characters. 
  208.      Unfortunately, MBASIC does not lend itself readily to processing  
  209. ARTIE files. They must be treated as random files and read character 
  210. by character. You will have to include a routine for determining 
  211. whether each character is part of an escape sequence; that is, 
  212. whether either of the two preceding characters is CHR$(27). Then 
  213. every printable character will have to be output through a direct 
  214. cursor address followed by a carriage return, necessary because 
  215. MBASIC insists on a CR every so often and will spit out random 
  216. characters if it doesn't find one. The process of reading and 
  217. printing the file will be very slow. 
  218.  
  219.                             USER PATCHES
  220.  
  221.      The Kaypro video chip is capable of displaying a different  
  222. character for each of the bytes in the range 0-255. However, the  
  223. operating system does not allow access to some of these (like #7, 
  224. which is always interpreted as a control code to ring a bell), and 
  225. indeed the newer models running CP/M 2.2u do not permit display of 
  226. any of the characters in the range 0-31 through normal programming 
  227. means. All 256 characters are shown in Raymond Rosenkranz's public 
  228. program SEEBIOS, but to use them in drawing you have to buy Spectre 
  229. Technologies' REMBRANDT.
  230.      Palette 3 in ARTIE contains a selection of low-range graphics  
  231. readily available (and TYPEable) on older machines. Newer machines  
  232. will simply not display these characters. To make ARTIE more useful, 
  233. owners of such machines may want to patch graphics or keyboard  
  234. characters from the range 32-255 onto this palette by replacing the 
  235. 14 bytes beginning at address 211C. 
  236.  
  237.                         COPYRIGHT INFORMATION
  238.  
  239.      ARTIE.COM and its associated files may be freely copied for  
  240. private use but not distributed for gain without the author's written  
  241. permission.
  242.  
  243.                         SPECIAL ANNOUNCEMENT
  244.  
  245.      ARTIE's successor, ARTPAGE, is now available as a commercial 
  246. program. ARTPAGE does almost everything ARTIE does and much more. 
  247. Among its features:
  248.  
  249. - On-screen "what you see is what you get" layout of a full printer 
  250.   page in either of two formats, up to 115 text columns by 83 lines. 
  251.   The screen window is 79 columns by 24 lines. 
  252. - Fastest screen refresh of any Kaypro graphics program, permitting 
  253.   virtually instantaneous windowing onto any part of the page form.
  254.   The window can even be moved line by line or column by column.
  255. - Improved cut-and-paste facility even lets you send a detail 
  256.   directly to the dot-matrix printer.
  257. - Accepts graphics files from ARTIE and from Spectre Technologies' 
  258.   REMBRANDT and PRESTO. (Fine-line graphics are not supported.)
  259. - Text can be read in from any ASCII file and arranged in columns 
  260.   on the page, side by side with graphics. Some Wordstar print      
  261.   commands are recognized. Underlining, boldface, and italics are       
  262.   shown with video effects. Superscript, subscript, compressed, and   
  263.   expanded fonts are also supported. 
  264. - Drivers are provided for the standard daisy-wheel and Epson-type 
  265.   (nine-pin) printers. (Sorry, not the Okidata.) 
  266.  
  267.      ARTPAGE is ideal for preparing newsletters, bulletins, technical 
  268. papers - any material where a mixture of text and graphics is 
  269. required. 
  270.      Look for PAGEDEMO.LBR on bulletin boards, or send $7 (refundable 
  271. on purchase) for a demonstration version that has all features except 
  272. file-saving and memory dump. Call 604-383-4955 evenings for more 
  273. information.
  274.      ARTPAGE comes complete with printed documentation, at least 
  275. three headline fonts, and sample page files. The price is US $30 (Cdn 
  276. $40) postpaid. Send payment by money order for prompt dispatch by 
  277. airmail; payment by cheque will delay delivery for several weeks.
  278.  
  279.                            ARTIE SOFTWARE
  280.                      964 Heywood Ave.,  No. 220
  281.                      Victoria BC Canada V8V 2Y5
  282.  
  283. =====================================================================
  284.