home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / utils / dskutl / xformat.lbr / FORMAT.DQC / FORMAT.DOC
Encoding:
Text File  |  1986-10-21  |  3.3 KB  |  70 lines

  1.  
  2. FORMAT PROGRAMS FROM MICROCORNUCOPIA AND SIG/M USER DISCS, AMENDED FOR
  3. XEROX 820/1 WITH 8" SSSD DRIVES
  4.  
  5. FORMAT6.ASM
  6. FORMAT6.COM
  7. FORMAT4A.ASM
  8. FORMAT4A.COM
  9.  
  10. I found that the formatting programs on MCC disc #1 did not work with my
  11. Xerox 820/1 board, whilst the Format5 program worked some of the time with
  12. some drives.  The problem with Format5 turned out to be quite simple:
  13. it uses the highest speed version of the Seek command and my drives could
  14. not keep up. Having fixed that, I could not leave well alone. I had
  15. noticed whilst investigating that when the verify option is turned off,
  16. the drive motor timed out part way through the format, so I added a SELECT
  17. call to the monitor before each seek in case anyone wants to format without
  18. verification. I also wanted the capability of formatting more than 77
  19. tracks on certain of my oddball drives, and of formatting individual
  20. tracks when trying to salvage disks which had fallen victim to hardware
  21. misconduct.  So one can now specify (in hex) the first and last tracks to
  22. be formatted.  This meant that I had to reformat the track display, and
  23. there are some changes to the code setting up the track display since my
  24. assembler cannot set memory bytes in the manner required by the original
  25. code. The program will now accept lower case input (except that only Y
  26. will confirm a track number above #76).
  27.  
  28. WARNING!  The program will warn you if you specify a last track greater
  29. than #76, and ask you to confirm.  With a standard 77 track 8" drive, you
  30. may risk damage to the drive if you attempt to format beyond track #76,
  31. and CP/M will merely ignore the extra tracks unless the BIOS has been
  32. altered appropriately.
  33.  
  34. After this, I wanted to find the problem with the earlier programs.
  35. I use a 1791 rather than a 1771, and it appears that the 1791 at least
  36. will not accept the input of a track number to its data register
  37. preparatory to a seek command unless the interrupt generated at the
  38. conclusion of a previous command has been reset. If the drive checks
  39. out ready in the monitor SEEK routine, no such reset occurs. In order
  40. to overcome this problem, and reduce the amount of drive activity, I have
  41. replaced the SEEK routine in the formatting loop by the SELECT routine
  42. followed by a direct seek command to the controller. An additional force
  43. interrupt command also corrected a small bug in the verify routine, which
  44. was failing to seek track 0 and verifying track 76 instead.
  45.  
  46. These programs worked well for me; I hope they may help others with    
  47. formatting problems.
  48.  
  49. FFC.ASM
  50. FFC.COM
  51.  
  52. This program comes from SIG/M disk 136.  It combines a disk formatter with a
  53. very fast disk copy routine.  This version has been translated into Zilog
  54. mnemonics, and tinkered with to get it to run with a Xerox 820/1 board at
  55. 4MHz. The program requires to know the starting address of your BIOS and the
  56. drive motor turn-off timer location. These are set to 0EA00H and 0FF69 in
  57. this version but can readily be altered: typical values for the BB1 are
  58. 0E800H and 0FF6CH.  To avoid reassembly, locations 036DH and 031AH in the
  59. COM file can be altered.
  60.  
  61. Richard Parsons
  62. RR#1 Mount Albert
  63. Ontario L0G 1M0
  64. (416)473-2488
  65. ations 036DH and 031AH in the
  66. COM file can be altered.
  67.  
  68. Richard Parsons
  69. RR#1 Mount Albert
  70. Ontario L0G 1M0