home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_100 / 186_01 / ded.doc < prev    next >
Text File  |  1985-08-21  |  5KB  |  111 lines

  1.                   D/ED: A DISK EDITOR FOR CP/M 
  2.  
  3.      D/ED  is a program that allows the user to edit directly the 
  4. contents of a diskette.   The purpose of writing D/ED was to pro-
  5. vide a program with the functional nature of DU.COM (in the  pub-
  6. lic  domain) and the ease-of-use that DPATCH (a copywritten  pro
  7. gram) allows.
  8.  
  9.      The  program  is as of this date (3/3/85) dedicated  to  the 
  10. public  domain in the tradition of "freeware".   If you have  the 
  11. desire to make a donation for the program, send it to:
  12.  
  13.      Collin Brendemuehl
  14.      721 S. Littler Place
  15.      Edmond OK 73034
  16.           (405) 341-7437
  17.  
  18.      If  there  are changes or additions that you would  like  to 
  19. make to the code,  please send your suggestions to me so that the 
  20. program can be kept up-to-date.  Thank you.
  21.  
  22.      D/ED allows a person to:
  23.           1. Alter the contents of tracks and sectors
  24.                by hexadecimal or ASCII input.
  25.           2. Move tracks and sectors around the disk
  26.                or just keep them in storage buffers.
  27.                There are 8 buffers.
  28.           3. Print the contents of a sector in ASCII-HEX
  29.                format to either a disk file or to the
  30.                system LST: device.
  31.           4. Analyze the disk sub-system, giving block
  32.                size, number of sectors/track, tracks/disk,
  33.                and total disk space.
  34.  
  35.      To  use  D/ED,  simply  select the option displayed  on  the 
  36. screen.
  37.  
  38. The D/ED Screen
  39.  
  40. Tracks/disk     :  40          Block Size      : 1024  
  41. Sectors/track   :  40          Blocks/disk     :  184  
  42. Allocated tracks:   3          Space on disk   : 204800  
  43.  
  44. Track           :   3          Sector          :   0   
  45. Block           :   0          Drive           : B   
  46.  
  47.   0    02525049 50202020 20434F4D 0000003A .RPIP    COM...:
  48.  16    02030405 06070809 00000000 00000000 ................
  49.  32    00442F45 4449544F 52444F43 00000008 .D/EDITORDOC....
  50.  48    0A000000 00000000 00000000 00000000 ................
  51.  64    00504147 45202020 20434F4D 00000001 .PAGE    COM....
  52.  80    0E000000 00000000 00000000 00000000 ................
  53.  96    00443220 20202020 20432020 00000068 .D2      C  ...h
  54. 112    1A1B2B30 31323334 35363738 39000000 ..+0123456789...
  55. Commands:     Quit
  56.     Sector: +Next  -Prev   0 2 Zap
  57.             Write  Edit  Call  Recall
  58.     Track : Back   Ahead Home
  59.     Select: Track  Sector
  60.     Disk  : Drive Logged
  61.     Search: Locate *Again
  62.     Other : Print   File
  63.                  Option:   
  64. THE COMMANDS
  65.  
  66.      As  you can see,  most of the commands are fairly simple  to 
  67. follow.
  68.  
  69.      Type in "Q" to quit.
  70.              "+" to go to the next SECTOR.
  71.              "-" to go to the previous SECTOR.
  72.              "0" to go to the 0-SECTOR of the present track.
  73.              "2" to go to the MIDDLE of the present track.
  74.              "Z" to ZAP the sector with E5's (hex).
  75.              "W" to WRITE the displayed sector to the DISK.
  76.              "E" to EDIT the contents of the sector.
  77.                     Then enter the requested offset in DECIMAL.
  78.                     To enter HEX values, just type in the value.
  79.                     To enter any ASCII character, type "#" before
  80.                          the character to be entered.
  81.                     To cease EDITing, enter a "."
  82.              "C" CALL
  83.                     Place the displayed sector in a buffer.
  84.                     Enter a number from 1 to 8.
  85.              "R" RECALL
  86.                     Get and display a sector from a buffer.
  87.                     Enter a number from 1 to 8.
  88.              "B" Go BACK 1 track.  If at track 0, then to the
  89.                     last track.
  90.              "A" Go AHEAD 1 track.  If at the last track,
  91.                     then to track 0.
  92.              "H" Send the disk drive head HOME. (Track 0,
  93.                     sector 0)
  94.              "T" Select a TRACK.
  95.              "S" Select a SECTOR.
  96.              "D" Select a DRIVE.
  97.              "L" LOCATE a string of ASCII characters.
  98.              "*" LOCATE AGAIN the same string of characters.
  99.              "P" PRINT the displayed screen to the printer.
  100.              "F" FILE the displayed screen in a disk file.
  101.  
  102.      There really is nothing difficult about the capabilities  of 
  103. the program.  Just follow the instructions and you should have no 
  104. problem using it.
  105.  
  106. VIDEO CONTROL SETUP
  107.  
  108.      The  screen handling is presently set up for a TeleVideo 920 
  109. terminal (on my Osborne I).  You can change the configuration and 
  110. then recompile the porgram.
  111.