home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 128 #21 / q21.d81 / t.docs 1 < prev    next >
Encoding:
Text File  |  1990-01-01  |  20.7 KB  |  470 lines

  1.  
  2.  
  3.                 * * * * *  DISKSERVANT V1.0  * * * * *
  4.  
  5.                           By Alf H. Jonassen
  6.  
  7.  
  8. DISKSERVANT is a program offering a variety of disk utilities.  It is
  9. designed with maximum convenience, compatibility and security in mind,
  10. making it unusual or even unique in many ways.  But they all say that, don't
  11. they?
  12.  
  13. Docs are generally boring reading, and these are particularly detailed.
  14. There's really no need to read these docs at once if you're a fairly
  15. confident 128 user.  Rather, I suggest you return to the docs when you're
  16. stuck or want a thorough description of a specific feature.  DISKSERVANT is
  17. designed with focus on being user-friendly, so just play around and have
  18. fun!
  19.  
  20.  
  21. * * * TABLE OF CONTENTS * * *
  22.  
  23. Docs Part 1:   Preface
  24.                Table of contents
  25.                Hardware requirements
  26.                General information
  27.                Disk drive check
  28.                Quick keys:
  29.                 Swap main/copy
  30.                 Directory
  31.                 Extended directory
  32.                 Disk report
  33.                 DOS command (enhanced; please read)
  34.                 RAM Expansion Unit on/off
  35.                Configure drives
  36.                Interleave set
  37.                File copier
  38.  
  39. Docs Part 2:   Scratch files
  40.                Unscratch
  41.                Edit directory
  42.                Print directory
  43.                Disk copier
  44.  
  45. Docs Part 3:   Header/format
  46.  
  47. Docs Part 4:   Autoboot Tool
  48.  
  49. Docs Part 5:   Reverse/Escape Codes
  50.                Hardware problems
  51.                Customizing the program (please read)
  52.  
  53.  
  54. * * * HARDWARE REQUIREMENTS * * *
  55.  
  56. Minimum hardware:
  57. - Commodore 128 or 128D
  58. - Any Commodore compatible disk drive (or 128D internal drive).
  59. - 40 or 80 column (or both) monochrome or color monitor.
  60.  
  61. Hardware supported but not required:
  62. - Additional disk drive(s), devices 4 through 29 supported.
  63. - 1700, 1764 and 1750 memory expansion units.  Upgraded REU's supported up
  64. to 1Mb.  RAMDOS is supported where appropriate.
  65. - 64K VDC RAM is automatically detected and utilized.
  66.  
  67. SPECIAL NOTE to owners of the 1764 RAM expansion unit:  Despite what your
  68. 1764 manual tells you, the device will work perfectly with your 128 and
  69. DISKSERVANT can utilize it to maximum advantage.
  70.  
  71.  
  72. * * * GENERAL INFORMATION * * *
  73.  
  74. When DISKSERVANT menu is run, it will analyze the disk drives connected to
  75. your computer.  DISKSERVANT checks all device numbers 8 through 12 for
  76. active disk drives.  It will adopt the first disk drive it finds as the main
  77. drive.  Then, the next drive found becomes the copy drive.  If only one
  78. drive is connected, that drive will become both the main and copy drive.
  79.  
  80. The MAIN drive is the source drive for the Disk and File Copiers, and all
  81. other operations are performed on this drive.  The COPY drive is the target
  82. drive for the File copier and Disk copier.  The Interleave set feature
  83. always affects the COPY drive.
  84.  
  85. SPECIAL NOTE to 1581 users:  All operations will be performed within the
  86. currently selected partition unless indicated otherwise.
  87.  
  88. Disk errors:  Most errors are reported using the standard disk error
  89. messages.  Please refer to your disk drive manual for interpretation of the
  90. error messages.
  91.  
  92. IMPORTANT! - ESCape keys:  DISKSERVANT respond to the ESC key as an all-
  93. purpose panic button.  The ESC key will let you exit from everything
  94. everywhere!  The only exception is when a disk operation is in progress
  95. (reading or writing to disk).  Then, the STOP key will in most cases be able
  96. to abort the process.  Please note that the RUN/STOP key may have to be held
  97. down firmly for several seconds before DISKSERVANT responds.
  98.  
  99. HELP:  While using features involving a disk directory, you may notice it
  100. says <HELP> on the top left of the screen.  By pressing the HELP key, you
  101. may view the general cursor movement and file selection options available.
  102.  
  103. I should note that DISKSERVANT uses burst mode whenever possible (with the
  104. 1570, 1571 and 1581), but otherwise it does not attempt to speed up disk
  105. operations.  Sorry, no disk turbo for 1541s.
  106.  
  107.  
  108. * * * DISK DRIVE CHECK * * *
  109.  
  110. DISKSERVANT figures out by itself the type of drive(s) connected.  The
  111. supported drive types are as follows:
  112.  
  113. Not active:
  114. DISKSERVANT can't find a disk drive with the device number specified.  In
  115. that case, check that the disk drive is properly connected and turned on.
  116. Also check that you have selected the proper device number.
  117.  
  118. Unknown:
  119. DISKSERVANT has detected a drive that doesn't match any of the Commodore
  120. disk drives.  DISKSERVANT will assume the drive to be 1541 compatible.  That
  121. is, single sided, 35 tracks, directory on track 18.  If your drive doesn't
  122. fit this description, only the Scratch, File Copy and Autoboot Tool
  123. utilities will work.
  124.  
  125. 1541:
  126. Commodore 1541 or compatible.  The Commodore 1570 is also identified as a
  127. 1541, but DISKSERVANT will use burst mode when communicating with the 1570.
  128.  
  129. 1571:
  130. Commodore 1571 or compatible in double sided mode.
  131.  
  132. 1571 side 0:
  133. Commodore 1571 set to 1541 mode.  For maximum performance, you should switch
  134. the drive to 1571 mode.
  135.  
  136. 1571 side 1:
  137. Commodore 1571 in 1541 mode using the back side of the disk.  DISKSERVANT
  138. fully supports this mode of operation.
  139.  
  140. 1581:
  141. Commodore 1581 disk drive.  It is indicated if your drive will access the
  142. root directory or a partition.  If a partition is selected, the start track
  143. of the partition will be displayed as well.
  144.  
  145. 17xx RAMDOS:
  146. Commodore RAMDOS.  DISKSERVANT can use RAMDOS as any other disk drive within
  147. the capabilities of RAMDOS itself.
  148.  
  149.  
  150. If the copy drive is identified as a 1541 or 1571 (in all modes) then the
  151. drive's sector interleave setting is displayed.  If your disk drive is
  152. equipped with JiffyDOS the interleave will be zero unless it has been set to
  153. another value previously.  Please refer to your JiffyDos manual for details.
  154. For a full explanation of the sector interleave, please refer to the section
  155. of these docs dealing with the Interleave Set feature.
  156.  
  157. DISKSERVANT always checks if the drive(s) you are using is compatible with
  158. the utility you select, and adjusts itself automatically to your setup.
  159. Don't worry about compatibility, DISKSERVANT will handle it for you (unless
  160. your drive is identified as "unknown", see above).
  161.  
  162.  
  163. * * * QUICK KEYS * * *
  164.  
  165. SPACE, Swap main/copy:
  166. Your main drive will become the copy drive and vice versa.
  167.  
  168. F1/F2, Directory (main/copy):
  169. Displays a directory from the specified drive.  To select a 1581
  170. subdirectory, place the cursor on the subdirectory name and press RETURN.
  171. Press "/" to select the root directory.  You can press F1 through F4
  172. directly to access the other directory types and/or the other drive without
  173. returning to the DISKSERVANT menu.
  174.  
  175. F3/F4, Extended dir (main/copy):
  176. Displays ALL files in the directory including any deleted files.  In
  177. addition, each file's start track (T) and sector (S) is displayed.
  178. Unrecognized file types are displayed with "???" in the file type column.
  179. Positions in the directory without files of any kind are listed as "- Empty
  180. slot -".  This will normally occur at the end of the directory.  Extended
  181. dir won't support RAMDOS.
  182.  
  183. F5/F6, Disk report (main/copy):
  184. This feature will produce a statistical overview of a disk.  If you're using
  185. a 1581, only the currently selected directory is taken into account.
  186.  
  187. The disk name and ID is printed first.  Then a list of how many files there
  188. are of each type, along with the sum of the disk blocks each file type uses.
  189. Also, the total number of files and the blocks they occupy is displayed.
  190. Finally, the number of boot sectors (if any), blocks free and total blocks
  191. on disk is displayed.
  192.  
  193. Please note that improperly closed files (splat files) are NOT included in
  194. the file count.  Also please note that DEL files in the list DOES NOT mean
  195. scratched files.  Only files that appear as DEL files in a normal directory
  196. will be counted.  A DEL file, if properly closed, is a completely legitimate
  197. file type which can be read as any SEQ file.
  198.  
  199. Regarding boot sectors, you'll see "0" or "1" most often, but multisector
  200. boot areas can also be encountered.  There are two cases where you'll see
  201. "(N/A)" where the number of sectors should be:  RAMDOS can't have boot
  202. sectors, and for the 1581, the boot area of track 1 is accessible only if
  203. the root directory is selected.
  204.  
  205. The "Grand total" is the sum of the blocks used by files, boot blocks and
  206. blocks free.  Normally this should add up to the total capacity of your
  207. disk.  There are, however, a number of reasons why this might not be the
  208. case.  For example, the blocks that are counted for each file in the
  209. directory may in some cases not reflect the actual size of the file.  It is
  210. possible to alter the number of blocks in the directory without changing the
  211. length of the file (and vice versa).  Disk blocks may also be marked as used
  212. without being part of files (this is what Commodore disk manuals refer to as
  213. "random files").  Bear this in mind if the grand total doesn't make sense.
  214. Actually, the grand total is an excellent indicator that something might be
  215. wrong with the disk.  Errors in the BAM occur more often than you think.
  216. Validating the disk might then be a good idea.
  217.  
  218. F7/F8, DOS command (main/copy):
  219. This will let you send a CBM DOS command over the disk drive command
  220. channel.  You will se a '@' character at the bottom of the screen along with
  221. the device number you will be using.  After a DOS command has been
  222. performed, the drive status is displayed.  You can press RETURN without
  223. entering a command if you only want to view the the drive status.  Please
  224. refer to your disk drive manual for interpretation of the status messages.
  225. You may recall the last DOS command by pressing SHIFT/RETURN while the
  226. cursor is flashing on the DOS command line.  Please note that the recall
  227. feature is only effective as long as you stay within DISKSERVANT.  If you
  228. exit, and then re-run DISKSERVANT, any previous command is erased.
  229.  
  230. The useful commands are as follows:
  231.  
  232. C0:newfile=oldfile
  233. Copy a file on the same disk.
  234.  
  235. I0
  236. Initialize disk.
  237.  
  238. N0:diskname,ID
  239. Format (header, new) disk.  Use with caution.
  240.  
  241. R0:newfile=oldfile
  242. Rename a file.
  243.  
  244. S0:filename
  245. Scratch (delete) a file.
  246.  
  247. UJ
  248. Reset disk drive.
  249.  
  250. U0>M0
  251. Force drive into 1541 mode (1571 only)
  252.  
  253. U0>M1
  254. Put drive into 1571 mode (1571 only)
  255.  
  256. U0>H0
  257. Select head 0 (1571 in 1541 mode only)
  258.  
  259. U0>H1
  260. Select head 1 (1571 in 1541 mode only)
  261.  
  262. U0>V1
  263. Write verify OFF (1571 with new ROM and 1581)
  264.  
  265. U0>V0
  266. Write verify ON (1571 with new ROM and 1581)
  267.  
  268. V0
  269. Validate disk.
  270. PLEASE NOTE:  This command has been enhanced.  Unlike the standard validate
  271. command, it will protect boot sector(s), if present, from being overwritten
  272. later. Please note that the boot-protect won't work with drive 1 in a dual
  273. drive unit.
  274.  
  275. /0:partition
  276. Change disk partition (1581 only).
  277.  
  278. /
  279. Change to root directory (1581 only).
  280.  
  281.  
  282. Extra DOS command:
  283.  
  284. #number
  285. Change/swap device number.  Typing '#' followed by a number between 4 and 29
  286. will change the device address of the current disk drive to that number.  If
  287. the device number specified is used by another disk drive, the two drives
  288. will swap device numbers.  DO NOT use this command if there's currently a
  289. disk drive with device number of 30.  Device number 30 is used temporarily
  290. as the device numbers are swapped.  Also, you can NOT swap devices with
  291. printers or other non-disk units.  It will work fine with RAMDOS though.
  292.  
  293.  
  294. DEL, Ram Expansion Unit on/off:
  295. DISKSERVANT can use any Commodore Ram Expansion Unit as data storage when
  296. using the Disk Copier and File Copier.  When turned ON, DISKSERVANT will
  297. analyze and display the size of your REU.  Please note however, DISKSERVANT
  298. won't identify any REU to be bigger than 1Mb, even if your REU does has more
  299. memory onboard.  Since duplicating 1581 disks is the most memory hungry job
  300. you're ever going to do within DISKSERVANT, this limitation won't hamper
  301. you.  Turning the REU on then off again won't disturb its contents.
  302. However, you should NEVER use it if RAMDOS is active.  The REU contents will
  303. be disturbed and then your system will crash as soon as DISKSERVANT begins
  304. to store data in the REU.
  305.  
  306.  
  307. * * * CONFIGURE DRIVES * * *
  308.  
  309. To manually set which drives are to be the main and copy drives, press the C
  310. key.  Enter the device number for the main drive, then the device number for
  311. the copy drive.  DISKSERVANT will analyze your new configuration and the
  312. drive type(s) will be displayed at the top of the screen.
  313.  
  314.  
  315. * * * INTERLEAVE SET * * *
  316.  
  317. You may want to adjust the sector interleave on your COPY drive.  The drive
  318. in question will retain that interleave setting until you change the setting
  319. to some other value or reset the drive.  You won't be allowed to set the
  320. interleave to a greater value than 16, as it may make your drive malfunction
  321. with potential loss of data as a result.  In addition, the interleave should
  322. not be set to zero unless your drive is equipped with JiffyDOS.  The
  323. interleave set feature will only be available if DISKSERVANT identifies your
  324. COPY drive as 1541 or 1571 (in all modes).
  325.  
  326. What is sector interleave anyway?  When data is saved to disk it is
  327. organized in tracks and sectors.  The tracks are like concentric rings on
  328. the disk, and each track is further divided into subsections much like a
  329. pie.  These subsections are called sectors.  To read a sector the disk drive
  330. must make sure the read/write head is on the right track, and then wait for
  331. the sector to come around to the head's position where it can be read.  This
  332. is where interleave comes in.  If more than one sector on a track is to be
  333. read, which is most often the case, it is not desirable to have the sectors
  334. placed in succession.  The drive needs a split second to process the data
  335. just read and send it to the computer.  Then the next sector will have
  336. passed the read/write head and the drive will have to wait for nearly a
  337. whole revolution.  When reading a large amount of data, a program for
  338. example, this waiting becomes quite noticeable.  It is better to leave some
  339. space between each sector in a sequence so that the next sector is just
  340. ahead of the read/write head just when the drive needs it.  Since the data
  341. has to be read in the same order it was written, the interleave between the
  342. sectors will have to be established as the data is written to the disk.
  343.  
  344. The 1541 normally uses a interleave spacing of 10 (reading every tenth
  345. sector) while the 1571 uses a interleave of 6.  If your drive(s) are
  346. equipped with JiffyDOS, it uses a custom interleave scheme when the
  347. interleave value is set to zero.  Please refer to your JiffyDOS manual for
  348. details.  The 1581 doesn't need sector interleave since it has enough
  349. internal memory to hold a whole track of data at the same time.
  350.  
  351. But why tinker with the sector interleave?  The faster the drive, the less
  352. sectors are to be skipped to maintain optimum reload speed.  So if the data
  353. is to be read using another drive than the one used for saving, or if it is
  354. to be reloaded using some kind of fast load, adjusting the interleave will
  355. often improve loading speed.  Furthermore, if the files you are going to
  356. save or copy are not programs, but data for some program, the program's
  357. access speed will often be affected by the interleave setting.
  358. Experimentation is the only way to get ultimate performance but here are
  359. some settings which can act as a rule of thumb:
  360.  
  361.    Reload drive    Stock   Using fastloader
  362.        1541          10            6
  363.        1571           6           4-6
  364.  
  365. This table is valid for program (PRG) files.  For other file types the ideal
  366. interleave can only be found by experimentation.  The above values may serve
  367. as a starting point, and you can try to increase or decrease these values.
  368.  
  369.  
  370. * * * THE FILE COPIER * * *
  371.  
  372. A file copier is designed to copy one or more individual files from one disk
  373. to another.  You may select which files to copy or not to copy.  The File
  374. copier will work with all disk drives that can be hooked up to the 128,
  375. including RAMDOS.  The file copier can copy files without restrictions
  376. between dissimilar drive types.
  377.  
  378. The file copier can copy program (PRG) files, sequential (SEQ) files and
  379. user (USR) files.  It can not cope with relative (REL) files.  Please note
  380. that the file copier can not handle GEOS files (which are marked in the
  381. directory as USR) because of their non-standard structure.
  382.  
  383. SPECIAL NOTE to 1581 users:  The file copier will fully support
  384. subdirectories.  If you're using two disk drives (even if one or both are
  385. 1581s) the 1581(s) will access the subdirectory (or subdirectories)
  386. currently selected.  However, if the main and copy disk drive is one and the
  387. same, you must enter the directory paths individually.  The cursor appears,
  388. and you may enter the subdirectory name.  To use the root directory, press
  389. RETURN at a blank line (do NOT enter "/" in order to select the root
  390. directory).  Use cursor left/right, INST, DEL, CLR and HOME to edit if
  391. necessary.  You can access several levels of subdirectories by separating
  392. the directory names using commas (directory1,directory2,directory3).  You
  393. must enter the whole directory path from the root on (but DON'T specify the
  394. root itself, this is done automatically).  If the drive can't find one of
  395. the subdirectories you have entered, you will be informed about the error
  396. and prompted to correct the directory specification.  To copy files from one
  397. subdirectory to another on the same disk, leave the same disk in the drive
  398. when you are prompted for the target disk.
  399.  
  400. When the file copier is selected, you will be prompted for the source disk
  401. (or both source and target disk if you're using two drives) and an options
  402. menu will appear.  The options are as follows:
  403.  
  404. Auto replace:
  405. The file copier will automatically replace any files on the copy disk with
  406. the same names as the ones being copied to it.
  407.  
  408. Multi output:
  409. Will let you make several copies of the files.  After every pass you will be
  410. asked if you want to make another copy of the files.  Insert a new disk and
  411. press Y for YES.  If you don't want any more copies, press N for NO, and
  412. another read pass will begin if there are more files to be copied.
  413.  
  414. Delete source:
  415. This option will let you scratch the copied files from the source disk.
  416. Using this feature, the files are effectively MOVED to the copy disk.  The
  417. scratch operation is done using an extra pass after finishing the actual
  418. copying.  Only the files which were successfully copied will be deleted.
  419.  
  420. Press the SPACE BAR to continue.  The directory of the source disk will now
  421. be read into the computer's memory.  If there are no files on the disk that
  422. the file copier can copy, the message "No valid files" will appear, and the
  423. file copier will be aborted.  Press the HELP key to view your options for
  424. cursor movement and file selection.
  425.  
  426. Mark the files you want to copy.  To start copying, press F1.  The file
  427. copier will start loading the files into memory.  If you haven't selected
  428. any files, the message "No valid files" will appear, and the file copier is
  429. aborted.
  430.  
  431. Errors may occur during the reading.  If a file can't be read, the file
  432. copier will inform you about the problem and ask you if you want to retry
  433. reading the file.  You may want to remove the disk and then re-insert it as
  434. this may align the disk more correctly and the disk drive might just be able
  435. to read the file.  If you don't want to retry the file, that file will be
  436. skipped.  If a file is too large to fit into the computer's memory
  437. altogether, the message "File too large" will appear, and the file will have
  438. to be skipped.
  439.  
  440. When the computer memory is filled up (or there's no more files to be read)
  441. the computer prompts you for the target disk.  If you're using two drives
  442. however, the copy process will continue without delay.
  443.  
  444. Again, errors while saving files to the target disk may occur.  The file
  445. copier will monitor how much space there's left on the disk, and inform you
  446. if the space is insufficient.  If a file can't be written properly, the file
  447. copier will inform you about the problem and ask you if you want to retry
  448. writing the file.  You may then elect to skip the file, try again, or insert
  449. a new target disk to continue.  If the file exists, you will be asked if you
  450. want to replace the file.  The existing file is erased, and the new file
  451. (the one being copied from the source disk) will then be written.
  452.  
  453. PLEASE NOTE:  Despite DISKSERVANT's safeguard system, there are two reasons
  454. why you might encounter the error message "disk full".  Some disk drives
  455. have a quirk which throws up this error if you try to save a new file when
  456. the number of blocks free are 3 or less.  The error message will also appear
  457. if you exceed the maximum number of files allowed on the disk.
  458. Unfortunately, odd things sometimes happens to the disk in these cases,
  459. especially in the latter case.  To be safe it is probably best to validate
  460. the disk if you encounter the "disk full" error message with the file
  461. copier.  So far, I haven't been able to circumvent those problems.
  462.  
  463. The file copier will make every effort to avoid error conditions on the copy
  464. disk.  It will even validate the disk if found to be necessary to recover
  465. safely from an error.
  466.  
  467. AJ
  468.  
  469.    ***** End of DISKSERVANT Docs Part 1  --  Press RETURN for Menu *****
  470.