home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / PARASOL / VIDEOSTO.ARK / INITPARM.DOC < prev    next >
Text File  |  1986-10-11  |  5KB  |  115 lines

  1. Description of the INITPARM.PAR file:
  2.  
  3.      This file appears on drive A: user 0 on a CP/M system.  When
  4. running under MSDOS, it appears in the current directory, and you
  5. must  ASSIGN A=C  in order for the  programs to locate it.   This
  6. file allows  a common program  (STARTUP.COM)  to be used to start
  7. several  different  applications  which may  reside on  different
  8. drives and/or user numbers in CP/M.
  9.  
  10. ---------
  11. RECORD 0
  12. ---------
  13.  
  14. bytes 0 - 0fh  Terminal-types
  15.                16 bytes for consoles 0 - 15 (in MP/M)
  16.                in CP/M or MSDOS, only the first byte is used
  17.                These determine which record in the terminal
  18.                definition file (TERMINAL.DAT) is used for
  19.                screen operations.
  20.  
  21. word 10h       This is a CP/M (zero-relative) record number
  22.                to the next available application-definition
  23.                record (see below).
  24.  
  25. bytes 12h - 7fh     filler
  26.  
  27.  
  28. ---------------
  29. RECORDS 1 - 16
  30. ---------------
  31.  
  32.      Each of these records describes a "logical printer".  You may
  33. have several (even all) logical printers actually using one physical
  34. printer.  A logical printer is the combination of physical-printer
  35. and the type-font.  For example, if you have physical printers 0 and
  36. 1, you could have the following logical printers defined:
  37.      0 - printer 0, 80-columns on 8-inch paper, 10 CPI
  38.      1 - printer 0, 132-columns on 8-inch paper, 17 CPI
  39.      2 - printer 0, 80-columns on 8-inch paper, 10 CPI letter qual.
  40.      3 - printer 1, 136-columns on 14-inch paper, 10 CPI
  41.      4 - printer 1, 233-columns on 14-inch paper, 17 CPI
  42.      etc.
  43.  
  44.      The record layout for the printer-definition records is:
  45.  
  46. bytes 0 - 3fh  initialization string to send to printer
  47.                Note that if the printer ever gets set to compressed
  48.                print, that the initialization string for normal
  49.                print must have the codes to end compressed print.
  50.  
  51. byte 40h       The physical unit number of the printer.
  52.                In MSDOS, this is actually the printer number (0 - 15)
  53.                In CP/M, the IOBYTE is used to select printer (0 - 3)
  54.  
  55. byte 41h       The line width (in characters) of the printer
  56.                Several reports use this to dynamically reconfigure
  57.                the report for different widths. Also the canned
  58.                report-heading routine uses this to place the page
  59.                number at the right-hand side of the page
  60.                                         redefine startup.rec;
  61. bytes 42h - 61h     A text description of the logical printer (up to
  62.                     31 bytes long), terminated with a byte of zero.
  63.  
  64. bytes 62h - 7fh     filler
  65.  
  66. ---------------
  67. RECORDS 17 on
  68. ---------------
  69.  
  70. bytes 0 - 2    Company identification - When you enter "STARTUP XXX",
  71.                this is what the XXX is compared against.  The first record
  72.                which matches is used.
  73.  
  74. bytes 3 - 5    Program file filetype.  Generally, this is "COM"
  75.  
  76. bytes 6 - 8    Data file filetype.  This allows multiple sets of data for one 
  77.                application to reside on the same drive and user number.
  78.                This allows you to avoid duplication of the program files.
  79.  
  80. bytes 9 - 16   The default program name to execute.  Note that you can
  81.                enter "STARTUP XXX YYYYYYYY" (or STARTUP YYYYYYYY, if
  82.                you are using XXX=blanks), and this will execute the
  83.                program YYYYYYYY.COM (or whatever the program filetype
  84.                is).  If you do not specify a program, this is the name
  85.                which will be used.
  86.  
  87. bytes 17 - 24  The password for this application.  This is just a password
  88.                used to start the application running.  The application
  89.                itself may have a separate password for certain sensitive
  90.                functions.
  91.  
  92. byte 25        The drive where the program files are located.
  93.  
  94. byte 26        The drive where the data-files are located
  95.  
  96. byte 27        The drive to use for backup operations.
  97.  
  98. byte 28        The drive to use for sort operations.
  99.  
  100. byte 29        The user number for all programs and data files.
  101.  
  102. bytes 30 - 45  Filler
  103.  
  104. bytes 46 - 61  Console permission flags for MP/M consoles 0 - 15
  105.                If the corresponding byte is "Y", this application
  106.                is permitted on this console, otherwise, this console
  107.                cannot run this application.  On CP/M, only the first
  108.                byte is used.
  109.  
  110. bytes 62 - 127 filler
  111.  
  112. This record is repeated for each application/data-set combination.
  113. The STARTUP.COM program will search sequentially through these records
  114. when trying to match a company-ID.
  115.