home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / TURBOPAS / EDISK.ZIP / EDISK.DOC < prev    next >
Encoding:
Text File  |  1986-01-05  |  3.1 KB  |  74 lines

  1.                                    EDISK.PAS
  2.                       File examination and editing utility.
  3.  
  4.    Copyright (c) 1985 Future Communications, Atlanta, Georgia and published
  5.    in the Public Domain for non-commercial use.
  6.  
  7.    SOURCE:                  Turbo Pascal
  8.    Version compiled under:  3.0
  9.    O/S:                     MSDOS 2.1, PCDOS 2.1, CP/M80 2.2
  10.  
  11.    To compile, edit EDISK.PAS to:
  12.       (1)  Select 24 or 25 line display
  13.       (2)  Select include files for operating system:
  14.            MSDOS/PCDOS              CP/M80
  15.            -----------              -----------
  16.            EDISK.PAS                EDISK.PAS
  17.            CMDLINE.MSD              CMDLINE.CPM
  18.            DISPLAY.INC              DISPLAY.INC
  19.            EDIT.INC                 EDIT.INC
  20.  
  21.    PURPOSE:
  22.  
  23.       Diskfile debugger in ASCII or hex.
  24.  
  25.    PARAMETERS
  26.  
  27.       Parameters are passed by Command Line
  28.  
  29.    DESCRIPTION:
  30.  
  31.       A>EDISK [filename]
  32.  
  33.       There are two modes in which this program  operates,  REVIEW
  34.       and EDIT.   The REVIEW mode is to view the file 128 bytes at
  35.       a  time  and  supports  the  following  functions  from  the
  36.       "Command:" prompt:
  37.            ^X   Display  the  previous block (decrement the  block
  38.                 number).
  39.            ^E   Display  the  next  block  (increment  the   block
  40.                 number).
  41.            S    Set the block number.
  42.            Z    Position the file at the last block in the file.
  43.            B    Position the file at the first block in the file.
  44.            E    Enter edit mode.
  45.            Q    Exit the program.
  46.            ?    Display  a  list of commands (automatic  when  the
  47.                 program first starts up).
  48.            P    Print the displayed block on the printer.
  49.            D    Dump the entire file to the printer.
  50.  
  51.       When  the  EDIT mode has been entered,  the cursor is  posi-
  52.       tioned  at the first byte in the block in the hex region  of
  53.       the display.  You may modify the block a nybble at a time in
  54.       the  hex  region by entering any valid hex  digit  (case  is
  55.       ignored).   In the ASCII region, you may enter any printable
  56.       character  into the block.   The following control codes are
  57.       valid in the EDIT mode:
  58.            ^W   Write  the  edited buffer out to  the  disk  (this
  59.                 command  must be invoked to modify the disk file).
  60.                 You  are  returned  to the REVIEW  mode  when  the
  61.                 buffer is written out.
  62.            ^Q   Quit  the EDIT mode WITHOUT writing the buffer  to
  63.                 the disk.  You are returned to the REVIEW mode.
  64.            ^O   Swap ASCII and hex regions.   The cursor will move
  65.                 to  the  byte being edited  in  the  corresponding
  66.                 region.
  67.            ^X   Cursor down (+16 bytes in the buffer).
  68.            ^E   Cursor up (-16 bytes in the buffer).
  69.            ^S   Cursor left (one nybble in hex region and one byte
  70.                 in ASCII region).
  71.            ^D   Cursor  right  (one nybble in hex region  and  one
  72.                 byte in ASCII region).
  73.  
  74.