home *** CD-ROM | disk | FTP | other *** search
/ aneCDote 4 / README.txt < prev   
Encoding:
Text File  |  1993-01-01  |  15.5 KB  |  328 lines

  1. ∩╗┐Compact Disc drive utilities  1.0 . . . . . . . Playtime
  2.                               2.0 . . . . . . . Playtrak
  3.                               3.0 . . . . . . . TOC
  4.                               4.0 . . . . . . . Timecode
  5.                               5.0 . . . . . . . Stop
  6.                               6.0 . . . . . . . Reset
  7.                               7.0 . . . . . . . Eject
  8.                               8.0 . . . . . . . Lock
  9.                               9.0 . . . . . . . Unlock
  10.                              10.0 . . . . . . . CDump
  11.                              11.0 . . . . . . . Status
  12.                              12.0 . . . . . . . Devices
  13.                              13.0 . . . . . . . QTIME_LB
  14. Compact Disc drive tests     14.0 . . . . . . . Readtest
  15.                              15.0 . . . . . . . Skiptest
  16.                              16.0 . . . . . . . Scan
  17. Integrated utilities         17.0 . . . . . . . CDread
  18.                              18.0 . . . . . . . Look
  19. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  20.  
  21.      Contained on  your copy  of  the  aneCDote  CD-ROM  disc  is a
  22.      powerful collection  of CD-ROM  drive control  utilities.  You
  23.      can find these programs in the sub-directory \UTILS.
  24.  
  25.      The operation  of each  program is  described below along with
  26.      the command line arguments that are needed in order to operate
  27.      them successfully.   Arguments  which are enclosed in brackets
  28.      are  optional   and  will  posses  a  default  value  if  left
  29.      undefined.
  30.  
  31.      If you  have more  than one  CD-ROM  drive  attached  to  your
  32.      computer you  will need to supply the DEVICE argument to these
  33.      programs to  select the correct drive. If this argument is not
  34.      defined then  the programs  will locate the first CD-ROM drive
  35.      available.
  36.  
  37.      All of  these programs can be run directly from the CD-ROM but
  38.      we would  recommend that you install them onto your hard disc.
  39.      Installation will  allow faster loading of the routines and in
  40.      some cases make their operation more sensible.
  41.  
  42.      All of  the programs can be executed with the argument [?] and
  43.      will return  on-line help  messages about  their function  and
  44.      their respective arguments.
  45.  
  46. 1.0  PLAYTIME SM SS [SB] EM ES [EB] [CHANNEL] [DEVICE]
  47.      This routine will play a specified portion of CD audio through
  48.      your CD-ROM  drive.   The portion is defined by the disc time;
  49.      minutes, seconds and blocks ( there being 75 blocks within one
  50.      second )  at the start point and the end point  You may listen
  51.      to this audio through a pair of headphones or an amplifier.
  52.  
  53.           SM   - start time in minutes
  54.           SS   - start time in seconds
  55.           SB   - start time in blocks (default = 0)
  56.           EM   - end time minutes
  57.           ES   - end time in seconds
  58.           EB   - end time in blocks (default = 0)
  59.      Channel   - determines which output channels are active
  60.                  S = stereo:- (default)
  61.                  L = left channel
  62.                  R = right channel
  63.                  M = mute
  64.       Device   - CDROM device name (default first drive)
  65.                  or CDROM drive letter
  66.  
  67. 2.0  PLAYTRAK [START] [END] [CHANNEL] [DEVICE]
  68.      This routine  will play  an audio CD as defined by the tracks.
  69.      A compact  disc can  hold up to 99 tracks but the program will
  70.      only allow  you to  define up  to the  number of tracks on the
  71.      disc.
  72.  
  73.        Start  - First track to commence playing audio
  74.                 ( default = 1 )
  75.          End  - last track to play ( default = start track )
  76.      Channel  - determines which output channels are active
  77.                       S = stereo ( default )
  78.                       L = left channel
  79.                       R = right channel
  80.                       M = mute
  81.       Device  - CDROM device name (default first drive)
  82.                 or CDROM drive letter
  83.  
  84. 3.0  TOC [DEVICE]
  85.      Every compact disc, whether it be audio or CD-ROM, has a table
  86.      of contents  held before  the start  of the first track.  This
  87.      program will  interrogate this  area of  the disc  and  return
  88.      information about  the disc  structure.   You  will  see  data
  89.      returned displaying  the track  numbers, their start times and
  90.      the disc  length.  All timecodes are stored to block-accuracy,
  91.      allowing this  routine to  identify a  particular disc  by its
  92.      structure quite reliably.
  93.  
  94.      Device   - CDROM device name      (default first drive)
  95.                 or CDROM drive letter
  96.  
  97. 4.0  TIMECODE [DEVICE]
  98.      When a  compact disc is in the drive the disc will be rotating
  99.      and the  head will  be positioned on the disc.  Encoded within
  100.      the compact disc is a continuous time code which is individual
  101.      to each block.  This program will interrogate the head for its
  102.      position and  return continuously updating information.  Track
  103.      number, disc  time and  track time are displayed.  However, it
  104.      is worth  noting that if the disc is not being played the time
  105.      code will remain static except for the spinning disc.
  106.  
  107.      If you execute this program from the CD-ROM itself you will be
  108.      returned the  time code  location  for  the  position  of  the
  109.      program that  was just loaded.  Far more sensible operation is
  110.      obtained by installing this program onto your hard disk.
  111.  
  112.      Device   - CDROM device name      (default first drive)
  113.                 or CDROM drive letter
  114.  
  115. 5.0  STOP [DEVICE]
  116.      This program  simply terminates  audio playing  of the compact
  117.      disc.   The head  position is left at the location of the last
  118.      played block.
  119.  
  120.      Device   - CDROM device name      (default first drive)
  121.                 or CDROM drive letter
  122.  
  123. 6.0  RESET [DEVICE]
  124.      Executing this  program will  completely reset the drive.  All
  125.      current functions are stopped (including a drive hang-up), the
  126.      disc will  be accepted  (if it is out), all drive buffers will
  127.      be cleared, the table of contents is reloaded and the head set
  128.      at the reset position.
  129.  
  130.      Device   - CDROM device name      (default first drive)
  131.                 or CDROM drive letter
  132.  
  133. 7.0  EJECT [DEVICE]
  134.      Executing this  program has  the same  effect as  pressing the
  135.      Eject button  on the CD-ROM drive.  The disc is spun down, the
  136.      head and  drive is  reset and  the disc is ejected.  The reset
  137.      command (see  above) can  be used  to accept the disc into the
  138.      drive.
  139.  
  140.      Device   - CDROM device name      (default first drive)
  141.                 or CDROM drive letter
  142.  
  143. 8.0  LOCK [DEVICE]
  144.      Run this  program to  disable the  Eject button on your CD-ROM
  145.      drive and  lock the  disc in  the  drive.    This  command  is
  146.      cancelled using  the UNLOCK  program  or  the  RESET  program.
  147.      Using this  program in  your application can be useful in that
  148.      it prevents the user removing the disc during the operation of
  149.      your  program.     The   program  EJECT   can  still  be  used
  150.      effectively.
  151.  
  152.      Device   - CDROM device name      (default first drive)
  153.                 or CDROM drive letter
  154.  
  155. 9.0  UNLOCK [DEVICE]
  156.      This routine  will cancel  the LOCK  command and  allow manual
  157.      ejection of  the disc  using the  EJECT button  on the  CD-ROM
  158.      drive.
  159.  
  160.      Device   - CDROM device name      (default first drive)
  161.                 or CDROM drive letter
  162.  
  163. 10.0 CDUMP [SS] [NS] [FILENAME] [DEVICE]
  164.      CDUMP will  allow you to create a file which contains an image
  165.      of the  CD-ROM data.   The  area that you wish to be dumped is
  166.      defined by  its start sector address and the number of sectors
  167.      you wish  to read.   CD-ROM  data areas  start at sector zero.
  168.      High Sierra  and ISO  9660 images  commence at  sector  number
  169.      sixteen.    The  complete  size  of  a  CD-ROM  image  can  be
  170.      calculated using  the table of contents information; one block
  171.      is considered  a sector,  one second  is 75  sectors  and  one
  172.      minute is  4,500 sectors.   Each sector is 2048 bytes in size.
  173.      This data  is dumped  to a  file but be careful, it is easy to
  174.      create files which are very large if you define a large number
  175.      of sectors to read.
  176.  
  177.            SS   - the first sector of the data dump
  178.            NS   - the number of sectors for the data dump
  179.      Filename   - name of file to write sector data
  180.                   (default filename is IMAGE.CD)
  181.        Device   - CDROM device name      (default first drive)
  182.                   or CDROM drive letter
  183.  
  184. 11.0 STATUS [DEVICE]
  185.      This program interrogates the internal ROM of the CD-ROM drive
  186.      and displays  the capabilities of the drive. Information about
  187.      the data-read modes available are returned such as the ability
  188.      to read  video,  interleaved  data,  audio,  unencoded  CD-ROM
  189.      blocks and High Sierra addressing.
  190.  
  191.      Device   - CDROM device name      (default first drive)
  192.                 or CDROM drive letter
  193.  
  194. 12.0 DEVICES
  195.      This is a very useful program if you have more than one CD-ROM
  196.      drive attached  to your  computer and have a poor memory.  The
  197.      program  will   scan  the  operating  system  environment  for
  198.      installed CD-ROM devices and return a list of available CD-ROM
  199.      devices.
  200.  
  201. CD-ROM Drive Tests
  202. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  203. Three CD-ROM  drive test  programs are included on this disc.  Each
  204. one is  designed to give you a basic graph of the drive performance
  205. under certain  conditions.    Feel  free  to  change  your  set  up
  206. configuration between  running  tests  so  that  you  may  see  how
  207. performance can  be affected  by buffers  (see  your  CD-ROM  drive
  208. installation manual  for further  details).  These tests have to be
  209. run from your hard disc.
  210.  
  211. 13.0 READTEST [DEVICE] [SAMPLES] [SS] [RS] [RE] [-B] [-H]
  212.      READTEST is  designed to  give you  the time needed to load an
  213.      amount of data into the computer.  With the default settings a
  214.      graph  will   be  plotted  showing  the  time  taken  to  read
  215.      2K,4K,6K,8K  ...   and  demonstrates  how  data  streaming  is
  216.      dependent on  size and buffering.  The arguments necessary for
  217.      this program are listed below.
  218.  
  219.      DEVICE  - the device name of the CD-ROM drive  default first
  220.                drive
  221.      SAMPLES - the number of samples to take at any test point
  222.                (default = 15)
  223.         SS   - start sector for test to begin at (default = 0)
  224.         RS   - range start is the size of the first data (in 2K
  225.                blocks) stream to read (default = 1 block)
  226.         RE   - range end is the size of the last data stream (in
  227.                2K blocks) to read (default = 20 blocks) (max =
  228.                available memory)
  229.         -B   - performs brief version of test
  230.         -H   - displays help screen
  231.  
  232.                Example default READTEST D: 15 0 1 20
  233.                  Read 1  block  starting at 0 then
  234.                  read 2  blocks starting at 0 then
  235.                       |
  236.                  read 20 blocks starting at 0.
  237.  
  238. 14.0 SKIPTEST [DEVICE] [SAMPLES] [READS] [RS] [RE] [SS] [-H]
  239.      SKIPTEST   plots how  long it  takes to read a group of blocks
  240.      (defined by  READS), then  skip a number of blocks (defined by
  241.      RS and  RE). Negative  numbers are allowed in order to see the
  242.      effect of  head movement  backwards and  forwards.    SS  will
  243.      automatically be  adjusted if  the result  would mean the head
  244.      leaving valid  disc area.  This test  will give you a gauge of
  245.      head access speed.
  246.  
  247.      DEVICE  - the device name of the CD-ROM drive  default
  248.                first drive
  249.      SAMPLES - the number of samples to take at any test point
  250.                (default = 1)
  251.      READS   - the number of CD-ROM blocks to read at any test
  252.                point (default = 8)
  253.      RS      - range start is the first number of blocks to
  254.                skip between reads (default = 0 blocks)
  255.      RE      - range end is the last number of blocks to skip
  256.                between reads (default = 30)
  257.      SS      - start sector for test to begin at (default = 0)
  258.  
  259.              Example default SKIPTEST D  1 8 0 30 0
  260.  
  261.      Read 8 blocks, skip 0 blocks, read 8 blocks starting at 0 then
  262.      read 8 blocks, skip 1 block,  read 8 blocks starting at 0 then
  263.           |              |              |
  264.      read 8 blocks, skip 30 blocks, read 8 blocks starting at 0.
  265.  
  266. 15.0 SCAN [Device]
  267.      SCAN   is a simple program that will monitor the time taken to
  268.      scan an  entire CD-ROM directory structure.  The time taken to
  269.      scan depends on the CD-ROM drive, the interface card, on-drive
  270.      buffering, system  driver and  device driver  buffering and of
  271.      course  the  complexity  of  the  CD-ROM  structure.    It  is
  272.      therefore a good yardstick for overall system performance of a
  273.      CD-ROM machine.   Try  changing the buffering that MSCDEX uses
  274.      by altering  the /M  variable in  your AUTOEXEC.BAT.  You will
  275.      even find  that cleaningthe  disc  might  have  an  effect  on
  276.      overall speed.
  277.  
  278.      DEVICE  - the device name of the CD-ROM drive  default
  279.                first drive
  280.  
  281. 16.0 QTIME_LB [Logical Block Number]
  282.      QTIME_LB is a program that returns several pieces of information
  283.      about the logical block number selected.  Access to audio, or to
  284.      CD-ROM XA ADPCM audio in particular is permitted to be either by 
  285.      'Red Book'(i.e. subcode Q) or 'Yellow Book'(i.e. CD-ROM header
  286.      address).  These are NOT necessarily related,  but it is often
  287.      convenient to start by block number and stop by Q time,  which
  288.      may give unexpected results - especially on CD-R discs!
  289.  
  290.      The parameters returned are:
  291.      The CDROM DOS drive number,  and the corresponding letter.
  292.      The logical block requested and its nominal Red Book conversion.
  293.      The timecode that is held in the CD-ROM header (which should be
  294.      the same as the Red Book conversion,  but the initial pause is
  295.      allowed to vary between 2 and 3 seconds).
  296.      the Subcode channel Q data is ASCII, and decoded.
  297.      The 'Red Book' address decoded into absolute and track relative 
  298.      time,  the track and index numbers. 
  299.      As the Q subcode is read after the optical sylus has read the 
  300.      requested block,  the Red Book time retutrned will be slightly 
  301.      later than the requested time.  However, if it is more than 5 
  302.      blocks late,  this suggests that there may be a timing problem.
  303.      
  304.  
  305.  
  306. Integrated Utilities
  307. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  308.  
  309. 17.0 CDread
  310.      Use this  fully integrated  version of  a CD block viewer.  At
  311.      any time,  the available  functions are prompted by buttons at
  312.      the bottom of the screen.  You will find that this version has
  313.      the print button disabled.
  314.  
  315. 18.0 Look
  316.      A simple but sometimes very useful utility that scans a chosen
  317.      file  for  the  characters  contained.   Useful if you want to
  318.      verify  that  a  file  contains  non-english characters, maths
  319.      symbols  or  line draw characters.  Also useful if you want to
  320.      know  the carriage return/line feed character sequence used in
  321.      a file.
  322.  
  323.      After  running  LOOK, chose a file from the F2 FILES option by
  324.      hitting return on the highlighted name. Press F9 SCAN to start
  325.      the scanning, F9 STOP to halt the analysis.  A scrollable list
  326.      of  the  'ASCII'  character  set  with  the  number  of  found
  327.      occurrences is displayed.
  328.