home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / graf / t-draw.zip / TBDRAW.DOC < prev    next >
Text File  |  1990-02-12  |  93KB  |  3,462 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.                                  TurboDraw
  15.  
  16.                               User's  Manual
  17.  
  18.                            Last Revised 09/09/89
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.                            Daytron Electronics Inc.
  40.                 P.O.Box 851591
  41.               Richardson,  Tx 75085-1591
  42.                                 (214) 669-2137
  43.  
  44.  
  45.  
  46.         COPYRIGHT
  47.  
  48.         (c)Copyright  1988,1989  Daytron  Electronics  Inc.   All  Rights 
  49.         Reserved
  50.  
  51.         TRADEMARK
  52.  
  53.         EZ-CAD and TurboDraw are trademarks of Daytron Electronics Inc.
  54.         Hercules  Graphics  Card  is  a trademark  of  Hercules  Computer 
  55.         Technology
  56.         Hewlette-Packard is a trademark of Hewlett-Packard Co.
  57.         IBM,PC,XT,AT,and  PS/2 are trademarks of  International  Business 
  58.         Machines Corporation
  59.         Mouse Systems is a trade mark of Mouse Systems Corporation
  60.         Okidata is a registered trademark of Oki America Inc.
  61.         NEC is a registered trademark of Nippon Electric Co.
  62.         DM/PL and Houston Instrument are trademarks of Amtek Inc.
  63.  
  64.         DISCLAIMER
  65.  
  66.         Daytron  Electronics  warrants  that the enclosed  software  will 
  67.         perform substantially in accordance with this manual for a period 
  68.         of  30  days from the day of receipt.  No  other  warranties  are 
  69.         implied.
  70.  
  71.         GRANT OF LICENSE
  72.  
  73.         This  product  is  only licensed and not  sold.  It  remains  the 
  74.         property of Daytron Electronics Inc.
  75.  
  76.  
  77.  
  78.         TABLE OF CONTENTS
  79.  
  80.  
  81.         1: ABOUT TURBODRAW............................................ 1
  82.  
  83.         2: INSTALLING TURBODRAW....................................... 2
  84.  
  85.            2.1 System Requirements.................................... 2
  86.  
  87.            2.2 Installation........................................... 5
  88.  
  89.         3: STARTING TURBODRAW......................................... 7
  90.  
  91.            3.1 Resolving Mouse Problems............................... 7 
  92.  
  93.            3.2 Resolving Loading Problems............................. 8
  94.  
  95.            3.3 Running TurboDraw From Another Directory...............10
  96.  
  97.         4: USING TURBODRAW............................................11
  98.  
  99.            4.1 TurboDraw Menus........................................11
  100.  
  101.                4.1.1 Main Menu........................................12
  102.  
  103.                4.1.2 Submenus.........................................12
  104.  
  105.            4.2 Select and Cancel Buttons..............................12
  106.  
  107.            4.3 Cursor Movement........................................13
  108.  
  109.                4.3.1 Cursor Keys......................................13
  110.  
  111.                4.3.2 Screen Cursors...................................14
  112.  
  113.            4.4 Auto Select............................................14
  114.  
  115.            4.5 Pan....................................................14
  116.  
  117.            4.6 Auto Delete/Reposition.................................15
  118.  
  119.            4.7 Drag/Reposition........................................15
  120.  
  121.            4.8 Stretch/Flip...........................................15
  122.  
  123.            4.9 Single key commands....................................15
  124.           
  125.         6: OPTIONS AND COMMANDS.......................................17
  126.  
  127.  
  128.  
  129.            6.1 Draw...................................................17
  130.  
  131.                6.1.1 Variable and Fixed Size Symbols..................17
  132.  
  133.                6.1.2 Lines and Curves.................................18
  134.  
  135.                6.1.3 Circle...........................................20
  136.  
  137.                6.1.4 Half Circle and Quarter Circle...................20
  138.  
  139.                6.1.5 Arc..............................................20
  140.  
  141.                6.1.6 Fill.............................................20
  142.  
  143.            6.2 Edit...................................................21
  144.              
  145.                6.2.1 Edit Text........................................21
  146.  
  147.                6.2.2 Select Element, Object, Section..................23
  148.  
  149.                6.2.3 Reduce and Enlarge...............................24
  150.  
  151.                6.2.4 Cut and Paste....................................24
  152.  
  153.                6.2.5 Move.............................................25
  154.  
  155.                6.2.6 Delete Last Object...............................25
  156.  
  157.                6.2.7 Deselect.........................................26
  158.  
  159.                6.2.8 Redraw...........................................26
  160.  
  161.                6.2.9 Change Style.....................................26
  162.  
  163.                6.2.10 Trim............................................26
  164.  
  165.                6.2.11 Rotate..........................................26
  166.  
  167.            6.3 Configuration..........................................27
  168.  
  169.                6.3.1 Drawing Size.....................................27
  170.  
  171.                6.3.2 Full View........................................27
  172.  
  173.                6.3.3 Clear............................................28
  174.            
  175.                6.3.4 Border Line......................................28
  176.  
  177.                6.3.5 Info Box.........................................28
  178.  
  179.  
  180.  
  181.  
  182.                6.3.6 Grid.............................................28
  183.  
  184.                6.3.7 Snap to Grid.....................................29
  185.  
  186.                6.3.8 View = 1:1.......................................29
  187.  
  188.                6.3.9 View = 1/2.......................................29
  189.  
  190.                6.3.10 View = X2.......................................29
  191.  
  192.            6.4 File...................................................30
  193.  
  194.                6.4.1 Read into Cut Buffer.............................30
  195.  
  196.                6.4.2 Write from Select Buffer.........................30
  197.  
  198.                6.4.3 Create PCX File..................................30
  199.  
  200.                6.4.4 Create TIFF File.................................31
  201.  
  202.                6.4.5 Load .LBR File...................................31
  203.  
  204.                6.4.6 Load.............................................31
  205.  
  206.                6.4.7 Save.............................................31
  207.  
  208.                6.4.8 Dir, Del, Copy...................................31
  209.  
  210.                6.4.9 Print............................................32
  211.  
  212.                6.4.10 Plot............................................34
  213.  
  214.                6.4.11 Quit............................................35
  215.  
  216.                6.4.12 Exit............................................35
  217.  
  218.            6.5 Style..................................................36
  219.  
  220.                6.5.1 Font Size........................................36
  221.  
  222.                6.5.2 Line Type........................................36
  223.  
  224.                6.5.3 Plotting with Colors.............................36
  225.                        
  226.            6.6 Library................................................38
  227.  
  228.         APPENDIX A: Building Library Files............................39
  229.  
  230.  
  231.  
  232.         APPENDIX B: Drawing File Format...............................43
  233.  
  234.         APPENDIX C: Font File Format..................................44
  235.  
  236.         APPENDIX F: TurboDraw Memory Layout...........................50
  237.  
  238.         APPENDIX G: Devices Supported by EZCAD........................52
  239.  
  240.         APPENDIX H: TurboDraw Software Interrupts.....................57
  241.  
  242.         APPENDIX I: Coordinate System.................................58
  243.  
  244.         APPENDIX J: Resolving Plotter Problems........................59
  245.  
  246.         APPENDIX K: Resolving Printer Problems........................60
  247.  
  248.         APPENDIX L: Porting Drawings to DSP or WP.....................61
  249.  
  250.         APPENDIX M: Modifying Text Fonts..............................62
  251.  
  252.  
  253.  
  254.         1: ABOUT TURBODRAW
  255.  
  256.  
  257.         Congratulations  on having purchased TurboDraw.  We believe it is 
  258.         the   easiest  computer-aided  drafting (CAD) program  available. 
  259.         It is our goal to provide capable software to maximize the use of 
  260.         many  home  or  office  microcomputers at a  price  that  can  be 
  261.         justified by casual users.
  262.  
  263.         This  manual  is intended as a reference guide for TurboDraw  and 
  264.         familiarity with microcomputer hardware and operating systems  is 
  265.         assumed.  If  you are not familiar with microcomputer hardware or 
  266.         software,  please  refer to the documentation supplied with  your 
  267.         equipment.
  268.  
  269.         Although  we try to keep this manual as up-to-date  as  possible, 
  270.         some  changes and additional features may be found in the READ.ME 
  271.         file on the TurboDraw diskette. We recommand that your print this 
  272.         file and paste the printout on the blank pages toward the end  of 
  273.         this manual.
  274.  
  275.         TurboDraw  is  an entry level CAD program that combines the  easy 
  276.         point-and-click  user interface and the ability to generate  user 
  277.         symbol  libraries.  TurboDraw  can produce  professional  quality 
  278.         drawings   for   electrical,    architectural,   and   mechanical 
  279.         engineers,   as  well  as  dataflow, program flow, and structural 
  280.         charts for programmers, systems analysts, and database managers.
  281.  
  282.         The  drawings  produced  by TurboDraw  consist  of  elements  and 
  283.         objects  (also  referred  to  as symbols) which  are  defined  as 
  284.         follows:
  285.  
  286.         * Element - line, curve, circle, dot, characters etc.
  287.  
  288.         * Object/Symbol - collection of elements.
  289.  
  290.         The files used to store drawings consist of descriptions of these 
  291.         elements (or vectors).  In other words, TurboDraw does not handle 
  292.         bit-mapped  images like some painting/drawing  programs.   It  is 
  293.         best  used to create technical drawings that consist primarily of 
  294.         lines and curves.
  295.  
  296.         TurboDraw is menu-driven. That means when the program is ready to 
  297.         accept a command, it displays all possible choices on the screen.
  298.  
  299.         A  convenient  feature of TurboDraw is  the  SPOOLing  capability 
  300.         which  redirects output to a file instead of to a  device.   This 
  301.         enables you to print or plot output at a more convenient time, or 
  302.         from a PC that is connected to the proper printer or plotter.  
  303.  
  304.  
  305.                                         1
  306.  
  307.  
  308.  
  309.         2: INSTALLING TURBODRAW
  310.  
  311.  
  312.         2.1 System Requirements
  313.  
  314.         An  IBM PC,  XT,  AT or compatible with CGA,  EGA,  or   Hercules 
  315.         monochrome  graphics card running MS DOS/PC DOS 2.0 or higher  is 
  316.         required.
  317.  
  318.         IBM   PS/2  family  computers  with  MCGA  or  VGA  are  downward 
  319.         compatible with CGA and EGA and therefore are also supported.
  320.  
  321.         A  mouse is recommended but not required.  The following  devices 
  322.         are supported:
  323.  
  324.         * EPSON/IBM Graphics compatible printer
  325.  
  326.         * EPSON 24-pin printers
  327.  
  328.         * IBM QuietWrite printer
  329.  
  330.         * OKIDATA printers
  331.  
  332.         * NEC/TEC or compatible printers
  333.  
  334.         * HP LaserJet, DeskJet, or any PCL compatible printers 
  335.  
  336.         * Toshiba 24-pin printers
  337.  
  338.         * Tally printers
  339.  
  340.         * HP or any HP/GL compatible plotters
  341.  
  342.         * Houston Instrument or any DM/PL compatible plotters
  343.  
  344.         * Sweet P/ComScriber I plotters
  345.  
  346.         * All  mouse  devices and digitizers that conform to the INT  33H 
  347.           standard
  348.  
  349.         Either  standard  carriage (10") or wide carriage (15")  printers 
  350.         can be used.
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.                                         2
  361.  
  362.  
  363.  
  364.         The  amount of memory required depends  on  the type of  graphics 
  365.         card  used and the selected drawing size.  The minimum  is  256K, 
  366.         although we recommend 640K.
  367.  
  368.         The  TurboDraw  package  consists of  the  following 
  369.         programs:
  370.  
  371.         * Mouse driver
  372.              EZMOUSE.COM
  373.  
  374.         * Graphics card drivers
  375.              EGA.COM
  376.              CGA.COM
  377.              MGC.COM
  378.  
  379.         * Printer drivers
  380.              EPSON.COM
  381.              EPSON24.COM
  382.              OKIDATA.COM
  383.              IBM.COM
  384.              NEC.COM
  385.              PCL.COM
  386.              QUIETW.COM
  387.              GENER24.COM
  388.              TOSHIBA.COM
  389.              TALLY.COM
  390.  
  391.         * Plotter drivers
  392.              HPGL.COM
  393.              DMPL.COM
  394.              SWEETP.COM
  395.  
  396.         * Installation program
  397.              INSTALL.COM
  398.  
  399.         * Drawing program
  400.              EZCAD.COM
  401.  
  402.         * Application program
  403.              TBDRAW.COM
  404.              TBSYMB.COM
  405.  
  406.         * Fonts
  407.              *.FNT
  408.  
  409.         * Symbol libraries
  410.              *.LBR
  411.  
  412.  
  413.  
  414.  
  415.                                         3
  416.  
  417.  
  418.  
  419.         * Utilities
  420.              EZMODE.COM
  421.              EZPRINT.COM
  422.              FNTTXT.COM
  423.              TXTFNT.COM
  424.  
  425.         * Sample Drawing Files
  426.              *.DRW
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.                                         4
  471.  
  472.  
  473.  
  474.         2.2 Installation
  475.  
  476.  
  477.         Before  configuring TurboDraw,  use the DOS command  DISKCOPY  or 
  478.         COPY  to  create a working diskette from the  original  diskette.  
  479.         Then store the original diskette in a safe place.
  480.  
  481.         To Install TurboDraw on a Fixed-disk System:
  482.  
  483.              1.   Insert the  working diskette in drive A. Set the fixed-
  484.                   disk  default  directory and copy the contents  of  the 
  485.                   working diskette to the fixed disk using DOS commands.
  486.  
  487.              2.   Type INSTALL and press Enter.
  488.              
  489.              3.   Follow  the instructions on the screen to continue.
  490.  
  491.         To Install TurboDraw on a Diskette-based System:
  492.  
  493.              1.   Insert the DOS diskette in drive A.
  494.  
  495.              2.   Insert the TurboDraw working diskette in drive B.
  496.  
  497.              3.   At the DOS prompt type B: and press Enter.
  498.  
  499.              4.   At the B> prompt, type INSTALL and press Enter.
  500.  
  501.              5.   Follow  the instructions on the screen to continue.
  502.  
  503.         ================================================================
  504.         EZCAD Installation Menu Rev 1.3
  505.  
  506.  
  507.              1) Video Display    : EGA
  508.              2) Printer          : EPSON10
  509.              3) Plotter          : SWEETP
  510.              4) Mouse Port       : Installed by user
  511.              5) Plotter Port     : LPTn or special
  512.              6) Plotter model    :
  513.  
  514.         Please enter item number to change or <enter> to exit:
  515.         ================================================================
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.                                         5
  526.  
  527.  
  528.  
  529.         The  INSTALL  program  defaults to the  following  settings:
  530.  
  531.              1. EGA monitor
  532.              2. Standard carriage EPSON printer
  533.              3. Sweet P plotter
  534.              4. Mouse driver loaded by the user before starting TrubDraw.
  535.  
  536.         PS/2  users should select CGA instead of MCGA,  or EGA instead of 
  537.         VGA for video display.
  538.  
  539.         The  INSTALL  program generates  a  "batch file" called  DRAW.BAT 
  540.         which   loads  the  proper  drivers/programs  into  memory   when 
  541.         executed.   INSTALL  is menu-driven and should be sufficient  for 
  542.         most users. 
  543.  
  544.         For special configurations,  e.g., if a special printer driver is 
  545.         needed,  you can load the drivers manually,  or use an editor  to 
  546.         modify  the  existing  DRAW.BAT file.   If you  modify  DRAW.BAT, 
  547.         ensure  that the application program (TBDRAW.COM) is the last  to 
  548.         be  loaded,  because it takes control from  the operating  system 
  549.         and starts the TurboDraw session.
  550.  
  551.  
  552.         Non-US Keyboard Users:
  553.  
  554.         When   you enter text onto the drawing,   the character shown  on 
  555.         the  screen   may  not   be what you  expect.   This  is  because 
  556.         TurboDraw  assumes  a US keyboard and forms  the  shape   of  the 
  557.         characters  according  to it.   If you  are  a   non-US  keyboard  
  558.         user,   you  may  want  to modify our fonts  to  add  in  country  
  559.         dependent  symbols  or letters.  Please refer to Appendix  M  for 
  560.         detail.
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.                                         6
  581.  
  582.  
  583.  
  584.         3: STARTING TURBODRAW
  585.  
  586.  
  587.         If  you use a mouse,  load your own mouse driver before  starting 
  588.         TurboDraw.   If  you  purchased  a  mouse  from  us,  follow  the 
  589.         instructions on the mouse manual.
  590.  
  591.         To start TurboDraw,  type DRAW. You should see on the screen that 
  592.         the  drivers are loaded  by DRAW.BAT.  After all the programs are 
  593.         loaded,  the  screen should be cleared and the main  menu  should 
  594.         appear on the left of the screen. Your are now ready to draw. 
  595.  
  596.         To  avoid  losing  hours  of work (by  a  sudden  power  failure, 
  597.         computer  crash,  etc.) you should occasionally save your drawing 
  598.         to disk.  It is also a good practice to save your drawing  before 
  599.         every major change.
  600.  
  601.  
  602.         3.1 Resolving Mouse Problems
  603.  
  604.         There is a mouse driver EZMOUSE.COM on the TurboDraw disk.  It is 
  605.         supplied for 2 purposes:
  606.  
  607.              1. If  you do not have a mouse and plan to use the  keyboard 
  608.                 cursor  keys  to draw,  EZMOUSE will be  responsible  for 
  609.                 displaying and moving the graphics cursor.
  610.  
  611.              2. If your mouse is compatible with the Mouse Systems mouse, 
  612.                 and  its  mouse driver does not seem to work in  graphics 
  613.                 mode, you can try using EZMOUSE in lieu of your own mouse 
  614.                 driver.
  615.  
  616.         Note  that  EZMOUSE does not override any existing  mouse  driver 
  617.         already loaded.
  618.  
  619.         In  the  rare event that EZMOUSE.COM works for TurboDraw but  not  
  620.         other programs,  and your MOUSE.COM works for other programs  but 
  621.         not TurboDraw,  you should change the first line of your DRAW.BAT 
  622.         file to be
  623.  
  624.                 EZMOUSE /F1
  625.  
  626.         if your mouse is connected to COM1, or
  627.  
  628.                 EZMOUSE /F2
  629.  
  630.         if  your mouse is connected to COM2.  The "F" option  forces  the 
  631.         mouse driver to be loaded even if another driver has already been 
  632.         loaded.
  633.  
  634.  
  635.                                         7
  636.  
  637.  
  638.  
  639.  
  640.         At the end of DRAW.BAT you should add the folllowing line:
  641.  
  642.                 EZMOUSE /P
  643.  
  644.         The  "P"  option purges the previously  loaded  EZMOUSE.COM,  and 
  645.         reactivates the original MOUSE.COM.
  646.  
  647.         If  you  still  have  problems  with  your  mouse,  you  can  try 
  648.         contacting  the  manufacturer of your mouse and get an update  of 
  649.         your mouse driver.
  650.  
  651.  
  652.         3.2 Resolving Loading Problems
  653.  
  654.         If  your  computer  freezes  or crashes  during  the  process  of 
  655.         loading, it is possibly caused by one of the following:
  656.  
  657.              1. A memory resident program has been loaded.
  658.  
  659.                   Memory resident programs are usually those that can be 
  660.                   invoked by pressing a "hot key". These programs may 
  661.                   interfere with TurboDraw. Rename your AUTOEXEC.BAT file 
  662.                   to something else and reboot the system to get rid of 
  663.                   these programs to verify this problem.
  664.  
  665.                   The solution is to remove this program from the memory.
  666.  
  667.              2. Any interrupt vector between 60H through 67H has be used
  668.  
  669.                   This can be verified by using the DEBUG to look at 
  670.                   memory location 0:180 through 0:19F for non-zero bytes.
  671.  
  672.                   The solution is to remove the program that uses this 
  673.                   interrupt. If this is not possible, try relocate it to 
  674.                   some other vector.
  675.  
  676.              3. You have specified the wrong video display
  677.  
  678.                   The following are the most common causes -
  679.  
  680.                   * MGC does not work:
  681.  
  682.                        1. The original IBM monochrome display  controller 
  683.                           does not have graphics capability.
  684.  
  685.                        2. The  monochrome  display  is  actually  a   CGA 
  686.                           connecting to a monochrome monitor.
  687.  
  688.  
  689.  
  690.                                         8
  691.  
  692.  
  693.  
  694.                   * EGA does not work:
  695.  
  696.                        Your EGA board is not 100% compatible.
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.                                         9
  746.  
  747.  
  748.  
  749.         3.3 Running TurboDraw from another directory
  750.  
  751.         To   run   TurboDraw   from  another  directory,   the  following  
  752.         procedure  is recommended:
  753.  
  754.                   1. Delete the following line from your DRAW.BAT file:
  755.  
  756.                             TBDRAW
  757.  
  758.                   2. Set current directory to the TurboDraw subdirectory, 
  759.                      type DRAW to load all the drivers.
  760.  
  761.                   3. Set   your  desired  working  directory,   type  the 
  762.                      following line  to start TurboDraw
  763.  
  764.                             \TurboDraw path name\TBDRAW
  765.  
  766.                   4. To restart TurboDraw, goto 2.
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.                                        10
  801.  
  802.  
  803.  
  804.         4: USING TURBODRAW 
  805.  
  806.  
  807.         4.1 TurboDraw Menus
  808.  
  809.         TurboDraw is always in one of three distinct levels:
  810.  
  811.              Level 1 - Main menu function selection
  812.  
  813.              Level 2 - Submenu function selection
  814.  
  815.              Level 3 - Submenu function execution
  816.  
  817.         It  is very important that you know what level the program is in.  
  818.         When  you load TurboDraw,  it displays the level 1 menu which  is 
  819.         the main menu.   To move from level 1 to level 3 or from level  3 
  820.         to level 3 you must go through level 2.   To move from level 2 to 
  821.         level 2, you must go through level 1.  
  822.  
  823.         The shape of the cursor indicates the program level: 
  824.  
  825.              Level 1 - Arrow, main menu displayed
  826.  
  827.              Level 2 - Arrow, submenu displayed
  828.  
  829.              Level 3 - Non-arrow, no menu displayed
  830.  
  831.         Only one menu is active at any given time.  
  832.  
  833.         To select a menu item, simply move the cursor over the menu until 
  834.         the item is highlighted and press the select button.
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.                                        11
  856.  
  857.  
  858.  
  859.         4.1.1 Main Menu
  860.  
  861.         The  main menu is displayed on the left side of the drawing area. 
  862.         Below  the  main menu area in the  lower  left-hand  corner,  the 
  863.         current  drawing size and cursor position expressed in x- and  y-
  864.         coordinates are displayed. 
  865.  
  866.         Each  main  menu entry encompasses a set of related functions  as 
  867.         follows:
  868.  
  869.         * DRAW places objects on the drawing.
  870.  
  871.         * EDIT  edits a drawing using delete, copy, move, etc.
  872.  
  873.         * CONFIG  sets  the drawing environment,  including  paper  size, 
  874.           grid, etc.
  875.  
  876.         * FILE is the disk file read/write function  which includes load, 
  877.           save, print, exit, etc.
  878.  
  879.         * STYLE sets line types and character sizes.
  880.  
  881.         * LIBRARY allows you to draw user-defined symbols.
  882.  
  883.  
  884.         4.1.2 Submenus
  885.  
  886.         When  you select any function in the main menu,  TurboDraw always 
  887.         displays  a submenu in the drawing area.   Chapter 6  contains  a 
  888.         detailed discussion of the submenus.
  889.  
  890.  
  891.         4.2 Select and Cancel Buttons
  892.  
  893.         The Select button sets a point or confirms an operation,  and  is 
  894.         either the left button on the mouse, the Enter key, or the F1 key 
  895.         on the keyboard.
  896.  
  897.         The Cancel button cancels an operation,  exits a menu,  or serves 
  898.         as  a negative response,  and is either the right button  on  the 
  899.         mouse, the Esc key, or the F2 key on the keyboard.
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.                                        12
  911.  
  912.  
  913.  
  914.         4.3 Cursor Movement
  915.  
  916.         The  cursor  keys allow you to interact with TurboDraw to  create 
  917.         and alter drawings.
  918.  
  919.  
  920.         4.3.1 Cursor Keys
  921.  
  922.         The  keypad  cursor keys control the movement  of  the  currently 
  923.         displayed  screen cursor,  and move in units of 8  pixels.   When 
  924.         pressed simultaneously with the Shift key, the keypad cursor keys 
  925.         move the cursor in units of 128 pixels.
  926.  
  927.         To move the cursor one pixel at a time, use the following control 
  928.         keys (the ^ denotes pressing the Ctrl key simultaneously with the 
  929.         next key):
  930.  
  931.  
  932.                             ^E (up)
  933.  
  934.                   ^S (left)          ^D (right)
  935.  
  936.                            ^X (down)
  937.  
  938.  
  939.         Other keys on the keypad also have special meaning:
  940.  
  941.         * Home - Move the cursor to the upper left corner.
  942.  
  943.         * End  - Move the cursor to the lower right corner.
  944.  
  945.         * PgUp - Move the cursor up 128 pixels.
  946.  
  947.         * PgDn - Move the cursor down 128 pixels.
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.                                        13
  966.  
  967.  
  968.  
  969.  
  970.         4.3.2 Screen Cursors
  971.  
  972.         TurboDraw employs four types of screen cursors, each 
  973.         having a special meaning:
  974.  
  975.         * Arrow (->) - Select a menu item. 
  976.  
  977.         * Crosshair (+) - Marking location on the drawing.
  978.  
  979.         * Left bracket ([) - Enter text.
  980.  
  981.         * Question mark (?) - Verify action.
  982.  
  983.         The  arrow (->) cursor selects a function  from  the 
  984.         main  menu  or from a submenu if a submenu  is  dis-
  985.         played.  TurboDraw  always displays the arrow cursor 
  986.         once an operation is complete.  To complete an oper-
  987.         ation,  press either the Select button or the Cancel 
  988.         button.   
  989.  
  990.  
  991.         4.4 Auto Select
  992.  
  993.         To  display the previously selected  submenu,  press 
  994.         the Select button in the drawing area instead of  in 
  995.         the  main menu area.   
  996.  
  997.         To perform the last selected submenu function, place 
  998.         the  cursor  off  the submenu and press  the  select 
  999.         button  again. 
  1000.  
  1001.  
  1002.         4.5 Pan
  1003.  
  1004.         Pan  allows  you  to scan portions  of  the  drawing 
  1005.         quickly.   To  use Pan,  move the cursor so that  it 
  1006.         touches  the side of the drawing display  area  that 
  1007.         you want to view. TurboDraw moves the drawing in the 
  1008.         opposite direction.
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.                                        14
  1021.  
  1022.  
  1023.  
  1024.         4.6 Auto Delete/Reposition
  1025.  
  1026.         If the previous submenu is DRAW, EDIT or LIB, pressing the Cancel 
  1027.         button causes the last drawn or edited symbol to disappear.  This 
  1028.         operation if equivalent to the Delete Last Object command  (refer 
  1029.         to  6.2.6) followed by the Paste command.  To delete the  symbol, 
  1030.         press Cancel again. To reposition the symbol, move the dotted box 
  1031.         to the desired location and press the select button.
  1032.  
  1033.         If the previous operation was a "paste",  "autodelete" cuts the 
  1034.         whole pasted section.
  1035.  
  1036.         If objects are selected, auto-delete deselects only.
  1037.  
  1038.  
  1039.         4.7 Drag/Reposition
  1040.  
  1041.         While Pasting/Repositioning,  you can press and hold the keyboard 
  1042.         Ctrl  key  to  cause the actual symbol or section of  drawing  to 
  1043.         appear on the screen instead of the dotted box. This operation is 
  1044.         usually  referred  to  as "Dragging",  and  is  useful  for  fine 
  1045.         alignment.   Note  that  the  ^S,  ^E,  ^D  and  ^X  control  key 
  1046.         combinations also enable dragging.
  1047.  
  1048.  
  1049.         4.9 Single Key Commands
  1050.  
  1051.         The   following single key commands can be invoked at any time by 
  1052.         pressing the proper key, except during submenu selection:
  1053.  
  1054.         Single key menu selection:
  1055.  
  1056.              You can use single key stroke to select an item in any  text  
  1057.              menu,  if   there   is  one and only one field in  the  menu  
  1058.              that   has   this character  as its first character  in  the 
  1059.              field.  For example,  you can type FQ to quit TurboDraw.
  1060.  
  1061.         Single key style selection:
  1062.  
  1063.              "1" - Select single solid line and regular text.
  1064.  
  1065.              "2" - Select double solid line and small text.
  1066.  
  1067.              "3" - Select Tripple solid line and large text.
  1068.  
  1069.              "4" - Select dotted line.
  1070.  
  1071.              "5" - Select dashed line.
  1072.  
  1073.  
  1074.  
  1075.                                        15
  1076.  
  1077.  
  1078.  
  1079.  
  1080.         Single key commands:
  1081.  
  1082.              "G" - Turns "Snap to" of or off.
  1083.  
  1084.              "O" - Set  origin of relative coordinate and to  toggle  the 
  1085.                    coordinate    display  from  absolute  coordinate   to 
  1086.                    relative coordinate and vice versa.
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.                                        16
  1131.  
  1132.  
  1133.  
  1134.         6: OPTIONS AND COMMANDS
  1135.  
  1136.  
  1137.         6.1 DRAW
  1138.  
  1139.  
  1140.         The  DRAW  submenu  is a graphics menu  that  contains  flowchart 
  1141.         symbols. Refer to appendix E for interpretation of the Icons.
  1142.  
  1143.  
  1144.         6.1.1 Variable-size and Fixed-size symbols
  1145.  
  1146.         STEP 1 - Select symbol
  1147.  
  1148.              To  select a symbol from the menu,  move the cursor over the 
  1149.              cell  containing the icon and press the Select  button.  The 
  1150.              submenu  will  disappear  and the cursor will  change  to  a 
  1151.              crosshair.
  1152.  
  1153.         STEP 2 - Place symbol
  1154.  
  1155.              NOTE:   To help you align your drawing,  TurboDraw  provides 
  1156.              the  grid function which you can turn on through the  Config 
  1157.              submenu.
  1158.  
  1159.              To  place  the  selected symbol on  the  drawing,  move  the 
  1160.              crosshair  cursor to the location where you want  the  upper 
  1161.              left  corner  of  the  symbol placed and  press  the  Select 
  1162.              button.  
  1163.  
  1164.              Symbols  can be of FIXED or VARIABLE size.  If the symbol is 
  1165.              FIXED, TurboDraw places the upper left corner of the icon at 
  1166.              the location defined by the cursor position. Go to Step 4 if 
  1167.              this is the case.
  1168.  
  1169.              If  the  symbol is VARIABLE,  TurboDraw draws a  dotted  box 
  1170.              representing  the  icon's default  boundaries,  placing  the 
  1171.              upper left corner of the box at the location defined by  the 
  1172.              original  crosshair cursor position and moving the crosshair 
  1173.              cursor to the lower right corner of the box.   Go to Step  3 
  1174.              if this is the case.
  1175.              
  1176.              If  you  select the TEXT icon,  TurboDraw displays the  text 
  1177.              cursor ([).   Use the keyboard to enter text.   See  section 
  1178.              6.2.1  for  rules about text-editing.  To terminate  a  text 
  1179.              block, press Ctrl-Z.  Then go to Step 4.
  1180.  
  1181.  
  1182.         STEP 3 - Set lower right corner
  1183.  
  1184.  
  1185.                                        17
  1186.  
  1187.  
  1188.  
  1189.  
  1190.              Move  the cursor to adjust the size of the dotted box before 
  1191.              pressing the Select button.
  1192.  
  1193.         STEP 4 - Draw another symbol or exit
  1194.  
  1195.              * To draw the same symbol again, go to Step 2.
  1196.  
  1197.              * To  exit  or draw a different symbol,  you can do  one  of 
  1198.                three things:
  1199.  
  1200.                - Press Cancel to exit to level 1 and select any item from 
  1201.                  the main menu.
  1202.  
  1203.                - Move the cursor off the menu and press the Select button 
  1204.                  to auto-select the DRAW submenu.
  1205.  
  1206.                - Go to Step 1 to draw another symbol.
  1207.  
  1208.              * To delete or reposition the symbol,  perform the following 
  1209.                steps:
  1210.  
  1211.                A - Press  Cancel  to exit to level 1.   The arrow  cursor 
  1212.                    appears.
  1213.  
  1214.                B - Cancel  again.   The symbol last drawn disappears from 
  1215.                    the  screen.   The cursor is replaced by a dotted  box 
  1216.                    which indicates the boundaries of the symbol.
  1217.  
  1218.                C - Move   the   box   to  the   desired   location    and            
  1219.                    press Select. The symbol will appear on  the screen at 
  1220.                    that location.
  1221.  
  1222.                D - Repeat  Step  C  to place multiple copies  of  of  the 
  1223.                    symbol.  Or, press Cancel to exit to level 1.
  1224.  
  1225.  
  1226.         6.1.2 Draw line or curve
  1227.  
  1228.              * To  draw  a  line,  move  the cursor to the starting point 
  1229.                and   press  the Select button.   Then,  begin moving  the 
  1230.                cursor   to   the   desired    ending  point.    TurboDraw 
  1231.                displays a dotted line which moves as you move the cursor.  
  1232.                When  you  reach the desired ending  point,  press  Select 
  1233.                again.  You can either press the cancel button to complete 
  1234.                the line, or continue to mark the ending point of the next 
  1235.                segment  of the line.  Continue in this fashion until  you 
  1236.                have finished drawing the line.  
  1237.  
  1238.  
  1239.  
  1240.                                        18
  1241.  
  1242.  
  1243.  
  1244.  
  1245.              * To    draw   a  CURVE,   you  must  mark   three   control        
  1246.                points,  P1,  P2,  and P3.  First,  move the cursor to the 
  1247.                beginning point (P1)  and press Select.  Then begin moving 
  1248.                the cursor to the desired mid-point (P2).  TurboDraw draws 
  1249.                a  dotted  line between P1 and P2.   Press Select  at  the 
  1250.                desired mid-point.  Finally, move the cursor to the ending 
  1251.                point (P3) of the curve and press Select.   Note that  the 
  1252.                curve   does  not  actually  pass  through  P2  but   only 
  1253.                "approaches" P2.
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.                                        19
  1296.  
  1297.  
  1298.  
  1299.         6.1.3 Draw Circle
  1300.  
  1301.         STEP 2 - Mark   center  of  circle.   Rubberband  line   appears, 
  1302.                  representing the radius.
  1303.  
  1304.         STEP 3 - Mark radius of circle. Circle is drawn. Go to STEP 4.
  1305.  
  1306.  
  1307.         6.1.4 Half Circle and Quarter Circle
  1308.  
  1309.         STEP 2 - Mark starting point. Rubberband line is formed.
  1310.  
  1311.         STEP 3 - Mark  ending point.  An arc is drawn clockwise from  the 
  1312.                  starting point to the ending point. Go to STEP 4.
  1313.  
  1314.  
  1315.         6.1.5 Arc (partial circle)
  1316.  
  1317.         STEP 2 - Mark  the  center of circle.  Rubberband  line  appears, 
  1318.                  representing the radius.
  1319.  
  1320.         STEP 3 - Mark the starting point (the radius is also defined),  A 
  1321.                  dotted circle appears. Then mark the ending point on the 
  1322.                  circle.  The  Arc is drawn clockwise from  the  starting 
  1323.                  point to the ending point. Go to STEP 4.
  1324.  
  1325.         6.1.6 Fill
  1326.  
  1327.              To fill an closed area with a pattern, you must mark a point 
  1328.              within the area.  The marked point becomes the control point 
  1329.              of the Fill element. Note that since the area is first solid 
  1330.              filled  then turned into the pattern,  the pattern may  leak 
  1331.              into adjacent fill pattern,  if it contains solid horizontal 
  1332.              lines.
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.                                        20
  1351.  
  1352.  
  1353.  
  1354.         6.2 EDIT
  1355.  
  1356.  
  1357.         The  EDIT submenu allows you to modify a drawing using a  variety 
  1358.         of methods. 
  1359.  
  1360.         6.2.1 Edit Text
  1361.  
  1362.         STEP 1 - Select Text
  1363.  
  1364.              Pan  the screen so that the whole text block appears on  the 
  1365.              screen.   Move  the  cursor close to the start of  the  text 
  1366.              block and press the Select button.  This action displays the 
  1367.              text cursor ([) at the end of the text block.
  1368.  
  1369.         STEP 2 - Modify text
  1370.  
  1371.              Modify text using the following rules:
  1372.  
  1373.              1.  You cannot replace (overstrike) characters.
  1374.  
  1375.              2.  Newly entered text is always  inserted.
  1376.  
  1377.              3.  You can  create new lines of text by pressing the  Enter 
  1378.                  key, which generates a Carriage Return <cr> character.
  1379.  
  1380.              4.  The  first  character of the text block marks  the  left 
  1381.                  margin for subsequent lines.
  1382.  
  1383.              5.  Cursor keys move the cursor WITHIN the text  block,  and 
  1384.                  do  not generate spaces.  Use the Space Bar to  generate 
  1385.                  spaces. 
  1386.  
  1387.              6.  The   Backspace   or  Delete  key  deletes   characters, 
  1388.                  including <cr>.
  1389.  
  1390.              7.  The    maximum   length  for  a  text   block   is   256          
  1391.                  characters, including <cr>'s.
  1392.  
  1393.  
  1394.         STEP 3 - Terminate or abort
  1395.              
  1396.              To terminate the current text block, press Ctrl-Z.
  1397.  
  1398.              To  abort  and exit to level 1,  press  Ctrl-C.
  1399.  
  1400.  
  1401.         STEP 4 - Create another text block or exit
  1402.  
  1403.  
  1404.  
  1405.                                        21
  1406.  
  1407.  
  1408.  
  1409.              When you complete a text block,  the program reactivates the 
  1410.              crosshair  cursor which you can move to a new  location  and 
  1411.              start  another text block.  Press the Cancel button to  quit 
  1412.              entering text. 
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.                                        22
  1461.  
  1462.  
  1463.  
  1464.         6.2.2 Select Element, Object, and Section
  1465.  
  1466.         To edit a drawing, first you must specify the element, object, or 
  1467.         section  to be modified.   To do this,  choose one of the  Select 
  1468.         items from the Edit submenu.  
  1469.  
  1470.         After selecting and exiting to the main menu,  the program places 
  1471.         the selected element,  object,  or section in the SELECT  BUFFER.  
  1472.         Although the program still displays the selected element, object,  
  1473.         or  section,  the program  actually deletes it from the database.  
  1474.         The dotted boxes on the screen are not part of the  drawing,  and 
  1475.         therefore  disappear when you Pan or Refresh the screen.   If you 
  1476.         subsequently  choose  the Config or File submenu,  or  Select  or 
  1477.         Deselect from the Edit submenu,  the program returns the selected 
  1478.         element, object, or area to the drawing database.
  1479.  
  1480.         * Select Element or Object
  1481.  
  1482.         STEP 1 - Pick element
  1483.  
  1484.              Move  the cursor to the vicinity (within .5") of one of  the 
  1485.              control  points of the desired element and press  Select.  A 
  1486.              dotted  box  appears  around the  element,  and  the  cursor 
  1487.              changes into a question mark.
  1488.  
  1489.         STEP 2 - Confirm selection
  1490.  
  1491.              Press Select to confirm your selection,  or Cancel if it  is 
  1492.              the wrong element.
  1493.  
  1494.              If  another element shares the same control point,  a dotted 
  1495.              box  appears around that element as well.   If this  is  the 
  1496.              case, repeat this step.
  1497.  
  1498.              Once  you confirm your selection,  the cursor  changes to  a 
  1499.              crosshair.
  1500.  
  1501.         STEP 3 - Exit or select another
  1502.  
  1503.              Press  Cancel  to exit,  or go to Step 1 to  select  another 
  1504.              element. 
  1505.  
  1506.         STEP 4 - Another way to exit
  1507.  
  1508.              Move the cursor to the main menu area and press Select.
  1509.  
  1510.  
  1511.         * Select Section
  1512.  
  1513.  
  1514.  
  1515.                                        23
  1516.  
  1517.  
  1518.  
  1519.         STEP 1 - Mark upper left corner of area
  1520.  
  1521.              Move  the  cursor to the upper left corner of the  area  you 
  1522.              wish to select, and press the Select button.
  1523.  
  1524.         STEP 2 - Mark lower right corner of area
  1525.  
  1526.              Move  the  cursor to the lower right corner of the  area  so 
  1527.              that the dotted box encompasses the target area,  and  press 
  1528.              the Select button.
  1529.  
  1530.         6.2.3 Reduce/Enlarge
  1531.  
  1532.         You  can  reduce or enlarge the selected area using one  of  four 
  1533.         options:  Reduce 70.7%, Reduce 84.7%, Enlarge 118.0%, and Enlarge 
  1534.         141.4%.  Note the following calculations.
  1535.  
  1536.         * 0.707=1/1.414
  1537.  
  1538.         * 0.847=1/1.18
  1539.  
  1540.         * 0.707*0.707=.5
  1541.  
  1542.         * 1.414*1.414=2
  1543.  
  1544.         After  the  operation,  the reduced or enlarged  elements  remain 
  1545.         selected,  as  indicated by the presence of the dotted box.   You 
  1546.         can repeat the operation as many times as necessary.
  1547.  
  1548.  
  1549.         6.2.4 Cut and Paste 
  1550.  
  1551.         You  will  generally use the Cut option to  remove  the  selected 
  1552.         element,  object,  or area from the drawing. You can then use the 
  1553.         Paste  option  to  restore the CUT BUFFER contents,  or  to  make 
  1554.         multiple copies of the CUT BUFFER contents on the drawing.
  1555.  
  1556.  
  1557.         * Cut
  1558.  
  1559.         Cut removes the selected element, object, or area from the SELECT 
  1560.         BUFFER  and from the display and puts the associated data in  the 
  1561.         CUT  BUFFER.  You  can restore the CUT BUFFER contents  with  the 
  1562.         Paste command.  
  1563.  
  1564.         WARNING:   If  you  perform  another Cut,  or a  File  or  Config 
  1565.         operation,  the  program purges the CUT BUFFER  and the  previous 
  1566.         contents  are   lost.   Other editing commands  such  as  Reduce, 
  1567.         Enlarge, Edit Text, and  Move also overwrite the CUT BUFFER. 
  1568.  
  1569.  
  1570.                                        24
  1571.  
  1572.  
  1573.  
  1574.  
  1575.         If you select Cut without specifying an element,  line,  or area, 
  1576.         it behaves like a Select section followed by a Cut.  This feature 
  1577.         provides  you  with  a  shortcut for deleting an  area  from  the 
  1578.         drawing. 
  1579.  
  1580.         * Paste 
  1581.  
  1582.         The  Paste command transfers the  data in the CUT BUFFER  to  the 
  1583.         drawing.  Paste  also  moves  or  makes multiple  copies  of  the 
  1584.         element, object, or section in the CUT BUFFER.
  1585.  
  1586.  
  1587.         STEP 1 - Mark location to paste
  1588.  
  1589.              When you choose Paste,  the program replaces the cursor with 
  1590.              a dotted box which represents the boundaries of the element, 
  1591.              object,  or  area in the CUT BUFFER.   Move the box  to  the 
  1592.              desired  location and press the Select button.  The  program 
  1593.              draws the element,  object, or area in the CUT BUFFER at the 
  1594.              selected location.
  1595.  
  1596.         STEP 2 - Cancel or repeat
  1597.  
  1598.              To copy the CUT BUFFER contents at other  locations,  repeat 
  1599.              Step 1.  Otherwise, press Cancel to exit to level 1. 
  1600.  
  1601.  
  1602.  
  1603.         6.2.5 Move
  1604.  
  1605.         The  Move command is essentially a combination of Cut and  Paste.  
  1606.         Refer to 6.2.4 for instructions. 
  1607.  
  1608.  
  1609.         6.2.6 Delete Last Object
  1610.  
  1611.         The  primary use of Delete Last Object is to reposition the  last 
  1612.         drawn  object.   Essentially,  it  cuts the most  recently  drawn 
  1613.         object  and  places the associated data in the  CUT  BUFFER.   To 
  1614.         restore the object, use the Paste command. 
  1615.  
  1616.         WARNING:   Repititious  use of this command can clear the  entire 
  1617.         drawing.
  1618.  
  1619.         Another  convenient  way  to delete the last drawn object  is  to 
  1620.         press  the Cancel button in level 1,  but this only works if  the 
  1621.         previous submenu is DRAW. 
  1622.  
  1623.  
  1624.  
  1625.                                        25
  1626.  
  1627.  
  1628.  
  1629.  
  1630.         6.2.7 Deselect
  1631.  
  1632.         Deselect appends the selected element,  object, or section to the 
  1633.         database,  which  means  that the  element,  object,  or  section 
  1634.         becomes the most recently drawn element.
  1635.  
  1636.  
  1637.         6.2.8 Redraw
  1638.  
  1639.         Redraw causes TurboDraw to clear the drawing area and repaint  it 
  1640.         using the element descriptors in the database. If you have edited 
  1641.         the  drawing  extensively,  you should use this option since  the 
  1642.         drawing may not exactly match the database.   For  example,  when 
  1643.         you  delete  one of two intersecting or  overlapping  lines,  the 
  1644.         remaining line will appear disjointed.
  1645.  
  1646.         Redraw also causes causes the grid to be cleared.
  1647.  
  1648.  
  1649.         6.2.9 Change Style
  1650.  
  1651.         This  command cuases the line style of the selected symbols to be 
  1652.         changed  to  the current line style setting.  If no  symbols  are 
  1653.         selected,  the  cursor  will change to a cross hair and  you  are 
  1654.         expected to select a section of symbols.
  1655.  
  1656.  
  1657.         6.2.10 Trim
  1658.  
  1659.         This  powerful command can be used to move the control points  of 
  1660.         drawn  elements and therefore change the shape of  objects.  Move 
  1661.         your cursor close to the control point that you want to move, and 
  1662.         press   the  select  button.   The  selected  control  point   is 
  1663.         highlighted by having a dotted box around it.  You should mark  a 
  1664.         new  locatin for the control point.  All elements having the same 
  1665.         control point are affected.  This command is useful in  adjusting 
  1666.         the  length  of a line,  adjusting the curvature of a  curve,  or 
  1667.         changing the shape of a symbol.
  1668.  
  1669.  
  1670.         6.2.11 Rotate
  1671.  
  1672.         This command is used to change the shape of the selected objects. 
  1673.         The effect of rotate X and rotate Y is similar to stretching.  If 
  1674.         the  angle  of rotation is less than 180 degrees,  the object  is 
  1675.         reduced.  If the angle is greater than 180 degrees, the object is 
  1676.         expanded.
  1677.  
  1678.  
  1679.  
  1680.                                        26
  1681.  
  1682.  
  1683.  
  1684.         6.3 CONFIGURATION
  1685.  
  1686.         From the Config submenu, you can select the drawing size, display 
  1687.         a full view of most drawings,  clear the drawing,  create  border 
  1688.         lines and an information box, and turn on the grid.
  1689.  
  1690.  
  1691.         6.3.1 Drawing Size
  1692.  
  1693.         TurboDraw  supports  six drawing sizes,  ranging from the ANSI  A 
  1694.         size  to  the ANSI E size.  The dimensions for  these  sizes  are 
  1695.         listed  in  the  table below.  The default  drawing  size  (after 
  1696.         startup) is A (11" wide, 8.5" high).
  1697.  
  1698.         Wide  carriage printer 11" x 14" paper is also supported  and  is 
  1699.         dubbed W (for wide carriage).
  1700.  
  1701.  
  1702.                 size   dimension      printed area
  1703.                 ----   ---------      ------------
  1704.                   A    8.5 x 11           8 x 10.5
  1705.                   B     11 x 17        10.5 x 16
  1706.                   C     17 x 22          16 x 21
  1707.                   D     22 x 34          21 x 32
  1708.                   E     34 x 44          32 x 42
  1709.                   W     11 x 14        13.5 x 10.5
  1710.  
  1711.  
  1712.         Each  size has two orientations,  horizontal (width > height)  or 
  1713.         vertical  (height > width),  giving  you  a total of twelve  (12) 
  1714.         drawing sizes to select from.
  1715.  
  1716.         Note that due to the 640K memory restriction,  the E size drawing 
  1717.         is  shown  on  the  screen in  a  70.7%  scale,  but  the  actual 
  1718.         printed/plotted drawing is full size.
  1719.  
  1720.         WARNING:  If you change the paper size after you have started the 
  1721.         drawing,  you will lose everything up to that point.   Therefore, 
  1722.         ensure that you change the paper size BEFORE doing any work.
  1723.  
  1724.  
  1725.         6.3.2 Full View
  1726.  
  1727.         Full  View  shrinks  the  drawing  and  displays  it  in  reverse 
  1728.         highlight at the upper left corner of the screen.   To remove the 
  1729.         Full  View  display  from  the screen,  pan the  drawing  in  any 
  1730.         direction.
  1731.  
  1732.  
  1733.  
  1734.  
  1735.                                        27
  1736.  
  1737.  
  1738.  
  1739.  
  1740.         6.3.3 Clear
  1741.  
  1742.         Clear deletes the drawing display and database.   Note,  however, 
  1743.         that the CUT BUFFER is not affected by this operation. 
  1744.  
  1745.  
  1746.         6.3.4 Border Line
  1747.  
  1748.         Border  Line  draws a line around the border of the  drawing  .8" 
  1749.         from the paper edge.   If you decide to use this feature,  do  it 
  1750.         before you start the actual drawing.
  1751.  
  1752.  
  1753.         6.3.5 Info Box
  1754.  
  1755.         Info  Box  draws an information box on the lower right corner  of 
  1756.         the drawing.  If you decide to use this feature, do it before you 
  1757.         start the actual drawing.  An example of how to use this  feature 
  1758.         appears below.
  1759.  
  1760.           
  1761.                    --------------------------------
  1762.                   |  company name/logo             |
  1763.                   |--------------------------------|
  1764.                   |  project name                  |
  1765.                   |--------------------------------|
  1766.                   | SIZE | drawing name/revision   |
  1767.                   |--------------------------------|
  1768.                   | scale     | date     | sheet   |
  1769.                    --------------------------------
  1770.  
  1771.  
  1772.         6.3.6 Grid
  1773.  
  1774.         Grid  superimposes  a  grid on your drawing by displaying  a  dot 
  1775.         every 16 pixels both horizontally and veritcally.   This  feature 
  1776.         enables you to align the objects in the drawing. 
  1777.  
  1778.         Note  that the grid is not part of the drawing,  and only appears 
  1779.         on the screen for reference.   This command acts like a toggle in 
  1780.         that it turns the grid on and off.
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.                                        28
  1791.  
  1792.  
  1793.  
  1794.  
  1795.         6.3.7 Snap to Grid
  1796.  
  1797.         This  command  causes the cursor to be attracted to  the  closest 
  1798.         grid point,  or to the mid point between grid points.  In essence 
  1799.         the cursor moves in .125 (1/8") steps.
  1800.  
  1801.         Using  the cursor keys causes the cursor to snap to grid  whether 
  1802.         the command is in effect or not. Note that this commnad also acts 
  1803.         like a toggle.
  1804.  
  1805.  
  1806.         6.3.8 View = 1:1
  1807.  
  1808.         This commnad causes the drawing to be displayed in full size.
  1809.  
  1810.  
  1811.         6.3.9 View = 1/2
  1812.  
  1813.         This  command  causes the drawing to be displayed in one half  of 
  1814.         the original size.  Note that this command only affects the  view 
  1815.         of the drawing, the size of the drawing remain unchanged.
  1816.  
  1817.         The result of this commnad is cumulative.  Executing this command 
  1818.         twice causes the drawing to appear to be 1/4 the original size.
  1819.  
  1820.  
  1821.         6.3.10 View = X2
  1822.  
  1823.         This  command causes the drawing to be displayed in twice of  the 
  1824.         original  size.  
  1825.  
  1826.         This  command allows you to zoom-in  to  your drawing for  detail 
  1827.         work.  Note  that  the drawing area remains the same  size,   and 
  1828.         therefore  only 1/4 of the drawing remains in the  drawing  area.  
  1829.         To  view the whole drawing in this expanded  view,   change  your 
  1830.         drawing size to 4 times larger before executing this command.
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.                                        29
  1846.  
  1847.  
  1848.  
  1849.         6.4 FILE
  1850.  
  1851.  
  1852.         The  File  submenu  enables you to  perform  several  fundamental 
  1853.         tasks,  for  example,  load a drawing,  load a .LBR  file  (user-
  1854.         defined object definition file),  save a drawing, print or plot a 
  1855.         drawing,  and  exit or quit the program.   In addition,  you  can 
  1856.         perform  several  essential  DOS commands from  inside  TurboDraw 
  1857.         without having to exit the program,  for example,  delete a file, 
  1858.         copy  a  file,  and  list the contents  of  the  current  default 
  1859.         directory. 
  1860.  
  1861.         Note  that  a  file  name can  include  drive  specification  and 
  1862.         pathname,  or  can  be  a device name.  The file  name  extension 
  1863.         defaults to the following if not specified. To specify blank file 
  1864.         name extension you must terminate your file name with a period.
  1865.  
  1866.              * When saving or loading a file,  the file name extension is 
  1867.                assumed  to  be  .DRW  if  not  specified.  File  name  is 
  1868.                deblanked.
  1869.  
  1870.              * When  saving  a  file,  the original file  is  renamed  to 
  1871.                "filename.BAK" to provide a backup.
  1872.  
  1873.              * When  loading a library file,  the file name extension  is 
  1874.                assumed to be .LBR.
  1875.  
  1876.  
  1877.         6.4.1 Read into Cut Buffer
  1878.  
  1879.         This option reads a previously saved partial drawing into the Cut 
  1880.         Buffer and make it ready to be pasted.
  1881.  
  1882.          
  1883.         6.4.2 Write from Select
  1884.  
  1885.         The selected objects are saved to the specified file. This option 
  1886.         is  used to save partial drawing which can later be  merged  with 
  1887.         other drawings.
  1888.  
  1889.  
  1890.         6.4.3 Write PCX file
  1891.  
  1892.         TurboDraw   can  save  the  drawing in  .PCX  file  format.   The  
  1893.         resultant  drawing   has  the  same  resolution  as  your   video  
  1894.         display.  Note  that TurboDraw cannot read .PCX files.
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.                                        30
  1901.  
  1902.  
  1903.  
  1904.  
  1905.         6.4.4 Write TIFF file
  1906.  
  1907.         TurboDraw can save the drawing in .TIF file format. The .TIF file 
  1908.         has  a resolution of 150 dpi in both the horizontal  or  vertical 
  1909.         direction.   The maximum drawing area that is written to the .TIF 
  1910.         file is 14"X11". Note that TurboDraw cannot read .TIF files.
  1911.  
  1912.  
  1913.         6.4.5 Load .LBR File
  1914.  
  1915.         This  option  allows  you to open and read into  memory  a  user-
  1916.         defined  or  user-created (using TBSYMB,  refer  to  appendix  A) 
  1917.         object definition file.
  1918.  
  1919.         On startup,  TurboDraw automatically loads the file DRAW0.LBR  as 
  1920.         the default library file.
  1921.  
  1922.  
  1923.         6.4.6 Load
  1924.  
  1925.         Load  allows you to read into memory a previously saved  drawing. 
  1926.         Since this operation DOES NOT CLEAR the current drawing,  you can 
  1927.         use it to merge multiple drawings.
  1928.  
  1929.  
  1930.         6.4.7 Save
  1931.  
  1932.         This option saves the current drawing to the file you specify, in 
  1933.         the format as defined in Appendix B.
  1934.  
  1935.  
  1936.         6.4.8 Dir, Del, Copy
  1937.  
  1938.         The Dir option allows you to list the file names and sizes in the 
  1939.         current default directory. 
  1940.  
  1941.         Del deletes a file.
  1942.  
  1943.         Copy copies a file.
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.                                        31
  1956.  
  1957.  
  1958.  
  1959.         6.4.9 Print
  1960.  
  1961.         The   Print  option  saves  the  current  drawing  in  EZCAD.TMP, 
  1962.         generates  printer output,  and sends the output to a printer  or 
  1963.         SPOOL file.
  1964.  
  1965.         A  convenient  feature  of TurboDraw is the  SPOOLing  capability 
  1966.         which  enables you to direct drawing output to a  file.   If  you 
  1967.         direct  output to a file,  you can print drawing output at a more 
  1968.         convenient  time,  or from a PC that is connected to  the  proper 
  1969.         printer.  
  1970.  
  1971.         In  addition,  you  can create a SPOOL command to  print  drawing 
  1972.         files in background.  See Appendix D for instructions on creating 
  1973.         SPOOL.COM. 
  1974.  
  1975.         When  you  select Print from the File submenu,   it displays  the 
  1976.         following prompt:
  1977.  
  1978.              Device name: PRN
  1979.  
  1980.         You your output is not LPT1,  you must specify another file  name 
  1981.         or device name. 
  1982.  
  1983.         To  accept the default,  simply press Enter.   This action causes 
  1984.         the drawing output to be printed on your printer.
  1985.  
  1986.         To enter another file name, type the file name using standard DOS 
  1987.         file-naming conventions, and press Enter.  This action causes the 
  1988.         drawing  output  to  be  written  to  the  file  whose  name  you 
  1989.         specified.  TurboDraw generates one output file for each sheet in 
  1990.         the drawing.   In this case,  TurboDraw increments the file  name 
  1991.         extension.   For example,  if you entered SPOOL.0, the output for 
  1992.         the first sheet is written to SPOOL.0, the second to SPOOL.1, and 
  1993.         so on.   If you specify another file name,  e.g. TEST.A, then the 
  1994.         first  sheet is written to TEST.A,  the second to TEST.B,  and so 
  1995.         on.
  1996.  
  1997.         To print a SPOOL file, use the TurboDraw EZPRINT utility included 
  1998.         in this package. 
  1999.  
  2000.         WARNING:   Since  the TurboDraw Print option generates  a  binary 
  2001.         bit-image  dump  and the DOS "PRINT" command expects  ASCII-coded 
  2002.         characters,  you cannot use DOS "PRINT" to print TurboDraw  SPOOL 
  2003.         files.
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010.                                        32
  2011.  
  2012.  
  2013.  
  2014.         EZPRINT has the following format:
  2015.  
  2016.              EZPRINT <filename> <devicename>
  2017.  
  2018.         For  example,  if the file name is SPOOL.0 and the device name is 
  2019.         LPT1, the command would be:
  2020.  
  2021.              EZPRINT SPOOL.0 LPT1
  2022.  
  2023.         To  send drawing output directly to a  device  (e.g.  PRN,  LPT1, 
  2024.         COM1,  or  other  custom-installed  devices supported  by  custom 
  2025.         drivers), type the device name at the prompt, and press the Enter 
  2026.         key.   Note  that if the target printer is connected to a  serial 
  2027.         port,  you  must  set  the proper baud rate using  the  DOS  MODE 
  2028.         command prior to loading TurboDraw.
  2029.  
  2030.         You can abort the Print command by pressing the Escape key or the 
  2031.         Ctrl-C combination.
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.                                        33
  2066.  
  2067.  
  2068.  
  2069.         6.4.10 Plot
  2070.  
  2071.         The Plot option generates plotter commands and sends the commands 
  2072.         directly to a plotter or SPOOL file.
  2073.  
  2074.         A  convenient  feature of TurboDraw is  the  SPOOLing  capability 
  2075.         which  enables  you to direct drawing output to a file.   If  you 
  2076.         direct  output  to a file,  you can plot the drawing  at  a  more 
  2077.         convenient  time,  or  from a PC that is connected to the  proper 
  2078.         plotter.
  2079.  
  2080.         Ensure that the plotter is on line and set up properly before you 
  2081.         start to plot.
  2082.  
  2083.         When  you  select  Plot from the File submenu,  it  displays  the 
  2084.         following prompt:
  2085.  
  2086.              Device name: SPOOL.0
  2087.  
  2088.         You  can  accept  the default file  name  (SPOOL.0),  or  specify 
  2089.         another file name or device name. 
  2090.  
  2091.         To accept the default,  simply press Enter.   This action  causes 
  2092.         the drawing output to be written to the file named SPOOL.0.  
  2093.  
  2094.         To enter another file name, type the file name using standard DOS 
  2095.         file-naming conventions, and press Enter.  This action causes the 
  2096.         drawing  output  to  be  written  to  the  file  whose  name  you 
  2097.         specified.  
  2098.  
  2099.         To  plot  a  SPOOL file,  use any program that sends files  to  a 
  2100.         device (e.g.,  COPY,  PRINT,  EZPRINT,  etc.).  Since SPOOL files 
  2101.         contain  only "printable" ASCII codes,  you can use  any  program 
  2102.         that  sends  files to a device to plot them as in  the  following 
  2103.         examples.
  2104.  
  2105.                   COPY SPOOL.0 COM2
  2106.  
  2107.                   PRINT SPOOL.0
  2108.                   Name of List Device [PRN]: COM2
  2109.  
  2110.                   EZPRINT SPOOL.0 COM2
  2111.            
  2112.         To send drawing output directly to a device (e.g.  COM1, COM2, or 
  2113.         other  custom-installed  devices sup-ported by  custom  drivers), 
  2114.         simply  type the device name at the prompt,  and press the  Enter 
  2115.         key.
  2116.  
  2117.         To resolve plotting problems, refer to Appendix J.
  2118.  
  2119.  
  2120.                                        34
  2121.  
  2122.  
  2123.  
  2124.          
  2125.         6.4.11 Quit
  2126.  
  2127.         Quit  ABANDONS  the  current drawing and returns control  to  the 
  2128.         operating system.  
  2129.  
  2130.         WARNING:   This  option does NOT SAVE the current  drawing.   Use 
  2131.         this option only to ABORT.
  2132.  
  2133.  
  2134.         6.4.12 Exit
  2135.  
  2136.         Exit saves the current drawing to the file you originally  loaded 
  2137.         and returns control to the operating system.
  2138.  
  2139.  
  2140.  
  2141.  
  2142.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147.  
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.                                        35
  2176.  
  2177.  
  2178.  
  2179.         6.5 STYLE
  2180.  
  2181.  
  2182.         The  Style  submenu  allows you to set the font  size  (character 
  2183.         size),  line  spacing  and style,  and color  for  plotting.   An 
  2184.         asterisk  (*) to the immediate left of a submenu  item  indicates 
  2185.         the current selection. 
  2186.  
  2187.  
  2188.  
  2189.         6.5.1 Font Size
  2190.               
  2191.         You can select from three font (character) sizes:  small, medium, 
  2192.         and large.  The last-selected font size stays in effect until you 
  2193.         change it again.  
  2194.  
  2195.         * Small
  2196.  
  2197.              Character  cell size is .07" x .15",  which is equivalent to 
  2198.              14 CPI and 6.7 LPI.
  2199.  
  2200.         * Regular
  2201.  
  2202.              Character cell size is .12" x .25",  which is equivalent  to 
  2203.              8.3 CPI and 4 LPI.
  2204.  
  2205.         * Large
  2206.  
  2207.              Character  cell size is .2" x .3",  which is equivalent to 5 
  2208.              CPI and 3.3 LPI.
  2209.  
  2210.         Note  that these sizes are not compatible with the 10 CPI  and  6 
  2211.         LPI industry-standard  printer or typewriter character size.
  2212.  
  2213.         The  characters consist of built-in bit-mapped images and  cannot 
  2214.         be  enlarged  or reduced.   TurboDraw dynamically loads the  font 
  2215.         files (*.FNT) according to the type of display used.
  2216.  
  2217.  
  2218.         6.5.2 Line Type
  2219.  
  2220.         You  can  select from among  five  line  types:  Single,  Double, 
  2221.         Triple, Dotted, and Dashed.
  2222.           
  2223.         TurboDraw  uses the line type to construct symbols consisting  of 
  2224.         lines.  As with font size, the last-selected line type remains in 
  2225.         effect until you change it again.   
  2226.  
  2227.  
  2228.  
  2229.  
  2230.                                        36
  2231.  
  2232.  
  2233.  
  2234.         Note  that  the plotter driver does not support double or  triple 
  2235.         line  types,  and therefore draws these lines using single  solid 
  2236.         lines.
  2237.  
  2238.  
  2239.         6.5.3 Plotting with Colors
  2240.  
  2241.         You  can select a different color  for each object or  symbol  on 
  2242.         your  drawing through the Style submenu.   As with line type  and 
  2243.         font,  the last-selected color remains in effect until you select 
  2244.         another.  
  2245.  
  2246.         Note  that the colors are plotted only,  and do not appear on the 
  2247.         display.
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271.  
  2272.  
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281.  
  2282.  
  2283.  
  2284.  
  2285.                                        37
  2286.  
  2287.  
  2288.  
  2289.         6.6 LIBRARY
  2290.  
  2291.  
  2292.         The  Library Submenu allows you to draw with user-defined symbols 
  2293.         contained in library files.   The default file name for the  file 
  2294.         containing  user-defined  symbols  is DRAW0.LBR.  You  can  build 
  2295.         additional  libraries or expand DRAW0.LBR  using the  information 
  2296.         in Appendix A.
  2297.  
  2298.         As  shipped,   DRAW0.LBR  contains  four  non-standard   symbols:  
  2299.         Organizational  chart  box,   Floppy  diskette,  Queue  structure 
  2300.         (FIFO), and Stack structure (LIFO).
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.  
  2315.  
  2316.  
  2317.  
  2318.  
  2319.  
  2320.  
  2321.  
  2322.  
  2323.  
  2324.  
  2325.  
  2326.  
  2327.  
  2328.  
  2329.  
  2330.  
  2331.  
  2332.  
  2333.  
  2334.  
  2335.  
  2336.  
  2337.  
  2338.  
  2339.  
  2340.                                        38
  2341.  
  2342.  
  2343.  
  2344.         APPENDIX A: Building Library Files
  2345.  
  2346.  
  2347.         A.1 Elements, Objects, and Control Points
  2348.  
  2349.         The  element  is  the  most basic drawing  unit  that  EZCAD  can 
  2350.         produce.   All  drawings are built from command codes  describing 
  2351.         elements  which  EZCAD interprets.  Command codes with  values 0 
  2352.         through 20 are for elements. 
  2353.  
  2354.         An object or symbol  consists of a set of elements and is usually 
  2355.         a common symbol on a drawing.   For example,  a box consists of 4 
  2356.         lines (elements).  Objects are defined in the application program 
  2357.         or in libraries.
  2358.  
  2359.         Elements  are defined by control points.  For example,  a line is 
  2360.         defined by the starting and ending points.  These points form the 
  2361.         "descriptors"  for elements.  The descriptors also contain  style 
  2362.         and size information.
  2363.  
  2364.  
  2365.         A.2 Symbol Libraries
  2366.  
  2367.         A  symbol  library is not just a collection of lines  and  curves 
  2368.         that  you draw and save.  Instead,  it is a program written in  a 
  2369.         simple language consisting of single byte commands followed by 0, 
  2370.         1,   or  two-byte  operands,   which   EZCAD.COM  interprets  and 
  2371.         executes. You can write the program in straight-forward Assembler 
  2372.         syntax  and  assemble  it into  binary  code.  DRAW0.ASM  on  the 
  2373.         distribution  disk contains the source for DRAW0.LBR.   A summary 
  2374.         of available Assembler commands appears on the  next page.
  2375.  
  2376.  
  2377.         A.3 Using TBSYMB
  2378.  
  2379.         A  more  productive  way t¬î¬√brary file is  to  use  the 
  2380.         TBSYMB utility:
  2381.  
  2382.              1. Draw your symbols, save each symbol in one file.
  2383.  
  2384.              2. Exit TurboDraw
  2385.  
  2386.              3. Load your CRT driver (EGA, CGA or MGC)
  2387.  
  2388.              4. Load EZCAD
  2389.  
  2390.              5. Run TBSYMB
  2391.  
  2392.              6. Speficy Icon or Text menu.
  2393.  
  2394.  
  2395.                                        39
  2396.  
  2397.  
  2398.  
  2399.  
  2400.              7. Enter symbol file names, wild card is recommended.
  2401.  
  2402.              8. TBSYMB  will  continue to prompt for  symbol  file  names 
  2403.                 until a single <Enter> is pressed as the reply.
  2404.  
  2405.              9. Specify how menu cells are organized.
  2406.  
  2407.              10. Enter  output  library  file name.  File  type  .LBR  is 
  2408.                  recommended
  2409.  
  2410.         A.4 EZCAD commands
  2411.  
  2412.         Mnemonic  Value     Function
  2413.         --------- -----     --------
  2414.         RETURN        0     End    of   object.     Put   all    elements                     
  2415.                             into database.
  2416.         LINE        1       Draw line from PNT1 to PNT2.
  2417.         OVAL        2       Draw  ellipse  using  PNT1 and  PNT2  as  the 
  2418.                             envelope.
  2419.         CURVE3      3       Draw curve through PNT1, PNT2, and PNT3.
  2420.         CURVE4      4       Draw curve starting at PNT1,  using imaginary 
  2421.                             line  formed by PNT1 and PNT2 as the  tangent 
  2422.                             vector,   and  ending  at  PNT4,   using  the 
  2423.                             imaginary line formed by PNT3 and PNT4 as the 
  2424.                             tangent vector at PNT4.
  2425.         ERASE       5       Blank a 16x16 bit area.
  2426.         DOT         6       Draw a solid dot with radius of .06" at PNT1.
  2427.         CIRCLE      7       Draw  a small circle with  radius of .04"  at 
  2428.                             PNT1.
  2429.         ARROW       8       Draw   an  arrow  head  at  PNT2  using   the  
  2430.                             imaginary   line formed  by PNT1 and PNT2  as 
  2431.                             the vector.
  2432.         BITMAP      9       Draw  a   24x36  bitmap  at   PNT1.    (Upper 
  2433.                             left corner of bitmap is aligned with PNT1).
  2434.         PRINTS     10       Draw ASCII string.
  2435.         POINT      11       Turn one dot (pixel) on at PNT1.
  2436.         HCIRCLE    12       Draw  half circle clockwise  (visually)  from 
  2437.                             PNT1 to PNT2.
  2438.         QCIRCLE    13       Draw quarter circle clockwise (visually) from 
  2439.                             PNT1 to PNT2.
  2440.         RBOXON     21       Form  rubber band box using PNT1 as the upper 
  2441.                             left  corner  and  PNT2 as  the  lower  right 
  2442.                             corner.
  2443.         RBOXOFF    22       Turn rubber band box off.
  2444.         RBNDON     23       Form rubber band line from PNT1 to PNT2.
  2445.         RBNDOFF    24       Turn rubber band line off.
  2446.         PNT1       25       Change  cursor  to crosshair  and  read  next 
  2447.                             location,  marked by the Select button,  into 
  2448.  
  2449.  
  2450.                                        40
  2451.  
  2452.  
  2453.  
  2454.                             PNT1.
  2455.         PNT2       26       Same as PNT1.
  2456.         PNT3       27       Same as PNT1.
  2457.         PNT4       28       Same as PNT1.
  2458.         PNT5       29       Same as PNT1.
  2459.         PNT6       30       Same as PNT1.
  2460.         PNT7       31       Same as PNT1.
  2461.         PNT8       32       Same as PNT1.
  2462.         MOV        33       Move word from operand 2 to operand 1.
  2463.         SWAP       34       Swap word operand 1 with operand 2.
  2464.         ADD        35       Add word operand 2 into operand 1.
  2465.         SUB        36       Subtract word operand 2 from operand 1.
  2466.         MUL        37       Multiply  word  operand  2  with  operand  1, 
  2467.                             leaving result in operand 1. 
  2468.         DIV        38       Divide  word operand 1 by operand 2,  leaving 
  2469.                             result in operand 1.
  2470.         AND        39       AND operand 2 into operand 1.
  2471.         OR         40       OR operand 2 into operand 1.
  2472.         NOT        41       Invert word operand.
  2473.         NEG        42       Negate word operand.
  2474.         SHFR       43       Arithmetic shift right word operand.
  2475.         SHFL       44       Shift left word operand.
  2476.         CONST      45       Define  word  operand  as the  CON  (used  as 
  2477.                             operand).
  2478.         MSG        46       Display message pointed to by word operand.
  2479.         TEXT       47       Draw text pointed to by word operand.
  2480.         ATTR       48       Define attribute contained in word operand.
  2481.         D2I        49       Convert dot coordinate contained in PNT1 to 
  2482.                             real (.01") coordinate.
  2483.         I2D        50       Convert   real  (.01")  coordinate   to   dot 
  2484.                             coordinate.
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491.  
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.                                        41
  2506.  
  2507.  
  2508.  
  2509.         SETPNT     51       Move word operand 2 into operand 1,  and move 
  2510.                             cursor to operand 1.
  2511.         TLINE      52       Draw  line  from operand 1 to operand  2.  As 
  2512.                             long as ABS(X1-X2) or ABS(Y1-Y2) is less than 
  2513.                             7 (pixels) the line is drawn as a vertical or 
  2514.                             a horizontal line.
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520.  
  2521.  
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532.  
  2533.  
  2534.  
  2535.  
  2536.  
  2537.  
  2538.  
  2539.  
  2540.  
  2541.  
  2542.  
  2543.  
  2544.  
  2545.  
  2546.  
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555.  
  2556.  
  2557.  
  2558.  
  2559.  
  2560.                                        42
  2561.  
  2562.  
  2563.  
  2564.         APPENDIX B: Drawing File Format
  2565.  
  2566.  
  2567.         The drawing file contains 16-byte records.  Each record  contains 
  2568.         information for one element, with the following two exceptions:
  2569.  
  2570.         * 4-point-curve
  2571.  
  2572.              This  element  requires four control points,  and  therefore 
  2573.              consists of two records.  PNT4 is located at offset 4 in the 
  2574.              second record.
  2575.  
  2576.         * Text string
  2577.  
  2578.              The text string can contain up to 256  bytes;  therefore,  a 
  2579.              text  string  can require up to 22      contiguous  records. 
  2580.              The extension flag in each      record indicates whether the 
  2581.              text string extends into the next record.   Text information 
  2582.              starts at offset 8 in the first record, and starts at offset 
  2583.              4 in the extended records.
  2584.  
  2585.              The record format for the remaining elements appears on  the 
  2586.              next page. Note that only the control points required by the 
  2587.              element  are  filled  in.   The  rest of  the  bytes  remain 
  2588.              undefined. 
  2589.  
  2590.         Offset    Size      Contents
  2591.         ------    ----      --------
  2592.           0       word      (Ignored)
  2593.           2       byte      Element code,  taking a value from 0  through 
  2594.                             20 as listed in Appendix A.
  2595.           3       byte      b7 : start of object flag
  2596.                             b6 : extension flag
  2597.                             b5-b3 : color
  2598.                             b2-b0 : line type or character size.
  2599.           4       word      PNT1, X
  2600.           6       word      PNT1, Y
  2601.           8       word      PNT2, X
  2602.          10       word      PNT2, Y
  2603.          12       word      PNT3, X
  2604.          14       word      PNT3, Y
  2605.  
  2606.  
  2607.  
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615.                                        43
  2616.  
  2617.  
  2618.  
  2619.         APPENDIX C: Font File Format
  2620.  
  2621.  
  2622.         EZCAD  character  fonts are defined in special font  files  which 
  2623.         differ for each display or printer.   The number of dots required 
  2624.         by  each  character  cell for some standard  devices  are  listed 
  2625.         below. Note that the Epson printer, printing with a resolution of 
  2626.         120 dpi horizontal and 144 dpi vertical,  requires more dots than 
  2627.         any other device.
  2628.  
  2629.         The  size  of  a cell is actually larger than  the  character  to 
  2630.         provide  spacing between characters.  For example,  a 6 X 8  cell 
  2631.         contains a 5 X 7 character.
  2632.  
  2633.               Device        Small     Regular   Large
  2634.              -----------------------------------------
  2635.              MGC (12")      6 x 8    10 x 14   17 x 17
  2636.              CGA (13")      5 x 4     8 x 7    14 x 9
  2637.              EGA (14")      5 x 8     8 x 13   14 x 16
  2638.              IBM            8 x 10   14 x 18   24 x 21
  2639.              EPSON          8 x 21   14 x 36   24 x 43
  2640.              NEC            6 x 10   11 x 18   19 x 21
  2641.              OKIDATA        5 x 10    8 x 18   14 x 21
  2642.          
  2643.  
  2644.         All  characters of the same style occupy the same amount of space 
  2645.         in the font file.   Unused bits are zero-filled so that all cells 
  2646.         are of the same size regardless of the type of the device.   This 
  2647.         allows the font files to be accessed uniformly.
  2648.  
  2649.  
  2650.         Byte offset  Contents
  2651.         ----------------------------------------------------
  2652.            0 - 0A1F  144 8 x 18 small fonts, ASCII 20-AF
  2653.          A20 - 2BDF  144 16 x 30 regular fonts, ASCII 20-AF
  2654.         2BE0  3593  23 24 X 36 special symbols, ASCII B0C6
  2655.         3594 - 35B3  32 filler bytes
  2656.         35B4 - 7273  144 24 x 36 large fonts, ASCII 20-AF
  2657.  
  2658.  
  2659.  
  2660.  
  2661.  
  2662.  
  2663.  
  2664.  
  2665.  
  2666.  
  2667.  
  2668.  
  2669.  
  2670.                                        44
  2671.  
  2672.  
  2673.  
  2674.         APPENDIX F: TurboDraw Memory Layout
  2675.  
  2676.  
  2677.         The  DRAW.BAT  command file causes the following programs  to  be 
  2678.         loaded into memory.  When you exit TurboDraw, all programs except 
  2679.         the mouse driver are purged from the memory.
  2680.  
  2681.              1. Mouse driver
  2682.  
  2683.              2. Video driver
  2684.  
  2685.              3. Printer driver (optional)
  2686.  
  2687.              4. Plotter driver (optional)
  2688.  
  2689.              5. Drawing program (EZCAD)
  2690.  
  2691.              6. Application (TBDRAW)
  2692.                   Stack
  2693.                   Font
  2694.                   Drawing Area (virtual screen)
  2695.                   User Library
  2696.                   8K Bytes reserved for Library
  2697.                   Database
  2698.  
  2699.         The  application program (TBDRAW) is the last to be loaded and is 
  2700.         responsible  for providing the stack.  The memory space from  the 
  2701.         end of this program (which is also the end of stack area) to  the 
  2702.         end of memory (as reported by BIOS) is used for storing the draw-
  2703.         ing  and the database.  The order in which the drivers are loaded 
  2704.         is not important.
  2705.  
  2706.         TurboDraw uses two main data structures--the drawing area and the 
  2707.         database.
  2708.  
  2709.  
  2710.  
  2711.  
  2712.  
  2713.  
  2714.  
  2715.  
  2716.  
  2717.  
  2718.  
  2719.  
  2720.  
  2721.  
  2722.  
  2723.  
  2724.  
  2725.                                        50
  2726.  
  2727.  
  2728.  
  2729.         * Drawing area
  2730.  
  2731.              This is a contiguous piece of memory used to store the image 
  2732.              of  the whole drawing as it appears on the screen.  Each bit 
  2733.              in this area corresponds to a pixel on the screen.  What you 
  2734.              see  on the screen is a small  section  of  this  area.  The 
  2735.              amount  of  memory used  depends on the type of display  and 
  2736.              the drawing size.
  2737.  
  2738.         * Database
  2739.  
  2740.              The  element descriptors are stored in  the  database.   The 
  2741.              database  is a linked list of 16-byte buffers which  extends 
  2742.              to the end of memory.
  2743.  
  2744.              When  TruboFlow  is terminated  or  aborted,  the  operating 
  2745.              system  purges  the  application (TBDRAW)  and  regains  all 
  2746.              memory used by the drawing area and the database area.
  2747.  
  2748.  
  2749.  
  2750.  
  2751.  
  2752.  
  2753.  
  2754.  
  2755.  
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.  
  2777.  
  2778.  
  2779.  
  2780.                                        51
  2781.  
  2782.  
  2783.  
  2784.         APPENDIX G: Devices Supported by EZCAD
  2785.  
  2786.  
  2787.         Before discussing the devices supported by EZCAD, we will clarify 
  2788.         some  characteristics of the IBM asynchronous port (also known as 
  2789.         the serial port or RS-232 port,  designated as COM1 or COM2). The 
  2790.         asynchronous  port  on  the PC is  a  DTE  device.  That  is,  it 
  2791.         transmits  on  pin 2 and receives on pin 3.  To connect to a  DCE 
  2792.         device,  use a straight- through cable (pin 2 to pin 2,  pin 3 to 
  2793.         pin 3,  etc.).  To connect to another DTE device, cross pin 2 and 
  2794.         pin 3 (pin 2 to pin 3, pin 3 to pin 2). 
  2795.  
  2796.         Also,  for the port to transmit,  the CTS signal (pin 5) must  be 
  2797.         high;  for  the port to receive,  the DSR signal (pin 6) must  be 
  2798.         high.  The  DTR  signal  on  the PC (pin 20)  is  output  and  is 
  2799.         programmed high once initialized.
  2800.  
  2801.  
  2802.         G.1 Video Display
  2803.  
  2804.         MGC - Compatible  with  the  IBM monochrome display  adapter  and 
  2805.               monitor, but with all-dots-addressable graphics capability. 
  2806.               Not supported by  BIOS INT 10H.  It  has  more  dots on the 
  2807.               screen than both the CGA and the EGA.  It is also known  as 
  2808.               the  Hercules  monochrome graphics card,  or simply as  the 
  2809.               Hercules  card.  (Note  that Hercules  also  markets  color 
  2810.               graphics cards.)
  2811.  
  2812.         CGA - IBM Color Graphics Adapter.  It loses color capability when 
  2813.               used  in the high resolution all-dots-addressable  graphics 
  2814.               mode. Supported by BIOS and BASIC.
  2815.  
  2816.         EGA - IBM  Enhanced Graphics Adapter.  Delivers 16 colors even in 
  2817.               the graphics mode.  When treated as a CGA it  automatically 
  2818.               switches to the CGA mode.
  2819.  
  2820.         MCGA- Multi-Color  Graphics Array.  Built on the system board  of 
  2821.               the  PS/2  model 30.  Providing CGA compatibility  (in  CGA 
  2822.               mode, the MCGA doubles the number of scan lines, delivering 
  2823.               a sharper and much more pleasing image).
  2824.  
  2825.  
  2826.  
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.                                        52
  2836.  
  2837.  
  2838.  
  2839.         VGA - IBM Video-Graphics Array.  Built on the system board of the 
  2840.               PS/2 model 50,  60 and 80.  Compatible with the EGA and the 
  2841.               MCGA.   Providing  16  colors  in  the  highest  resolution 
  2842.               graphics mode.
  2843.  
  2844.  
  2845.                MGC      CGA      EGA      MCGA/CGA VGA/EGA
  2846.         ----------------------------------------------------
  2847.         Dots   720X348  640X200  640X350  640X400  640X350 
  2848.         Colors    2        2       16        2       16
  2849.         DPI     85X58    72X31    72X54    72X31    72X54
  2850.  
  2851.  
  2852.         Memory Requirement:
  2853.  
  2854.         Device    Min. (8" X 10.5")       Max. (32" X 21")
  2855.         ----------------------------------------------------
  2856.         MGC     48K bytes (640x609)   400K bytes (2688x1218)
  2857.         CGA     26K bytes (640x325)   184K bytes (2304x651)
  2858.         EGA     44K bytes (640x567)   319K bytes (2304x1134)
  2859.         EPSON  177K bytes (960x1512)  299K bytes (1620x1512)
  2860.  
  2861.  
  2862.         G.2 Printers
  2863.  
  2864.         EZCAD  supports  4  major  categories  of  printers:   EPSON/IBM, 
  2865.         NEC/TEC,  OKIDATA, and HP LaserJet and DeskJet. Most printers are 
  2866.         either  compatible  with,  or  emulate  at  least  one  of  these 
  2867.         categories.
  2868.  
  2869.         * IBM
  2870.  
  2871.              The IBM Graphics Printer is actually an EPSON printer. It is 
  2872.              emulated by almost all dot matrix printers. It is capable of 
  2873.              printing 240 dpi horizontally,  and 216 dpi vertically.  The 
  2874.              EZCAD IBM printer driver prints with a resolution of 120 dpi 
  2875.              by 72 dpi.
  2876.  
  2877.         * EPSON
  2878.  
  2879.              The  EZCAD EPSON printer driver prints with a resolution  of 
  2880.              120  dpi by 144 dpi.  Since it lacks the ability to  advance 
  2881.              the  paper in increments of 1/144",  the vertical  dot  gaps 
  2882.              (center-to-center) are 1/216",  2/216",  1/216",  and so on. 
  2883.              Delivers an average resolution of 144 dpi.
  2884.  
  2885.  
  2886.  
  2887.  
  2888.  
  2889.  
  2890.                                        53
  2891.  
  2892.  
  2893.  
  2894.         * EPSON 24-pin printer
  2895.  
  2896.              EPSON24 printer driver prints with a resolution of 120dpi by 
  2897.              180 dpi.
  2898.  
  2899.         * NEC
  2900.  
  2901.              Capable  of  printing  at 136 dpi horizontally and  144  dpi 
  2902.              vertically,   the   driver  delivers  96  dpi  and  72   dpi 
  2903.              respectively.
  2904.  
  2905.         * OKIDATA
  2906.  
  2907.              Prints  at 72 dpi horizontally and 72  dpi  vertically.  You 
  2908.              must set this printer to accept 8-bit data.
  2909.  
  2910.         * HP LaserJet and DeskJet
  2911.  
  2912.              Capable  of  printing  at 300 dpi horizontally and  300  dpi 
  2913.              vertically, the driver delivers 150 dpi in both directions.
  2914.  
  2915.  
  2916.         The  following table lists the dimensions of the  twelve  drawing 
  2917.         sizes supported by EZCAD.
  2918.  
  2919.  
  2920.         CODE   SIZE      10"           15"       ACTUAL SIZE
  2921.         ----------------------------------------------------
  2922.         A,A' 8.5"x11"  8x10.5         8x10.5        8"x10.5"
  2923.         B,B'  17"x11"  8x10.5(2)      8x10.5(2)    16"x10.5"
  2924.         C,C'  22"x17"  8x10.5(4)      8x10.5(4)    21"x16"
  2925.         D,D'  34"x22"  8x10.5(8)   10.7x10.5(6)    32"x21"
  2926.         E,E'  44"x34"  8x10.5(16)  10.7x10.5(12)   42"x32"
  2927.         W,W'  14"x11"   N/A        13.5x10.5     13.5"x10.5"
  2928.  
  2929.  
  2930.         G.3 Plotters
  2931.  
  2932.         * HP
  2933.  
  2934.              The  Hewlett-Packard HP/GL graphics language is emulated  by 
  2935.              other  plotter  manufacturers.   The  following  models  are 
  2936.              supported: 
  2937.  
  2938.              7090A,  7440A (ColorPro), 7470A, 7475A, 7510A, 7550A, 7570A, 
  2939.              7580A/B, 7585A/B, 7586B, 7595A, 7596A.
  2940.  
  2941.              The  DTE-DTE  cable must connect the DTR signal (pin 20)  on 
  2942.              each  end to the CTS (pin 5) and DSR (pin 6) signal  on  the 
  2943.  
  2944.  
  2945.                                        54
  2946.  
  2947.  
  2948.  
  2949.              other end.
  2950.  
  2951.         * HI
  2952.  
  2953.              The Houston Instruments DM/PL graphics language is  emulated 
  2954.              by  other  plotter manufacturers.  The following models  are 
  2955.              supported:
  2956.  
  2957.              PC595,    PC695A,   DMP29,   DMP40,   DMP41/42, 
  2958.              DMP51/52, DMP56C
  2959.  
  2960.              The  DTE-DTE  cable  must connect the DTR  signal  from  the 
  2961.              plotter (pin 5 on the RJ12 or pin 20 on the DB25  connector) 
  2962.              to the CTS signal on your PC (pin 5). In addition, pin 6 and 
  2963.              20  on      the PC should be wired together.  The  plotter's      
  2964.              operation manual should contain information for making  such 
  2965.              a cable.
  2966.  
  2967.         * Enter
  2968.  
  2969.              EZCAD  supports  the  Sweet-P 100  plotter,  which  is  also 
  2970.              marketed by COMREX as the ComScriber I plotter.
  2971.  
  2972.              The  Sweet-P  model 600 and model 1000 emulate  HP/GL.   The 
  2973.              Sweet-P model 1200 emulates DM/PL.
  2974.  
  2975.         * Comrex
  2976.  
  2977.              The ComScriber I plotter is supported.
  2978.  
  2979.         * Roland
  2980.  
  2981.              Compatible with HP/GL.
  2982.  
  2983.         * Zericon
  2984.  
  2985.              Emulates DMP41.
  2986.  
  2987.  
  2988.  
  2989.  
  2990.  
  2991.  
  2992.  
  2993.  
  2994.  
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000.                                        55
  3001.  
  3002.  
  3003.  
  3004.         * Mural
  3005.  
  3006.              Emulates HP 7475A.
  3007.  
  3008.         * Western Graphtec
  3009.  
  3010.              Compatible  with  HP/GL.   EZCAD  does  not  support   GP/GL 
  3011.              (Graphtec Protocol / Graphics Language). 
  3012.  
  3013.  
  3014.         G.4 Mouse Devices and Digitizers
  3015.  
  3016.         EZCAD  supports  all mouse devices and digitizers.   Since  EZCAD 
  3017.         provides the driver,  you can use a low-cost Mouse Systems serial 
  3018.         mouse or compatible that comes without software.
  3019.  
  3020.  
  3021.         G.5 Non-standard Printer/Plotter Ports
  3022.  
  3023.         Standard  ports  and  semi-standard  COM3  and  COM4  ports   are 
  3024.         supported  at  the BIOS level.  Other custom installed ports  are 
  3025.         interfaced through DOS.
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043.  
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049.  
  3050.  
  3051.  
  3052.  
  3053.  
  3054.  
  3055.                                        56
  3056.  
  3057.  
  3058.  
  3059.         APPENDIX H: TurboDraw Software Interrupts
  3060.  
  3061.  
  3062.         All  loaded  programs communicate with one another  via  software 
  3063.         interrupts. Interrupts X'60' to X'67' are either used or reserved 
  3064.         by  TurboDraw.  The EZCAD Interface Guide contained in the  EZCAD 
  3065.         Developer's  Package covers details about software  interface  to 
  3066.         these software interrupts.
  3067.              
  3068.              Interrupt      Interface to
  3069.                   
  3070.                 60          EZCAD
  3071.                 61          Video driver 
  3072.                 62          Reserved
  3073.                 63          Plotter
  3074.                 64          Printer driver
  3075.                 65          Reserved
  3076.                 66          Reserved
  3077.                 67          Used by video driver
  3078.  
  3079.  
  3080.  
  3081.  
  3082.  
  3083.  
  3084.  
  3085.  
  3086.  
  3087.  
  3088.  
  3089.  
  3090.  
  3091.  
  3092.  
  3093.  
  3094.  
  3095.  
  3096.  
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107.  
  3108.  
  3109.  
  3110.                                        57
  3111.  
  3112.  
  3113.  
  3114.         APPENDIX I: Coordinate System
  3115.  
  3116.  
  3117.         EZCAD  uses  a two-dimensional coordinate system with the  origin 
  3118.         (0,0) fixed at the upper left corner of the drawing.  The unit is 
  3119.         in inches.  The resolution is .01 inch. This coordinate system is 
  3120.         referred to as the "real coordinate system."
  3121.  
  3122.         The  real  coordinate  system is used by  the  database  and  for 
  3123.         displaying  on the screen only.  The rest of the system uses  the 
  3124.         dot  coordinate system which is in unit of screen  pixels.  EZCAD 
  3125.         performs the conversion internally. 
  3126.  
  3127.  
  3128.  
  3129.  
  3130.  
  3131.  
  3132.  
  3133.  
  3134.  
  3135.  
  3136.  
  3137.  
  3138.  
  3139.  
  3140.  
  3141.  
  3142.  
  3143.  
  3144.  
  3145.  
  3146.  
  3147.  
  3148.  
  3149.  
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155.  
  3156.  
  3157.  
  3158.  
  3159.  
  3160.  
  3161.  
  3162.  
  3163.  
  3164.  
  3165.                                        58
  3166.  
  3167.  
  3168.  
  3169.         APPENDIX J: Resolving Plotter Problems
  3170.  
  3171.  
  3172.         The   plotter   driver  sets  the  baud  rate,   cleans  up   the 
  3173.         communication link, and sets the timeout period to the maximum if 
  3174.         the plotter is connected to the RS-232 port.  
  3175.  
  3176.         Always reset the plotter before plotting,  regardless of  whether 
  3177.         you redirected output or are plotting directly to the device.
  3178.  
  3179.         If  you  have rebooted the computer for any reason  (by  powering 
  3180.         down or Ctrl-Alt-Del), the serial port is no longer set up.  This 
  3181.         situation is certain to cause problems when you attempt to send a 
  3182.         SPOOL  file  to the plotter.  In this the case,  run  the  EZMODE 
  3183.         utility to initialize the serial port. 
  3184.  
  3185.         EZMODE works exactly as the DOS command MODE, with one exception: 
  3186.         it  also  clears  any pending characters sent from  the  plotter. 
  3187.         Without  this  last step,  the Houston Instrument  plotters  will 
  3188.         probably not work.
  3189.  
  3190.         If  the targer plotter is connected to a serial  port,  TurboDraw 
  3191.         sets the serial port as follows:
  3192.  
  3193.              HP-GL plotters:  9600,N,8,1
  3194.              DM/PL plotters:  2400,N,7,2
  3195.  
  3196.         If you cannot set the plotter to the conditions shown  above,  or 
  3197.         if you have a "handshaking" or baud rate problem, direct the plot 
  3198.         to a SPOOL file, and use the following procedure to plot:
  3199.  
  3200.         1.   Reset  or power off/power on the plotter to set the  current 
  3201.              baud rate,  parity,  and number of stop bits to known values  
  3202.              (either the power-on default or dip-switch setting).
  3203.  
  3204.         2.   Use the EZMODE command to set the proper baud rate,  parity, 
  3205.              and number of stop bits for your computer.
  3206.  
  3207.         3.   Use the COPY,  PRINT,  or EZPRINT command to send your SPOOL 
  3208.              file to the plotter.
  3209.  
  3210.  
  3211.  
  3212.  
  3213.  
  3214.  
  3215.  
  3216.  
  3217.  
  3218.  
  3219.  
  3220.                                        59
  3221.  
  3222.  
  3223.  
  3224.         APPENDIX K: Resolving Printer Problems
  3225.  
  3226.  
  3227.         If   your  Okidata printer does not print  properly,   make  sure  
  3228.         that  your printer is setup to  accept  8-bit  data instead of 7-
  3229.         bit data. Note also that your COM port has to be setup to 
  3230.         handle 8-bit data.
  3231.  
  3232.         If  your  network OS does not intercept BIOS call,  you  need  to 
  3233.         redirect your printer output to a file,  and use the copy command 
  3234.         or  EZPRINT  utility to send that file over the  network  to  the 
  3235.         printer.
  3236.  
  3237.         Some  printers that are EPSON compatible are not 100% compatible. 
  3238.         Please send us a copy of the control codes of your printer and we 
  3239.         may  come  up  with a patch in our EPSON driver  to  handle  your 
  3240.         printer.
  3241.  
  3242.  
  3243.  
  3244.  
  3245.  
  3246.  
  3247.  
  3248.  
  3249.  
  3250.  
  3251.  
  3252.  
  3253.  
  3254.  
  3255.  
  3256.  
  3257.  
  3258.  
  3259.  
  3260.  
  3261.  
  3262.  
  3263.  
  3264.  
  3265.  
  3266.  
  3267.  
  3268.  
  3269.  
  3270.  
  3271.  
  3272.  
  3273.  
  3274.  
  3275.                                        60
  3276.  
  3277.  
  3278.  
  3279.         APPENDIX L: Porting Drawings to DSP or WP
  3280.  
  3281.  
  3282.         Most   desktop publishing or drawing/painting programs support at 
  3283.         least one of the following file formats:
  3284.  
  3285.              1. PC-Paintbrush .PCX file
  3286.  
  3287.                   TurboDraw   can  save the drawing in .PCX file  format.  
  3288.                   The  resultant drawing  has the same resolution as your 
  3289.                   video  display.   Note  that TurboDraw cannot read .PCX 
  3290.                   files.
  3291.  
  3292.              2. Scanned Image TIFF file
  3293.  
  3294.                   The  .TIF file has a resolution of 150 dpi in both  the 
  3295.                   horizontal  or vertical direction.  The maximum drawing 
  3296.                   area that is written to the .TIF file is 14"X11".  Note 
  3297.                   that TurboDraw cannot read .TIF files.
  3298.  
  3299.              3. HP-GL plotter file
  3300.  
  3301.                   To  create  an  HP-GL file you  should  specify  an  HP 
  3302.                   plotter  even  if you do not have a plotter  when   you 
  3303.                   install  TurboDraw,  and  plot your drawing to  a  file 
  3304.                   which has a file name extension of .PLT.
  3305.  
  3306.  
  3307.  
  3308.  
  3309.  
  3310.  
  3311.  
  3312.  
  3313.  
  3314.  
  3315.  
  3316.  
  3317.  
  3318.  
  3319.  
  3320.  
  3321.  
  3322.  
  3323.  
  3324.  
  3325.  
  3326.  
  3327.  
  3328.  
  3329.  
  3330.                                        61
  3331.  
  3332.  
  3333.  
  3334.         APPENDIX M: Modifying Text Fonts
  3335.  
  3336.  
  3337.              1. Make sure that you have backup copies of the font  files: 
  3338.                 EGA.FNT, CGA.FNT and EPSON.FNT.
  3339.  
  3340.              2. Use  the FNTTXT utility to convert the desired font  file 
  3341.                 to plain text file, for example, type
  3342.  
  3343.                 FNTTXT EGA.FNT
  3344.  
  3345.                 would  cause EGA.TXT be created in the same directory  as 
  3346.                 EGA.FNT.  A portion of the text file is shown here:
  3347.  
  3348.                 ;Medium font"A", ASCII 41H
  3349.                 ................
  3350.                 ................
  3351.                 ...X............
  3352.                 ..XXX...........
  3353.                 .XX.XX..........
  3354.                 XX...XX.........
  3355.                 XX...XX.........
  3356.                 XXXXXXX.........
  3357.                 XX...XX.........
  3358.                 XX...XX.........
  3359.                 XX...XX.........
  3360.                 ................
  3361.                 ................
  3362.                 ................
  3363.                 ................
  3364.                 ................
  3365.                 ................
  3366.                 ................
  3367.                 ................
  3368.                 ................
  3369.                 ;Medium font"B", ASCII 42H
  3370.                 ................
  3371.                 ................
  3372.                 XXXXXX..........
  3373.                 .XX..XX.........
  3374.                 .XX..XX.........
  3375.                 .XX..XX.........
  3376.                 .XXXXX..........
  3377.                 .XX..XX.........
  3378.                 .XX..XX.........
  3379.                 .XX..XX.........
  3380.                 XXXXXX..........
  3381.                 ................
  3382.                 ................
  3383.  
  3384.  
  3385.                                        62
  3386.  
  3387.  
  3388.  
  3389.                 The  text  file  contains  comment lines which start with  
  3390.                 a   ";"  and pattern  lines     which  consist   of  "." 
  3391.                 and "X" characters.
  3392.  
  3393.              3. Use  your  editor/word processor to edit the  text  file. 
  3394.                 Refer  to Appendix C for font file  format.   The   width  
  3395.                 and    height of  each  character   cell  (pattern  lines 
  3396.                 between  2  comment  lines) should not be changed.
  3397.  
  3398.              4. Then   use  the  TXTFNT utility to convert the text  file  
  3399.                 back  to  the binary font file:
  3400.  
  3401.                 TXTFNT EGA.TXT
  3402.  
  3403.              5. Once  the  .FNT file is verified,  the text file  can  be 
  3404.                 deleted.
  3405.  
  3406.              6. Modify all font files.
  3407.  
  3408.         Note that TurboDraw supports ASCII 20H through 0AFH only.
  3409.  
  3410.  
  3411.  
  3412.  
  3413.  
  3414.  
  3415.  
  3416.  
  3417.  
  3418.  
  3419.  
  3420.  
  3421.  
  3422.  
  3423.  
  3424.  
  3425.  
  3426.  
  3427.  
  3428.  
  3429.  
  3430.  
  3431.  
  3432.  
  3433.  
  3434.  
  3435.  
  3436.  
  3437.  
  3438.  
  3439.  
  3440.                                        63
  3441.  
  3442.  
  3443.  
  3444.  
  3445.  
  3446.  
  3447.  
  3448.  
  3449.  
  3450.  
  3451.  
  3452.  
  3453.  
  3454.  
  3455.  
  3456.  
  3457.  
  3458.  
  3459.  
  3460.                                        65
  3461. 
  3462.