home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / graphuti / datavu.zip / DATAVU.DOC < prev    next >
Text File  |  1993-09-20  |  61KB  |  2,113 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                                   D a t a V u
  7.  
  8.                     Data Analysis and Visualization Software
  9.  
  10.                                   Version 1.0
  11.  
  12.                                 Olympic Software
  13.                                (C) Copyright 1993
  14.  
  15.                               All Rights Reserved
  16.  
  17.                            BBS Support: 215-353-6971
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                  -1-
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                   REGISTRATION
  71.  
  72.           If you are not a registered user of DataVu, please register now
  73.      by sending $35.00 to our address:
  74.  
  75.                                 Olympic Software
  76.                                   P.O. Box 769
  77.                              Bryn Mawr, PA   19010
  78.                                       USA
  79.  
  80.           Registration brings the following benefits:
  81.  
  82.           1.  You will receive complete user or developer support through
  83.      our BBS.
  84.           2.  Special application plots that 'hook' to DataVu will become
  85.      available to you at our BBS.
  86.           3.  You will become registered for D-ACCESS, a library of 24
  87.      modules which allow access to DOS, BIOS, I/O, Mouse and PC Hardware
  88.      from Microsoft FORTRAN (MSFOR 4.0 and beyond).  D-ACCESS is available
  89.      to you at our BBS.
  90.           4.  You will receive one major upgrade free. Subsequent upgrades
  91.      will be available at a very modest cost.
  92.           5.  You will be notified of all changes, updates, tips, etc.  as
  93.      new, powerful features are added.
  94.           6.  You will be supporting the SHAREWARE concept:  Quality
  95.      software at very reasonable prices.
  96.  
  97.           We invite you to call our BBS, to browse around or to get
  98.      questions answered.  And please, if you have any problems or
  99.      suggestions, don't hesitate to let us know.  Your problems will
  100.      receive prompt attention and we will be happy to incorporate good
  101.      suggestions in future releases of DataVu.
  102.  
  103.                                   TRADEMARKS:
  104.  
  105.           International Business Machines:   IBM PC, XT, AT, PS/2,
  106.                                              Proprinter
  107.           Microsoft Corporation:             Windows
  108.           Epson America, Inc:                Epson FX,LQ
  109.           C.Itoh Digital Products, Inc:      C.Itoh
  110.           Okidata Corporation:               Okidata
  111.           Hewlett-Packard:                   Laserjet
  112.  
  113.             DataVu version 1.0, (C) Copyright 1993, Olympic Software
  114.            P.O. Box 769, Bryn Mawr, PA 19010, USA.  BBS: 215-353-6971
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                  -2-
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.                                TABLE OF CONTENTS
  137.  
  138.      1.   INTRODUCTION
  139.      1.1    Brief Description
  140.      1.2    Installation
  141.      1.3    Specifications
  142.      1.4    Special Keys
  143.  
  144.      2.   INTERFACE DESCRIPTION
  145.      2.1    Screen Objects and Organization
  146.      2.2    Menu System and Menu Item Selection
  147.      2.3    System Prompt
  148.      2.4    File Selection
  149.      2.5    Data Input
  150.  
  151.      3.   INTERNAL DESIGN
  152.  
  153.      4.   OPERATIONAL DESCRIPTION
  154.  
  155.      5.   FILE FORMATS
  156.      5.1    Data Files (*.ODF or *.DAT) and Coordinate Systems
  157.      5.2    Pixel Files (*.OBM)
  158.      5.3    Program Control Files
  159.      5.3.1    Configuration (DATAVU.CFG, OSGT.CFG)
  160.      5.3.2    Default Values (DATAVU.DFV)
  161.      5.3.3    Video Driver Information (VIDEO.VDR)
  162.      5.3.4    Palette (*.PAL)
  163.      5.3.5    Fonts (*.FON)
  164.      5.3.6    Dot Matrix Printer (*.DMP)
  165.      5.3.7    HP Laser Printer (*.LSR)
  166.  
  167.      6.   APPENDICES
  168.           A.  Printer Codes
  169.                 EPSON FX Printer Codes
  170.                 IBM Proprinter Codes
  171.                 C.ITOH 8510 Printer Codes
  172.                 OKIDATA ML92 Printer Codes
  173.                 HP Laserjet Printer Codes
  174.           B.  ASCII Characters
  175.           C.  IBM Standard Color Codes/Modes
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                  -3-
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      1.   INTRODUCTION
  203.  
  204.      1.1  BRIEF DESCRIPTION
  205.  
  206.           DataVu is a menu driven, programmable, plotting program,
  207.      developed by Olympic Software.  DataVu reads, manipulates, plots and
  208.      prints properly formatted ASCII data files, under DOS on IBM or
  209.      compatible PCs.  Its comprehensive plot features include multiple
  210.      coordinate systems (x,y plots, polar, surface, contour, etc.), single
  211.      or dual screens, linear, log, and modulo scales, multiple line and
  212.      marker types, annotation, and exporting pixel files.  DataVu supports
  213.      CGA, EGA and VGA graphics standards and EPSON, IBM, C.ITOH, OKIDATA,
  214.      and HP Laser printers.  DataVu constitutes an effective tool for any
  215.      application requiring visual representation of data, especially for
  216.      applications which are engineering or scientific in nature.
  217.  
  218.           This manual is designed to provide you with a detailed overview
  219.      of DataVu version 1.0.  After completing reading this manual, you will
  220.      be able to plot data files with DataVu default parameters, as well as
  221.      programming DataVu control files.
  222.  
  223.      1.2  INSTALLATION
  224.  
  225.           DataVu is designed to operate under PC-DOS/MS-DOS 3.* and beyond
  226.      on an IBM *86 (PC, XT, AT, PS/2) or compatibles on the BIOS level.  A
  227.      CGA, EGA or VGA graphics board is needed, 512 K RAM, and a graphics
  228.      printer like Epson FX, IBM proprinter, C.ITOH 8510, Okidata ML92, or
  229.      HP Laserjet.  A math coprocessor like the 80*87 is not required, but
  230.      it is highly recommended.  DataVu 1.0 requires at least 400 kilobytes
  231.      of free RAM to run.
  232.  
  233.           The installation of DataVu is simple:  a) create a subdirectory
  234.      on the hard drive and copy DATAVU.EXE into it; b) Enter the
  235.      subdirectory and run DATAVU.EXE; it will decompress to DV.EXE and all
  236.      supporting files; c) You may then erase DATAVU.EXE, since it isn't
  237.      necessary any more; d) Run SETUP.BAT to create configuration files
  238.      DATAVU.CFG and OSGT.CFG; e) Run DV.EXE.
  239.  
  240.           To use the mouse capabilities in Edit mode, install a Microsoft
  241.      compatible mouse driver, ie. mouse.sys or mouse.com, through the DOS
  242.      CONFIG.SYS or AUTOEXEC.BAT.
  243.  
  244.           The following supplied files (through DATAVU.EXE decompression)
  245.      are needed for DataVu to work properly:
  246.  
  247.      1.  DV.EXE:  The DataVu executable file
  248.      2.  DATAVU.CFG:  The DataVu configuration file (includes path)
  249.      3.  DATAVU.DFV:  The DataVu default values file
  250.      4.  OSGT.CFG:    The Olympic Software
  251.                       Graphics Toolkit Configuration file
  252.      5.  VIDEO.VDR:   The video driver parameters file
  253.      6.  COLOR.PAL,
  254.          BW.PAL:      The Palette files
  255.      7.  *.FON:       Microsoft C Library font files (Bitmapped and Vector)
  256.      8.  *.DMP:       Dot Matrix Printer control files
  257.      9.  *.LSR:       Laser Printer control files
  258.  
  259.  
  260.  
  261.                                  -4-
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.      10. SETUP.BAT,
  269.          DSETUP.EXE:  DataVu Setup programs
  270.  
  271.           The following data files are example data files:
  272.      1.  *.ODF:    Olympic Software (Structured) Data Files
  273.      2.  *.DAT:    Simple Data Files
  274.  
  275.           The DATAVU.CFG file includes the path to the DataVu subdirectory
  276.      and is needed in the DataVu subdirectory.  It is also needed in the
  277.      root directory or in an arbitrary subdirectory to allow DataVu to be
  278.      run from that arbitrary subdirectory.  OSGT.CFG controls the
  279.      configuration of the underlying graphics toolkit, OSGT.  SETUP.BAT
  280.      generates or alters DATAVU.CFG and OSGT.CFG, and copies them to the
  281.      root directory.  For programming of these files, see section 5.0.
  282.  
  283.      1.3  SPECIFICATIONS
  284.  
  285.           DataVu is capable of plotting and manipulating a data file with
  286.      up to 5000 X,Y,Z data points (including control data fields), the size
  287.      of its internal plot buffer.  A special mode allows plotting of
  288.      unlimited size data files (limited only by disk space).  The title and
  289.      the X-, Y-, Z-Axis Labels may contain up to 40 characters.  The number
  290.      of files which can be input to the DataVu buffer is not limited in
  291.      number but in total combined size, namely 5000 total X,Y,Z data
  292.      points.  Section 5.0 addresses data file structures.
  293.  
  294.           Here is the list of DataVu capabilities and features:
  295.  
  296.      General
  297.      1.   Flexible hierarchical menu system
  298.      2.   Graphics video card support (CGA, EGA and VGA)
  299.      3.   Dot matrix printer support (EPSON, IBM, C.ITOH, OKIDATA)
  300.      4.   Laser printer support (HP Laserjet)
  301.      5.   Microsoft C Library graphics
  302.      6.   Microsoft Pixel and Vector Fonts
  303.      7.   Mouse option (DOS/Microsoft mouse driver compatible)
  304.      8.   Sound effects option
  305.      9.   Default values saving
  306.  
  307.      Filing
  308.      10.  File directory viewing and selecting
  309.      11.  Powerful and simple data file type (*.ODF and *.DAT)
  310.      12.  Selectable columns from multiple column data files
  311.      13.  Data (*.ODF, *.DAT) and color pixel file saving (*.OBM, *.PCX)
  312.      14.  Export to *.PCX, *.IMG, *.TIF, *.WPG monochrome pixel files
  313.  
  314.      Editing
  315.      15.  Title and Labels editing
  316.      16.  X,Y,Z plot value reading
  317.      17.  Plot annotation with text buffer and coarse grid for consistency
  318.  
  319.      Plotting
  320.      18.  Single or dual cartesian coordinate system
  321.      19.  Window and full screen plotting
  322.  
  323.      Printing
  324.      20.  Portrait, Landscape printing
  325.      21.  Printer file output
  326.  
  327.                                  -5-
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.      Additional Coordinate Systems
  336.      22.  Polar Plots
  337.      23.  3-D Surface and Contour plotting
  338.  
  339.      Presentation
  340.      24.  Autoscaling
  341.      25.  Linear, Semilog, Log, and Modulo scales
  342.      26.  Selection of numeric types for scales
  343.      27.  Full set of line and marker types
  344.      28.  Text font, size and color selection
  345.      29.  Grid characteristics selection
  346.  
  347.      Options
  348.      30.  Selection of options for printer, data and pixel files
  349.  
  350.      Data Buffer Manipulation
  351.      31.  Data buffer operations: biasing, scaling, swapping, rotating,    
  352.           coordinate transformations
  353.  
  354.      Special Operations
  355.      32.  Unlimited data file size plotting
  356.  
  357.           The following are planned and coming upgrades:
  358.  
  359.      1.  Porting to MS Windows
  360.      2.  Special application plots
  361.      3.  Math functions on data
  362.      4.  Data interpolation
  363.      5.  Animation
  364.      6.  Variable size windows and therefore plots
  365.  
  366.      1.4  SPECIAL KEYS
  367.  
  368.           The following keys play a special role in DataVu operation:
  369.  
  370.           ESC:           Escape to the above level in operating mode tree
  371.                          Abort graphics printing
  372.  
  373.           Space Bar:     Select menu item (downward only)
  374.  
  375.           Enter:         Execute menu selection
  376.                          Change Cartesian Windows in Edit/ReadXY mode
  377.  
  378.           F1/F2:         Select Cartesian Upper/Lower Window in Edit/ReadXY
  379.                           mode
  380.  
  381.           Arrows:        Step finely graphics cursor in Edit/ReadXY
  382.                           or Edit/Annotate modes (if mouse is disabled)
  383.                          Select menu item (Up-Down arrows only)
  384.  
  385.           -/+:           Step coarsely graphics cursor in -/+ X direction
  386.                           in Edit modes (if mouse is disabled)
  387.  
  388.           PgUp/PgDn:     Step coarsely graphics cursor in +/- Y direction
  389.                           in Edit modes (if mouse is disabled)
  390.  
  391.  
  392.  
  393.                                  -6-
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.      2.   INTERFACE DESCRIPTION
  401.  
  402.      2.1  SCREEN OBJECTS AND ORGANIZATION
  403.  
  404.           DataVu features easy screen layout with a powerful menu system.
  405.      It operates in graphics mode.  The name of the program and version
  406.      appear on the top left side, with the menu area exactly under it, on
  407.      the left side of the screen.  To the right of the menu system a window
  408.      appears where all plotting is done.  The top row, above the window, is
  409.      reserved for file names while the last (bottom) row is reserved as a
  410.      system response row.  The row exactly below the window is reserved for
  411.      reading coordinates in the window in the Edit mode.
  412.  
  413.      2.2  MENU SYSTEM AND MENU ITEM SELECTION
  414.  
  415.           The menu system displays hierarchical-linked menus, which come
  416.      with a name and a set of choices.  The choices are selected either by
  417.      typing the capital letter in the choice name (or a number, if it
  418.      appears) or by pressing "Enter".  If "Enter" is pressed the choice
  419.      pointed to by the ">" is selected.  To change the selection either use
  420.      the Space Bar or the Up/Down Arrows.  At any point in the menu
  421.      selection "Escape" will take the user back to the immediately higher
  422.      level.  A powerful feature in the menu system is memory of previous
  423.      selections.  If similar repetitive operations are being worked, this
  424.      feature aids the user to quickly navigate through selections with
  425.      mostly using "Enter".
  426.  
  427.           Plotting is accomplished in the window shown or in the whole
  428.      screen.  Whole screen plotting allows for more resolution and is
  429.      accomplished through the "Plot" selection.
  430.  
  431.      2.3  SYSTEM PROMPT
  432.  
  433.           The System Prompt is displayed on the bottom row of the screen.
  434.      This is where DataVu prompts the user for general input or the system
  435.      displays messages.
  436.  
  437.      2.4  FILE SELECTION
  438.  
  439.           File selection is accomplished by a sequence of actions.  From
  440.      the File menu DataVu prompts in the System Prompt field for the
  441.      desired directory (with drive if desired).  Blanks or no input
  442.      designate current directory.  Then DataVu prompts for the file type,
  443.      ie. *.ODF, *.DAT, *.OBM, or *.PCX.  The user can backspace to change
  444.      the extension; DataVu will automatically change the data file type or
  445.      the pixel file expected.   Those can also be controlled by the Options
  446.      or File menus.  Then an alphanumeric panel takes control (same area as
  447.      the menu) which presents lists of filenames.  The user uses the Up/Dn
  448.      Arrow or Space Bar to move the ">" character pointing to the current
  449.      filename.  The desired filename is selected by "Enter".  "PgDn" will
  450.      switch between sets of filenames until all are exhausted in the
  451.      directory.
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.                                  -7-
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.           File selection from the File menu is done through alphanumeric
  467.      panels for opening files.  For saving files DataVu prompts the user
  468.      for a filename.  The filename extension should not be included.
  469.      DataVu adds it automatically, according to the operation at hand, ie.
  470.      data or pixel file, and according to the option selected, ie. *.ODF or
  471.      *.DAT.  If a file extension is included, DataVu will not add any other
  472.      extension but the file type will be assumed by the operation at hand!
  473.  
  474.      2.5  DATA INPUT
  475.  
  476.           Data input is accomplished by "panels" (in the same area as the
  477.      menu) which present the list of variable names expecting to receive
  478.      data followed by fields in which data is typed in by the user.
  479.      Default data is displayed and the user can either use the "Del" key to
  480.      erase the whole field or the Back_Space key to erase
  481.      character-by-character starting from the last character.  Upon "Enter"
  482.      DataVu checks the number and if it is proper it moves on, otherwise it
  483.      replaces it with the default/previous value before moving on.
  484.  
  485.           The types of input accepted are floating numbers (type E or F),
  486.      integers, and logicals.  Logicals are presented as "Yes" or "No" and
  487.      any key accept "Enter" or Up/Dn Arrows will toggle them.
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.                                  -8-
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.      3.   INTERNAL DESIGN
  533.  
  534.           Understanding the internal architecture of DataVu leads to a
  535.      smoother operation and getting the most out of it.  Its object
  536.      oriented design revolves around the following objects:
  537.  
  538.           1.  The data buffer with 5000 rows by 3 columns (X,Y,Z
  539.      locations).  The data buffer stores data objects which are defined as
  540.      a series of points, N rows by 2 (X,Y) or 3 (X,Y,Z) columns.  See
  541.      section 5 for a discussion on coordinate systems supported by DataVu.
  542.      Data objects are stored in the following manner:  The number of data
  543.      points contained in the first object, say N, is stored first in all 2
  544.      or 3 columns of the first row, followed by the N rows of data.  The
  545.      number of data points in the second object is then stored, after the
  546.      last data point of the first object, followed by its rows of data, and
  547.      so on.
  548.           The data is read from data files, *.ODF or *.DAT.  Both *.ODF and
  549.      *.DAT types of files may contain multiple data objects.  Reading
  550.      multiple files will either overwrite the data in the data buffer or
  551.      append the data already existing in the data buffer, depending on user
  552.      input (see section 4).  Certain restrictions exist regarding multiple
  553.      data objects.  Only coordinate systems 1,2,3,4, and 6 can have
  554.      multiple data objects by appending or file input in the data buffer.
  555.      Coordinate system 5 can have multiple data objects by file input only.
  556.           Associated with the data buffer are the Title, X-label, Y-label,
  557.      and Z-label of the last data file read.
  558.           The data in the data file can be manipulated through operations.
  559.      Operations include biasing, scaling, swapping, rotating, and
  560.      coordinate transforming.
  561.  
  562.           2.  The plot window, which is one of two types; either the window
  563.      in the standard user interface screen, or the total screen.  The plot
  564.      window characteristics depend on the video driver, the monitor, and
  565.      the contents in files VIDEO.VDR and *.PAL.
  566.           If the total screen is selected for plotting, DataVu before
  567.      plotting displays a screen of information for the user to use, since
  568.      whole screen plotting will not allow full interaction with the user.
  569.      The information includes options tied to keys and a filename field in
  570.      case file export is desired.
  571.  
  572.           3.  The plot manager which plots the data from the data buffer
  573.      into the plot window as a set of graphic objects, according to the
  574.      presentation options and coordinate system.  The graphic objects
  575.      include a) the data with line and marker types, b) the axes, c) the
  576.      grid, d) the scales, e) the title, f) the labels, and g) the
  577.      annotations.  Once drawn, the graphic objects are treated as pixels in
  578.      a paint program.
  579.           The plot manager uses a multiple stage coordinate transformer for
  580.      maximum flexibility.  World coordinates are transformed to normalized
  581.      viewport coordinates and then to logical coordinates.  The Microsoft C
  582.      graphics finally translate logical to physical coordinates.
  583.           The plot manager uses special routines to annotate a plot (also
  584.      see annotation buffer object), as well as to read data points in a
  585.      plot.
  586.  
  587.  
  588.  
  589.  
  590.  
  591.                                  -9-
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.           4.  The printer output manager, which prints the plot window
  599.      contents, based on the print options.  The plot screen is printed out
  600.      as a matrix of pixels.  The printer output manager also can output to
  601.      a file instead of a printer, according to print options, most of which
  602.      come from files *.DMP or *.LSR.
  603.  
  604.           5.  The graphics (pixel) file output manager, which outputs the
  605.      plot window contents, based on the pixel file options.  The plot
  606.      screen is output as a matrix of pixels.
  607.  
  608.           6.  The annotation buffer stores the annotations by the user
  609.      along with the locations and text type.
  610.  
  611.           Most options are stored as default values in file DATAVU.DFV, and
  612.      can be changed interactively by the user.  The graphic operations are
  613.      accomplished through OSGT (Olympic Software Graphics Toolkit) which
  614.      utilizes the Microsoft C graphics library, including the fonts *.FON.
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.                                  -10-
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.      4.   OPERATIONAL DESCRIPTION
  665.  
  666.           The functions selected through the menu are very intuitive and
  667.      don't need much explanation:
  668.  
  669.      FIRST LEVEL
  670.  
  671.      1. MAIN_MENU
  672.          System:  Leads to system information or exiting
  673.          File:  Leads to file operations
  674.          Edit:  Leads to editing operations
  675.          Plot:  Leads to ploting
  676.          pRint:  Leads to printing
  677.          Coord_system:  Selects or changes coordinate system
  678.          presenTation:  Leads to presentation options
  679.          Options:  Leads to printer and file options
  680.          Data_ops:  Leads to data buffer operations
  681.          speCial_ops:  Leads to special operations
  682.          restArt:  Restarts by clearing plot and repainting the screen
  683.  
  684.      SECOND LEVEL
  685.  
  686.      2. SYSTEM
  687.          About:  Returns system information
  688.          Configuration:  Returns hardware configuration information
  689.          eXit_DATAVU:  Exits the program
  690.  
  691.      3. FILE
  692.          New_plot:  Clears buffer, flags, and screen; resets x,y,z column
  693.      definition and coordinate system
  694.          Open_data:  Opens data file and puts data in buffer
  695.          Add_data:  Opens data file and appends to existing data in buffer
  696.          Save_data:  Saves data in buffer
  697.          open_Pixel:  Opens pixel file
  698.          save_piXel:  Saves pixel file
  699.          Export_pixel:  Exports to monochrome pixel files of choice
  700.          saVe_dflts:  Saves defaults to DATAVU.DFV
  701.  
  702.      4. EDIT
  703.          Clear_screen:  Clears screen
  704.          Title:  Edits title
  705.          X-label:  Edits X label
  706.          Y-label:  Edits Y label
  707.          Z-label:  Edits Z label
  708.          Read_XY:  Invokes reading xy values from plot in screen
  709.          Annotate:  Invokes annotating on plot in screen
  710.      Note:  Reading and Annotating plots is done with a cross-hair,
  711.      moveable with mouse (if it exists) or arrow keys.  With annotation
  712.      there exists an invisible grid for more consistent/better looking
  713.      annotations.
  714.          clr_annot_Buf:  Clears annotation buffer
  715.  
  716.      5. PLOT
  717.          Window:  Plot in the primary interface window
  718.          Screen:  Plot in whole screen
  719.  
  720.  
  721.  
  722.  
  723.                                  -11-
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.      6. COORD_SYSTEM:  Selects following groups of coordinate systems
  731.          Rectangular
  732.          Polar(r,phi)
  733.          Surface
  734.          Contour
  735.  
  736.      7. PRESENTATION:  Selects presentation options in the following groups
  737.          Axes
  738.          Grid
  739.          Data
  740.          Scales
  741.          Title
  742.          xy_Labels
  743.          aNnotation
  744.          sUrface
  745.          Contour
  746.      Notes:  The surface option queries for the existence of x,y,z axes,
  747.      cut lines (lines showing behind a cut), partial lines (as opposed to
  748.      full lines), view angles phi and theta, axes length, viewport x,y
  749.      limits, and surface grid number of points, NI rows and NJ columns.
  750.      Cuts are controlled with the available and unavailable data in the
  751.      files (see example files).  The contour option queries for the contour
  752.      curve +/- threshold (e.g. for z vs. x,y it querries for the delta z
  753.      around the discrete z scale points; this controls contour smoothness),
  754.      the existence of the contour curve scale, and the contour scale draw
  755.      place in number of points.
  756.  
  757.      8. OPTIONS:  Selects options in each of the categories
  758.          Printer
  759.          Data_file
  760.          piXel_file
  761.  
  762.      9. DATA_OPS:  Selects data operations in data buffer
  763.          cLear_data:  Clears data
  764.          Bias_xyz:  Biases x,y,z data
  765.          Scale_xyz:  Scales x,y,z data
  766.          sWap_xy:  Swaps x,y data
  767.          swAp_xz:  Swaps x,y data
  768.          swaP_yz:  Swaps x,y data
  769.          Rotate_xy:  Rotates x,y data around an x,y point
  770.          rOtate_xz:  Rotates x,z data around an x,z point
  771.          roTate_yz:  Rotates y,z data around an y,z point
  772.          rEct_to_cyl:  Translates rectangular to cylindrical coordinates
  773.          cYl_to_rect:  Translates cylindrical to rectangular coordinates
  774.          reCt_to_spher:  Translates rectangular to spherical coordinates
  775.          spHer_to_rect:  Translates spherical to rectangular coordinates
  776.  
  777.      10. SPECIAL_OPS
  778.           Read_&_plot:  Read and plot from larger than buffer size files
  779.      Note:  This mode assumes that the scales are set.  If all buffers are
  780.      empty, then the scales will be set automatically once, with the first
  781.      data read-in.  File/New clears scales.
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.                                  -12-
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.      THIRD LEVEL
  797.  
  798.      11. EXPORT:  Selects export to following types of pixel files
  799.           *.Pcx
  800.           *.Img
  801.           *.Tif
  802.           *.Wpg
  803.  
  804.      12. RECTANGULAR:  Selects following rectangular coordinate systems
  805.           1. x,y
  806.           2. x,z
  807.           3. y,z
  808.           4. x,y;x,z:  Dual plot screen
  809.           5. x,y1,y2...:  Multiple y columns for one x column
  810.  
  811.      13. AXES:  Selects presentation axes attributes
  812.           axes_Color
  813.  
  814.      14. GRID:  Selects grid presentation attributes
  815.           grid_Type
  816.           grid_Color
  817.  
  818.      15. DATA:  Selects data presentation attributes
  819.           Line_type
  820.           line_Width
  821.           line_Color
  822.           Marker_type
  823.           marker_Size
  824.           marKer_color
  825.           marker_Period:  Determines how often in points marker is drawn
  826.  
  827.      16. SCALES:  Selects scale attributes or actions
  828.           Autoscale_xyz:  Forces autoscaling of x,y,z
  829.           X_scale:  Sets scale min, max, major and minor steps,
  830.           Y_scale        and automatic, log, modulo flags
  831.           Z_scale
  832.           lineaR_xyz:  Resets scales to linear
  833.           Normal_xyz:  Resets scales to normal (ie. not modulo)
  834.           aUto_xyz:  Sets automatic scaling to on
  835.           x_Type:  Sets number type, E, F, or I
  836.           x_Decimals:  Sets number of decimals
  837.           y_tyPe
  838.           y_deciMals
  839.           z_typE
  840.           z_decimaLs
  841.           Font
  842.           char_Size
  843.           char_Color
  844.  
  845.      17. TITLE:  Sets title attributes
  846.           Font
  847.           char_Size
  848.           char_Color
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.                                  -13-
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.      18. LABELS:  Sets label attributes
  863.           Font
  864.           char_Size
  865.           char_Color
  866.  
  867.      19. ANNOTATION:  Sets annotation attributes
  868.           Font
  869.           char_Size
  870.           char_Color
  871.  
  872.      20. PRINTER:  Sets printer attributes
  873.           Landscape:  Default, sets output to Landscape
  874.           Portrait:  Sets ouput to Portrait
  875.           to_pRinter:  Default, directs printer output to printer
  876.           to_File:  Directs printer output to file
  877.  
  878.      21. DATA_FILE:  Sets data file type and defines x,y,z columns
  879.           1. *.odf:  Includes header information
  880.           2. *.dat:  Plain, no header information
  881.           Def_xyz_col:  Defaults to 1,2,3; may be redefined for choosing or
  882.      interchanging columns, especially in multi-column data files
  883.  
  884.      22. PIXEL_FILE:  Sets pixel file type
  885.           Regular:  Default, normal image
  886.           Inverse:  Negative image
  887.           Obm_dflt:  Default image saving to *.obm
  888.           Pcx_dflt:  Default image saving to *.pcx
  889.  
  890.      23. SURFACE:  Sets surface plot coordinate system
  891.           1. x,y,z:  Standard Cartizian x,y,z
  892.           2. r,phi,z:  Cylindrical
  893.           3. r,phi,theta:  Spherical
  894.           4. gen_x,y,z:  Parametric Cartizian
  895.  
  896.      24. CONTOUR:  Sets Contour plot coordinate system
  897.           1. z_vs_x,y
  898.           2. y_vs_x,z
  899.           3. x_vs_y,z
  900.  
  901.      SPECIAL PRESENTATION MENUS
  902.  
  903.      1. NUM_TYPE:  Sets numeric types
  904.          E:  Scientific (mantissa and exponent)
  905.          F:  Simple floating
  906.          I:  Integer
  907.  
  908.      2. NUM_DECIMALS:  Sets number of decimals
  909.          1
  910.          2
  911.          3
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.                                  -14-
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.      3. FONT:  Sets font type
  929.          Courier
  930.          Helv
  931.          Tmsrmn
  932.          Modern
  933.          Script
  934.          Roman
  935.          Symbol
  936.  
  937.      4. SIZE:  Sets font size
  938.          1) 8 point
  939.          2) 12 point
  940.          3) 16 point
  941.          4) 20 point
  942.          5) 24 point
  943.  
  944.      5. COLOR:  Sets color
  945.          Black
  946.          blUe
  947.          Green
  948.          Cyan
  949.          Red
  950.          Magenta
  951.          brOwn
  952.          White
  953.          grAy
  954.          light_bLue
  955.          light_grEen
  956.          light_cyaN
  957.          light_reD
  958.          light_magenTa
  959.          Yellow
  960.          light_whIte
  961.  
  962.      6. LINE_TYPE:  Sets line type
  963.          None
  964.          Solid
  965.          Long_dash
  966.          shOrt_dash
  967.          Dot
  968.          dAsh_dot
  969.          dasH_dot_dot
  970.          Variable:  Sets variable line type, solid to dash_dot_dot
  971.  
  972.      7. WIDTH:  Sets line width
  973.          1 point
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.                                  -15-
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.      8. MARKER_TYPE:  Sets marker type
  995.          1. none
  996.          2. point
  997.          A
  998.          B
  999.          C
  1000.          D
  1001.          E
  1002.          F
  1003.          G
  1004.          H
  1005.          I
  1006.          J
  1007.          K
  1008.          L
  1009.          M
  1010.          N
  1011.          O
  1012.          P
  1013.          Variable:  Sets variable marker type, A to P
  1014.  
  1015.      9. GRID_TYPE:  Sets grid type
  1016.          None
  1017.          Solid
  1018.          Dense
  1019.          Medium
  1020.          Light
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.                                  -16-
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.      5.   FILE FORMATS
  1061.  
  1062.      5.1  DATA FILES (*.ODF or *.DAT) AND COORDINATE SYSTEMS
  1063.  
  1064.           The *.ODF data file format is simple, yet very effective.  It is
  1065.      in ASCII and it includes a header which identifies the file, the data
  1066.      (application driven, must be transparent to "don't care"
  1067.      applications), accommodates multiple columns and multiple data sets,
  1068.      and it includes descriptors for data title and columns.  The *.ODF
  1069.      data file type has the extension *.ODF and is described in the
  1070.      following table:
  1071.  
  1072.                            *.ODF DATA FILE STRUCTURE
  1073.       ------------------------------------------------------------------
  1074.  
  1075.           INTERNAL
  1076.           VARIABLE       TYPE           DESCRIPTION
  1077.  
  1078.            CDF       CHARACTER*3      FILE ID ('ODF')
  1079.            IDD       INT*4            DATA ID (APPLICATION DRIVEN)
  1080.            NCOL      INT*4            NO COLUMNS IN DATA FILE
  1081.            ICSYS     INT*2            COORDINATE SYSTEM (0-17)
  1082.            NI,NJ     INT*4            MATRIX X ROWS,Y COL (SURFACE NET)
  1083.            PTITLE    CHARACTER*40     TITLE
  1084.            XLAB      CHARACTER*40     X-LABEL
  1085.            YLAB      CHARACTER*40     Y-LABEL
  1086.            ZLAB      CHARACTER*40     Z-LABEL
  1087.            NROW      INT*4            DATA OBJECT NO ROWS
  1088.            X,Y,Z     REAL,REAL,REAL   X,Y,Z DATA
  1089.            ...
  1090.            NROW
  1091.            X,Y,Z
  1092.            ...
  1093.  
  1094.           The *.DAT data file type is in ASCII and it is similar to *.ODF,
  1095.      but it has no header information (Note the inclusion of # columns)
  1096.  
  1097.                            *.DAT DATA FILE STRUCTURE
  1098.      ------------------------------------------------------------------
  1099.  
  1100.            NROW,NCOL
  1101.            X,Y1,Y2...
  1102.            ...
  1103.            NROW,NCOL
  1104.            X,Y1,Y2...
  1105.            ...
  1106.  
  1107.      Single column files are treated as Y or Y1 files with X being filed
  1108.      out automatically by DataVu as 1,2,3, etc.  Multiple column files are
  1109.      allowed, and DataVu can be instructed to select any 3 columns for
  1110.      plotting at any coordinate system.  If desired, coordinate system 5,
  1111.      which represents data with single X values and multiple Y values, can
  1112.      be set through the Coord_system option.  NCOL must always be less than
  1113.      or equal to 20.  Check the example files supplied with DataVu.
  1114.  
  1115.           The following table describes the coordinate systems supported by
  1116.      DataVu (see example files supplied):
  1117.  
  1118.  
  1119.                                  -17-
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.                                COORDINATE SYSTEMS
  1127.      ------------------------------------------------------------------
  1128.       *.ODF:
  1129.      CoordSys   Internal Data Interpretation: From File Data
  1130.         0.  Defaults to CoordSys=1 for 1 or 2 column, or 4 for 3 column
  1131.         1.  X,Y: From (X,)Y or X,Y or X,Y,Z     -- Multiple Objects
  1132.         2.  X,Z: From (X,)Y or X,Y or X,Y,Z     -- Multiple Objects
  1133.         3.  Y,Z: From (X,)Y or X,Y or X,Y,Z     -- Multiple Objects
  1134.         4.  X,Y;X,Z: From (X),Y or X,Y or X,Y,Z -- Multiple Objects
  1135.                                                     (Split Screen)
  1136.         5.  X,Y1,Y2,...: From Y1 or X,Y1 or X,Y1,Y2 ...
  1137.         6.  R,PHI: From R,PHI                   -- Multiple Objects
  1138.        11.  X(I),Y(J),Z(I,J): From X,Y,Z
  1139.        12.  R(I),PHI(J),Z(I,J): From X,Y,Z
  1140.        13.  R(I,J),PHI(J),THETA(I): From X,Y,Z
  1141.        14.  X(I,J),Y(I,J),Z(I,J) [Parametric]: From X,Y,Z
  1142.        15.  Z AS OF X,Y: From X,Y,Z
  1143.        16.  Y AS OF X,Z: From X,Y,Z
  1144.        17.  X AS OF Y,Z: From X,Y,Z
  1145.  
  1146.      Note: (X) means implied X, ie. data is not contained in file
  1147.  
  1148.       *.DAT (similar to *.ODF, without the header):
  1149.      CoordSys   Internal Data: from File Data
  1150.        ???      X,Y1,Y2,...: From Y1 or X,Y1 or X,Y1,Y2 ...
  1151.       Note:  CoordSys must be defined through Coord_system option
  1152.  
  1153.           Coordinate System (ICSYS) vs. Number Columns (NCOL)
  1154.        *2D* (All 2D except 5 controlled by column definition option)
  1155.              1 COL     2 COL     3 COL        >3 COL
  1156.         0    (X,)Y     X,Y       X,Y;X,Z                    -- Default
  1157.         1    (X,)Y     X,Y       X,Y
  1158.         2                        X,Z
  1159.         3                        Y,Z
  1160.         4                        X,Y;X,Z                    -- Split Screen
  1161.         5    (X,)Y     X,Y       X,Y1,Y2       X,Y1,Y2...   -- Hor. Objects
  1162.         6              R,PHI
  1163.  
  1164.        *3D*  Surface
  1165.        11                       X(I),Y(J),Z(I,J)
  1166.        12                       R(I),PHI(J),Z(I,J)
  1167.        13                       R(I,J),PHI(J),THETA(I)
  1168.        14                       X(I,J),Y(I,J),Z(I,J)--Parametric
  1169.  
  1170.                                 I,J:1-NI,1-NJ, I Changes over its range for
  1171.                                                   every J
  1172.  
  1173.        *3D*  Contour (Data as in ICSYS=11 or 14, ie. X(..),Y(..),Z(..))
  1174.        15                       Z as of X,Y
  1175.        16                       Y as of X,Z
  1176.        17                       X as of Y,Z
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.                                  -18-
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.      5.2    Pixel Files (*.OBM)
  1193.  
  1194.           The pixel (or image or bit map) data file is sophisticated, yet
  1195.      simple and efficient.  Its creation was inspired by studing various
  1196.      image file types like ZSOFT PCX, DRI IMG, TIFF and MacPaint.  It is
  1197.      formatted (binary), it includes a header which describes the file
  1198.      contents rather extensively, and it takes advantage of the MacPaint
  1199.      compression scheme (also used by TIFF), which is excellent.  Here it
  1200.      is extended to include color (16 colors).  The compression algorithm
  1201.      compresses the entire color line with Red, Green, Blue and Intensity
  1202.      data; the encoding breaks at the end of the Intensity part of the
  1203.      line.  The color palette depends on the application.  Color palette
  1204.      information can be added to the file header optionally.  This format
  1205.      does not accommodate multiple pages.  The pixel file extension is
  1206.      *.OBM and is described in the following table:
  1207.  
  1208.                               PIXEL FILE STRUCTURE
  1209.      ------------------------------------------------------------------
  1210.  
  1211.           OFFSET SIZE FIELD    VALUE
  1212.  
  1213.             0     W    ID      5454:INTEL (6161:MOTOROLA)
  1214.             2     W    NPX     WIDTH, PIXELS
  1215.             4     W    NPY     HEIGHT, SCAN LINES
  1216.             6     B    IENC    COMPRESS FLAG (1:MAC PACKBITS)
  1217.             7     B    IVMU    UNITS (0:REL,1:IN,2:CM)
  1218.             8     W    NPXU    PIXEL DENSITY X
  1219.            10     W    NPYU    PIXEL DENSITY Y
  1220.            12     B    NCP     NO. COLOR PLANES (1-4)
  1221.            13     B    NBC     NO. BITS PER COLOR (1)
  1222.            14     B    IBWCR   0: B/W; 1: COLOR IMAGE
  1223.            15     B    IPI     PHOTOMETRIC INTERPRETATION (1)
  1224.                                (0: MIN=WHITE, 1: MIN=BLACK,
  1225.                                               2: RGB [SEE TIFF])
  1226.      This part is for the color palette and is optional; 
  1227.      currently it is not used by DataVu...
  1228.            16     W    NCOLR   NUMBER OF COLORS IN PALETTE
  1229.            18-20  B    RGB     FIRST COLOR (IE. BLACK)
  1230.            21-23  B    RGB     SECOND COLOR (IE. BLUE)
  1231.  
  1232.       16+(2+3*NCOLR)   RRR...  DATA BITS
  1233.                        GGG...
  1234.                        BBB...
  1235.                        III...
  1236.  
  1237.           *.OBM files are used by DataVu to store its pixel files from
  1238.      File.  Optionally, the user may choose DataVu to use PCX files instead
  1239.      of OBM.  This selection is done from Options.
  1240.  
  1241.      5.3    Program Control Files
  1242.  
  1243.           DataVu uses program control files for its operation.  These files
  1244.      are not meant to be edited by the user.  In some cases, the advanced
  1245.      user may find it advantageous, however, to edit them for further
  1246.      flexibility.
  1247.  
  1248.  
  1249.  
  1250.  
  1251.                                  -19-
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.      5.3.1    Configuration (DATAVU.CFG, OSGT.CFG)
  1259.  
  1260.           These files are created by SETUP.  DATAVU.CFG includes the path
  1261.      including drive to the subdirectory where DataVu resides.  OSGT.CFG
  1262.      saves the hardware configuration selected by the user through SETUP.
  1263.      The information contained is:
  1264.           Subdirectory including drive
  1265.           Video driver type (CGA, EGA, VGA, etc)
  1266.           Monitor type (Color or Monochrome)
  1267.           Video driver filename, VIDEO.VDR
  1268.           Color Palette filename, ie. COLOR.PAL
  1269.           Number of fonts followed by their names, followed by their
  1270.      selector character desired in the DataVu menu system
  1271.           Printer identification, ie. EPSONFX
  1272.           Printer driver file identification, ie. EPSONFX.DMP
  1273.           Printer port, ie. LPT1
  1274.           Mouse existence, ie. MOUSE
  1275.           Sound effects desired, ie. SOUND
  1276.  
  1277.      5.3.2    Default Values (DATAVU.DFV)
  1278.  
  1279.           Most defaults, especially those related to presentation style,
  1280.      are saved in this file.  This file should not be edited by the user!
  1281.      The data contained is:
  1282.           Pixel file invert flag, pixel file default flag
  1283.           Printer orientation, printer output flag, data file type
  1284.           Background color, axes line type, width, and color
  1285.           Grid on flag, line type, line width, and color
  1286.           Data line type, width, and color
  1287.           Data marker type, height, color, and period
  1288.           X scale default number major and minor divisions
  1289.           Y scale default number major and minor divisions
  1290.           Z scale default number major and minor divisions
  1291.           Multipliers for X, Y, and Z scales
  1292.           Log flag for X, Y, and Z scales
  1293.           Modulo flag for X, Y, and Z scales
  1294.           Automatic flag for X, Y, and Z scales
  1295.           X scale numeric type and number decimals
  1296.           Y scale numeric type and number decimals
  1297.           Z scale numeric type and number decimals
  1298.           Scales text color and height
  1299.           Title text color and height
  1300.           Labels text color and height
  1301.           Annotation text color and height
  1302.           Scales font
  1303.           Title font
  1304.           Labels font
  1305.           Annotation font
  1306.           Surface axes flag, cut lines flag, and hidden lines flag
  1307.           Surface view angle phi, theta
  1308.           Contour +/-threshold*1000, numbers on flag, place in data points
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.                                  -20-
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.      5.3.3    Video Driver Information (VIDEO.VDR)
  1325.  
  1326.           This file includes video driver information for CGA, EGA, VGA,
  1327.      etc.  The information for each driver (column) contained is:
  1328.           Text mode for color monitor
  1329.           Text mode for monochrome monitor
  1330.           Number of columns
  1331.           Number of rows
  1332.           Graphics mode for color monitor
  1333.           Graphics mode for monochrome monitor
  1334.           Character horizontal size in pixels
  1335.           Character vertical size in pixels
  1336.           Screen horizontal size in pixels
  1337.           Screen vertical size in pixels
  1338.           Screen measurement units (none, inch, centimeter)
  1339.           Screen number horizontal pixels per unit
  1340.           Screen number vertical pixels per unit
  1341.           Screen aspect ratio horizontal unit
  1342.           Screen aspect ratio vertical unit
  1343.  
  1344.      5.3.4    Palette (*.PAL)
  1345.  
  1346.           These files contain palette values used by the Microsoft graphics
  1347.      library drivers for all pertinent colors, from black to white.  The
  1348.      values are the decimal equivalent of BBGGRR in bytes.
  1349.  
  1350.      5.3.5    Fonts (*.FON)
  1351.  
  1352.           These are the Microsoft C library font files.  Users cannot edit
  1353.      them.
  1354.  
  1355.      5.3.6    Dot Matrix Printer (*.DMP)
  1356.  
  1357.           These files contain header information plus data sequences to
  1358.      control EPSON, IBM Pro, C.Itoh, and Okidata dot matrix printers.  The
  1359.      following information in contained in the ASCII dot matrix printer
  1360.      files, *.DMP:
  1361.  
  1362.         Value       Description
  1363.      1    0       Reserved (Orientation flag (0/1: Landscape/Portrait))
  1364.      2    0       Reserved (Autocentering flag)
  1365.      3    0       Top Margin (lines)
  1366.      4    5       Left Margin (spaces)
  1367.      5    512     Default horizontal Size (pixels)
  1368.      6    428     Default vertical Size (pixels)
  1369.      7    1       Measure (0 norm, 1 inch, 2 cm)
  1370.      8    72/80   Pixels per unit, Horizontal
  1371.      9    72/60   Pixels per unit, Vertical
  1372.      10   0       Reserved (Resolution number)
  1373.      11   8       Printer Pins
  1374.      12   0/1     MSB/LSB on top
  1375.      13   4/76/0/0  Screen Dump Mode
  1376.      14   0       X-Expansion
  1377.      15   0       Y-Expansion
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.                                  -21-
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.      16   0       Reserved
  1391.      17   0       Reserved
  1392.      18   0       Reserved
  1393.      19   10      Number Sequences
  1394.      20   6/7     Elements in Sequence
  1395.  
  1396.      Sequences for EPSONFX,EPSONLQ,IBMPRO,IBMPRO24,C.ITOH,OKIDATA
  1397.       (Each sequence begins with the number of useful member)
  1398.  
  1399.      1  RESET
  1400.        2,27,64,0,0,0
  1401.        2,27,64,0,0,0
  1402.        1,24,0,0,0,0
  1403.        1,24,0,0,0,0
  1404.        1,24,0,0,0,0,0
  1405.        1,24,0,0,0,0,0
  1406.  
  1407.      2  CHARACTER PITCH
  1408.        0,0,0,0,0,0
  1409.        0,0,0,0,0,0
  1410.        0,0,0,0,0,0
  1411.        0,0,0,0,0,0
  1412.        2,27,110,0,0,0,0
  1413.        1,29,0,0,0,0,0
  1414.  
  1415.      3  LEFT(RIGHT) MARGIN
  1416.        3,27,108,5,0,0
  1417.        3,27,108,5,0,0
  1418.        4,27,88,5,80,0
  1419.        4,27,88,5,80,0
  1420.        5,27,76,48,48,52,0
  1421.        6,27,37,67,48,48,52
  1422.  
  1423.      4  LINE SPACING
  1424.        3,27,65,8,0,0
  1425.        3,27,65,8,0,0
  1426.        3,27,51,24,0,0
  1427.        3,27,51,24,0,0
  1428.        4,27,84,49,54,0,0
  1429.        0,0,0,0,0,0,0
  1430.  
  1431.      5  GRAPHICS ON
  1432.        0,0,0,0,0,0
  1433.        0,0,0,0,0,0
  1434.        0,0,0,0,0,0
  1435.        0,0,0,0,0,0
  1436.        0,0,0,0,0,0,0
  1437.        1,3,0,0,0,0,0
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.                                  -22-
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.      6  BEGIN LINE
  1457.        5,27,42,5,128,2
  1458.        5,27,42,4,128,2
  1459.        5,0,27,76,128,2
  1460.        5,27,42,4,128,2
  1461.        5,27,83,48,54,52,48
  1462.        0,0,0,0,0,0,0
  1463.  
  1464.      7  END LINE
  1465.        2,13,10,0,0,0
  1466.        2,13,10,0,0,0
  1467.        2,13,10,0,0,0
  1468.        2,13,10,0,0,0
  1469.        2,13,10,0,0,0,0
  1470.        2,3,14,0,0,0,0
  1471.  
  1472.      8  GRAPHICS OFF
  1473.        0,0,0,0,0,0
  1474.        0,0,0,0,0,0
  1475.        0,0,0,0,0,0
  1476.        0,0,0,0,0,0
  1477.        0,0,0,0,0,0
  1478.        2,3,2,0,0,0,0
  1479.  
  1480.      9  LINE/FORM FEEDS
  1481.        5,10,10,10,10,10
  1482.        5,10,10,10,10,10
  1483.        5,10,10,10,10,10
  1484.        5,10,10,10,10,10
  1485.        5,10,10,10,10,10,0
  1486.        5,10,10,10,10,10,0
  1487.  
  1488.      10 MISC.
  1489.        0,0,0,0,0,0
  1490.        0,0,0,0,0,0
  1491.        0,0,0,0,0,0
  1492.        0,0,0,0,0,0
  1493.        0,0,0,0,0,0,0
  1494.        0,0,0,0,0,0,0
  1495.  
  1496.      5.3.7    HP Laser Printer (*.LSR)
  1497.  
  1498.           These files contain header information plus data sequences to
  1499.      control the HP Laserjet printers.  The following information in
  1500.      contained in the ASCII laserjet printer files, *.LSR:
  1501.  
  1502.          Value       Description
  1503.      1    1       Orientation (0/1: Landscape/Portrait)
  1504.      2    0       Autocentering flag
  1505.      3    0       Init Cursor, X (pixels)
  1506.      4    0       Init Cursor, Y (pixels)
  1507.      5    85      Page Hor. Size X 10
  1508.      6    110     Page Ver. Size X 10
  1509.      7    1       Measure(0 norm, 1 inch, 2 cm)
  1510.      8    75      Resolution, Pixels per unit
  1511.      9    300     Max. Resolution, Pixels per unit
  1512.      10   1       Number of Copies
  1513.  
  1514.  
  1515.                                  -23-
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.      11   1       Reserved
  1523.      12   0       Reserved
  1524.      13   0       Reserved
  1525.      14   0       Reserved
  1526.      15   0       Reserved
  1527.      16   0       Reserved
  1528.      17   0       Reserved
  1529.      18   0       Reserved
  1530.      19   20      Number Sequences
  1531.      20   9       Elements in Sequence
  1532.  
  1533.      1  RESET
  1534.        27,69
  1535.  
  1536.      2  RESERVED EXTRA SEQUENCE
  1537.  
  1538.      3  NUMBER COPIES
  1539.        27,38,108,X,X,88 (X is ASCII coded)
  1540.  
  1541.      4,5  ORIENTATION
  1542.        27,38,108,48,79 (Portrait)
  1543.        27,38,108,49,79 (Landscape)
  1544.  
  1545.      6,7,8,9,10,11  RESOLUTION
  1546.        27,42,116,55,53,82,0  (75 dpi)
  1547.        27,42,116,49,48,48,82 (100 dpi)
  1548.        27,42,116,49,53,48,82 (150 dpi)
  1549.        27,42,116,50,48,48,82 (200 dpi)
  1550.        27,42,116,51,48,48,82 (300 dpi)
  1551.        27,42,116,54,48,48,82 (600 dpi)
  1552.  
  1553.      12  RULE WIDTH (NO. DOTS)
  1554.        27,42,99,X,X,X,X,65
  1555.  
  1556.      13  RULE HEIGHT (NO. DOTS)
  1557.        27,42,99,X,X,X,X,66
  1558.  
  1559.      14  SET CURSOR X (NO. DOTS)
  1560.        27,42,112,X,X,X,X,88
  1561.  
  1562.      15  SET CURSOR Y (NO. DOTS)
  1563.        27,42,112,X,X,X,X,89
  1564.  
  1565.      16,17  START GRAPHICS
  1566.        27,42,114,48,85 (Left Margin)
  1567.        27,42,114,49,85 (Curr. Cursor)
  1568.  
  1569.      18  TRANSFER
  1570.        27,42,98,X,X,X,87,B,B,B,B...
  1571.  
  1572.      19  END GRAPHICS
  1573.        27,42,114,66
  1574.  
  1575.      20  EJECT PAGE
  1576.        27,38,108,48,72
  1577.  
  1578.  
  1579.  
  1580.  
  1581.                                  -24-
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.                                  6.0 APPENDICES
  1589.  
  1590.      A.  EPSON FX/LQ Codes
  1591.  
  1592.      Note:  8 Pin mode graphics are only used by DataVu
  1593.  
  1594.           The EPSON FX/LQ printer control codes which are pertinent to
  1595.      DataVu are presented here in decimal form for reference:
  1596.  
  1597.      DOT GRAPHICS (8 Pin FX)
  1598.  
  1599.      Mode Dots/inch      Dots/8 inches    Code            Alternate Code
  1600.      0          60             480      27/42/0/n1/n2       27/75/n1/n2
  1601.      1         120             960      27/42/1/n1/n2       27/76/n1/n2
  1602.      2         120             960      27/42/2/n1/n2       27/89/n1/n2
  1603.         (Note:  Mode 2 is faster than mode 1 but prints every other dot)
  1604.      3         240            1920      27/42/3/n1/n2       27/90/n1/n2
  1605.      4          80             640      27/42/4/n1/n2
  1606.      5          72             576      27/42/5/n1/n2
  1607.      6          90             720      27/42/6/n1/n2
  1608.      7         144            1152      27/42/7/n1/n2
  1609.  
  1610.      DOT GRAPHICS (24 Pin LQ)
  1611.  
  1612.      Mode Dots/inch      Dots/8 inches    Code
  1613.         (The following are LQ-850 8 pin modes)
  1614.      0          60             480      27/42/0/n1/n2
  1615.      1         120             960      27/42/1/n1/n2
  1616.      2         120             960      27/42/2/n1/n2
  1617.      3         240            1920      27/42/3/n1/n2
  1618.      4          80             640      27/42/4/n1/n2
  1619.      6          90             720      27/42/6/n1/n2
  1620.         (The following are LQ-850 24 pin modes)
  1621.      32         60             480      27/42/32/n1/n2
  1622.      33        120             960      27/42/33/n1/n2
  1623.      38         90             720      27/42/38/n1/n2
  1624.      39        180            1440      27/42/39/n1/n2
  1625.      40        360            2880      27/42/40/n1/n2
  1626.  
  1627.      Where n1=n MOD 256, n2=INT(n/256), n=total columns
  1628.      For example, if n=640, then n1=128 and n2=2
  1629.  
  1630.      Note that following the graphics mode command, the next n bytes are
  1631.      interpreted as graphics bytes.  After n bytes are sent the printer
  1632.      goes back to its text mode.  Also note that for EPSON the MSB of the
  1633.      graphic byte is on the upper side of the print head.
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.                                  -25-
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.      LINE SPACING
  1655.  
  1656.      Line(Pass) Spacing       Code
  1657.  
  1658.      1/6 inch                 27/50
  1659.      1/8 inch                 27/48
  1660.      7/72 inch                27/49
  1661.      n/72 inch                27/65/n   Note:  For 8 pin graphics set n=8
  1662.      n/216 inch               27/51/n   Note:  For 8 pin graphics set n=24
  1663.  
  1664.      Note:  For LQ-850, n/72 is really n/60, and n/216 is really n/180.
  1665.  
  1666.      OTHER CODES
  1667.  
  1668.      Action                   Code
  1669.  
  1670.      Left Margin, n           27/108/n
  1671.      Right Margin, n          27/81/n
  1672.      Return                   13
  1673.      Line feed                10
  1674.      Form feed                12
  1675.      Clear buffer             24
  1676.      Reset printer            27/64
  1677.  
  1678.      Note:  The symbol "/" is used above as a code delimiter.  All
  1679.      parameters specified explicitly or with "n*" are 8 bit numbers
  1680.      (0-255).  For more printer control codes check your EPSON FX manual.
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.                                  -26-
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.      B.  IBM Proprinter/Proprinter X24E Codes
  1721.  
  1722.      Note:  8 Pin mode graphics are only used by DataVu
  1723.  
  1724.           The IBM Proprinter control codes which are pertinent to DataVu
  1725.      are presented here in decimal form for reference:
  1726.  
  1727.      DOT GRAPHICS (8 Pin)
  1728.  
  1729.      Dots/inch  Dots/8 inches         Code
  1730.  
  1731.       60              480               27/75/n1/n2
  1732.      120              960               27/76/n1/n2
  1733.      120              960               27/89/n1/n2  (Faster, prints every
  1734.                                                       other dot)
  1735.      240             1920               27/90/n1/n2
  1736.  
  1737.      Where n1=n MOD 256, n2=INT(n/256), n=total columns
  1738.      For example, if n=1920, then n1=128 and n2=7
  1739.  
  1740.      For 24 pin graphics, the IBM Proprinter X24E Mode commands (AGM on)
  1741.      are the same as the EPSON LQ-850 commands.
  1742.  
  1743.      Note that following the graphics mode command, the next n bytes are
  1744.      interpreted as graphics bytes.  After n bytes are sent the printer
  1745.      goes back to its text mode.  Also note that for IBM the MSB of the
  1746.      graphic byte is on the upper side of the print head.
  1747.  
  1748.      LINE SPACING
  1749.  
  1750.      Line(Pass) Spacing       Code
  1751.  
  1752.      1/8 inch                 27/48
  1753.      7/72 inch                27/49
  1754.      1/6 inch                 27/50
  1755.      n/216 inch               27/51/n   Note:  For 8 pin graphics set n=24
  1756.  
  1757.      Note:  For X24E in AGM mode n/216 is really equal to n/180.
  1758.  
  1759.      OTHER CODES
  1760.  
  1761.      Action                   Code
  1762.  
  1763.      Margins                  27/88/n1/n2
  1764.           where n1=left margin, n2=right margin
  1765.      Return                   13
  1766.      Line feed                10
  1767.      Form feed                12
  1768.      Clear buffer             24
  1769.  
  1770.      Note:  The symbol "/" is used above as a code delimiter.  All
  1771.      parameters specified explicitly or with "n*" are 8 bit numbers
  1772.      (0-255).  For more printer control codes check your IBM Proprinter
  1773.      manual.
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.                                  -27-
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.      C.  C.ITOH 8510 Codes
  1787.  
  1788.           The C.Itoh printer control codes which are pertinent to DataVu
  1789.      are presented here in decimal form for reference:
  1790.  
  1791.      DOT GRAPHICS (8 Pin)
  1792.  
  1793.      Dot Density
  1794.  
  1795.      Dots/inch  Dots/8 inches       Code
  1796.  
  1797.       80              640          27/78
  1798.       96              768          27/69
  1799.      136             1088          27/81
  1800.      160             1280          27/80
  1801.       72              576          27/110
  1802.      120              960          27/113
  1803.      144             1152          27/112
  1804.      107              856          27/101
  1805.  
  1806.      Graphics Command:  27/83/n1/n2/n3/n4 where n1,n2,n3,n4 specify the
  1807.      number of columns n in decimal-ascii form.  For example, n=640 would
  1808.      be specified as n1=48, n2=54, n3=52 and n4=48.  Note that following
  1809.      the graphics command, the next n bytes are interpreted as graphics
  1810.      bytes.  After n bytes are sent the printer goes back to its text mode.
  1811.      Also note that for C.ITOH the MSB of the graphic byte is on the lower
  1812.      side of the print head.
  1813.  
  1814.      LINE SPACING
  1815.  
  1816.      Line(Pass) Spacing       Code
  1817.  
  1818.      1/6 inch                 27/65
  1819.      1/8 inch                 27/66
  1820.      n/144 inch               27/84/n1/n2
  1821.  
  1822.      where n1,n2 specify n in decimal-ascii form.  For example, for 8 pin
  1823.      graphics n should be 16, or n1=49 and n2=54.
  1824.  
  1825.      OTHER CODES
  1826.  
  1827.      Action                   Code
  1828.  
  1829.      Left margin, n           27/76/n1/n2/n3, where n1,n2,n3 specify n in
  1830.      decimal-ascii form.  For example n=4 is specified as n1=48, n2=48 and
  1831.      n3=52.
  1832.      Return                   13
  1833.      Line feed                10
  1834.      Form feed                12
  1835.      Clear buffer             24
  1836.      Reset printer            27/99
  1837.  
  1838.      Note:  The symbol "/" is used above as a code delimiter.  All
  1839.      parameters specified explicitly or with "n*" are 8 bit numbers
  1840.      (0-255).  For more printer control codes check your C.ITOH printer
  1841.      manual.
  1842.  
  1843.  
  1844.  
  1845.                                  -28-
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.      D.  OKIDATA ML92 Codes
  1853.  
  1854.           The Okidata ML92 printer control codes which are pertinent to
  1855.      DataVu are presented here in decimal form for reference:
  1856.  
  1857.      DOT GRAPHICS (7 Pin)
  1858.  
  1859.      Dot Density
  1860.  
  1861.      Dots/inch  Dots/8 inches      Code
  1862.  
  1863.       60              480           30
  1864.       72              576           28
  1865.           (Note:  This density is normally used for graphics)
  1866.      103              821           29
  1867.  
  1868.      GRAPHICS COMMANDS:
  1869.  
  1870.      Command                       Code
  1871.  
  1872.      Enter Graphics Mode            3
  1873.      Exit Graphics Mode             3/2
  1874.      Graphics Line Feed(14/144")
  1875.       and Return                    3/14
  1876.  
  1877.      Note that, unlike the previous printer we have covered, Okidata
  1878.      printers expect to be put into the graphics mode, then they interpret
  1879.      data as graphics bytes, they expect a graphics Line Feed/Return, and
  1880.      finally expect to exit the graphics mode.  Also note that for Okidata
  1881.      the MSB of the graphic byte is on the lower side of the print head.
  1882.  
  1883.      OTHER CODES
  1884.  
  1885.      Action                   Code
  1886.  
  1887.      Left margin, n           27/37/67/n1/n2/n3, where n1,n2,n3 specify
  1888.                               n in decimal-ascii form.  For example n=4
  1889.                               is specified as n1=48, n2=48 and n3=52.
  1890.      Return                   13
  1891.      Line feed                10
  1892.      Form feed                12
  1893.      Clear buffer             24
  1894.  
  1895.      Note:  The symbol "/" is used above as a code delimiter.  All
  1896.      parameters specified explicitly or with "n*" are 8 bit numbers
  1897.      (0-255).  For more printer control codes check your Okidata printer
  1898.      manual.
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.                                  -29-
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.      E.  ASCII Characters
  1919.  
  1920.      Dec  Hex  Ctrl Char      Dec  Hex  Char       Dec Hex  Char
  1921.  
  1922.       0    0         NUL      43   2B    +         86  56    V
  1923.       1    1    A    SOH      44   2C    ,         87  57    W
  1924.       2    2    B    STX      45   2D    -         88  58    X
  1925.       3    3    C    ETX      46   2E    .         89  59    Y
  1926.       4    4    D    EOT      47   2F    /         90  5A    Z
  1927.       5    5    E    ENQ      48   30    0         91  5B    [
  1928.       6    6    F    ACK      49   31    1         92  5C    \
  1929.       7    7    G    BEL      50   32    2         93  5D    ]
  1930.       8    8    H    BS       51   33    3         94  5E    ^
  1931.       9    9    I    HT       52   34    4         95  5F    _
  1932.      10    A    J    LF       53   35    5         96  60    `
  1933.      11    B    K    VT       54   36    6         97  61    a
  1934.      12    C    L    FF       55   37    7         98  62    b
  1935.      13    D    M    CR       56   38    8         99  63    c
  1936.      14    E    N    SO       57   39    9        100  64    d
  1937.      15    F    O    SI       58   3A    :        101  65    e
  1938.      16   10    P    DLE      59   3B    ;        102  66    f
  1939.      17   11    Q    DC1      60   3C    <        103  67    g
  1940.      18   12    R    DC2      61   3D    =        104  68    h
  1941.      19   13    S    DC3      62   3E    >        105  69    i
  1942.      20   14    T    DC4      63   3F    ?        106  6A    j
  1943.      21   15    U    NAK      64   40    @        107  6B    k
  1944.      22   16    W    SYN      65   41    A        108  6C    l
  1945.      23   17    X    ETB      66   42    B        109  6D    m
  1946.      24   18    Y    CAN      67   43    C        110  6E    n
  1947.      25   19    Z    EM       68   44    D        111  6F    o
  1948.      26   1A         SUB      69   45    E        112  70    p
  1949.      27   1B         ESC      70   46    F        113  71    q
  1950.      28   1C         FS       71   47    G        114  72    r
  1951.      29   1D         GS       72   48    H        115  73    s
  1952.      30   1E         RS       73   49    I        116  74    t
  1953.      31   1F         US       74   4A    J        117  75    u
  1954.      32   20         Space    75   4B    K        118  76    v
  1955.      33   21         !        76   4C    L        119  77    w
  1956.      34   22         "        77   4D    M        120  78    x
  1957.      35   23         #        78   4E    N        121  79    y
  1958.      36   24         $        79   4F    O        122  7A    z
  1959.      37   25         %        80   50    P        123  7B    {
  1960.      38   26         &        81   51    Q        124  7C    |
  1961.      39   27         '        82   52    R        125  7D    }
  1962.      40   28         (        83   53    S        126  7E    ~
  1963.      41   29         )        84   54    T        127  7F   DEL
  1964.      42   2A         *        85   55    U
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.                                  -30-
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.      F.  IBM Standard Color Codes/Modes
  1985.  
  1986.      The following information is provided for reference purposes.  DataVu
  1987.      utilizes the Microsoft C library graphics, where colors are controlled
  1988.      by the palette specified in the *.PAL files (2 or 16 colors).
  1989.  
  1990.           CGA text color codes
  1991.  
  1992.      Code      Color               Code             Color
  1993.  
  1994.       0             Black                 8            Dark gray
  1995.       1             Blue                  9            Light Blue
  1996.       2             Green                10            Light Green
  1997.       3             Cyan                 11            Light Cyan
  1998.       4             Red                  12            Light Red
  1999.       5             Magenta              13            Light Magenta
  2000.       6             Brown                14            Yellow
  2001.       7             White                15            Bright White
  2002.  
  2003.      Note that background colors can be chosen only from 0 to 7.  For
  2004.      graphics, CGA supports 2 colors (Black and White) for 640x200 and 4
  2005.      colors for 320x200.
  2006.  
  2007.           CGA 320x200 graphics color codes (BIOS use)
  2008.  
  2009.      Code       Palette 0 Color     Palette 1 Color
  2010.  
  2011.       0                  Black               Black
  2012.       1                  Green               Cyan
  2013.       2                  Red                 Magenta
  2014.       3                  Brown               Normal White
  2015.  
  2016.  
  2017.           EGA color codes (BIOS use)
  2018.  
  2019.      For the 64 color EGA 640x350, the colors are computed from a 6 bit
  2020.      binary word with bits representing RrGgBb, with the capital letters
  2021.      representing the weak colors.  For example, 110000 is most intense
  2022.      red, 100000 is weak red, 010000 is intense red and 000000 is black.
  2023.  
  2024.      In graphics modes, if the color code specified has bit #7 set to 1,
  2025.      that is the code value is greater than 127, or the desired color code
  2026.      is added to 128, then the resultant color of the pixel written on the
  2027.      screen is the specified code XOR'ed with the existing code already on
  2028.      the screen.  This ensures legibility in all cases.
  2029.  
  2030.           VGA color codes (BIOS use)
  2031.  
  2032.      With VGA true analog colors/monitors were introduced.  Colors are
  2033.      specified as RGB, each color specified with 6 bits, for a total of 18
  2034.      bits of information.  Also, the pixel is 'square' resulting in more
  2035.      natural images.  For more information, please refer to PC graphics
  2036.      reference books.
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.                                  -31-
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.           Graphic Modes
  2051.  
  2052.      Standard       Mode      Colors    Pixel Size     Segment
  2053.  
  2054.      CGA            6         2         640 X 200      B800
  2055.      CGA            4/5       4         640 X 200      B800
  2056.      EGA            15        2         640 X 350      A000
  2057.      EGA            16        4/16      640 X 350      A000
  2058.      VGA            17        2         640 X 480      A000
  2059.      VGA            18        16        640 X 480      A000
  2060.      VGA            19        256       320 X 480      A000
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072.  
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080.  
  2081.  
  2082.  
  2083.  
  2084.  
  2085.  
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.                                  -32-
  2110.  
  2111.  
  2112.  
  2113.