home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / simtel / sigm / vols000 / vol041 / cdos.doc < prev    next >
Text File  |  1984-04-29  |  3KB  |  66 lines

  1. The  CDOS*.*  files on this disks were developed by the  author 
  2. whilst  changing  from CP/M to CDOS.  Having used  them  widely 
  3. under CP/M their feature were sorely missed under CDOS.
  4. Some  programs,  such as UCAT and FMAP appeared to need  little 
  5. modification  and were easily changed,  SAP and COPY have  been 
  6. almost re-written.
  7.  
  8. CDOSSAP  uses  the 'SYS.DIR' FCB create call of  CDOS  2.17  or 
  9. higher  to  access  the  directory regardless of  its  size  or 
  10. position on the disk.  (I think the call is in v1.07 as  well). 
  11. Although  the  FCB  created with this call is  write  protected 
  12. CDOSSAP  resets  that attribute bit and can then write  to  the 
  13. directory as well as read it.
  14.  
  15. CDOSCOPY  operates  as a literal copy utility.  The  disks  are 
  16. first  logged in and then the program flow (and constants)  are 
  17. adjusted  to reflect the number of logical blocks on  the  disk 
  18. (its storage capability). With S/D S/S disks it operates on all 
  19. tracks,  but  with all others does not necessarily transfer the 
  20. boot loader.
  21. It  has  not been tested with 5" disks and the code  will  need 
  22. minor mods to effect their copy. These mods should take 5 or 10 
  23. minutes.
  24.  
  25.           GENERAL NOTES ON CDOS' UNDOCUMENTED FEATURES
  26.  
  27. When  CDOSGEN asks you whether the drive is large [L] or  small 
  28. [S] try answering 'X'.  You will then get a menu for  Shugarts, 
  29. etc.
  30.  
  31. The SYS.DIR open call has been discussed above. Try it.
  32.  
  33. Disk Labels.
  34. A directory label is written to the disk by STAT and is used to 
  35. ascertain  the  storage capacity of the disk and the number  of 
  36. directory entries (64 to 512).
  37. The last 8 bytes of the first boot loader sector (usually  side 
  38. 0  track 0 sector 1) are always recorded in single density  and 
  39. contain eight bytes indicating the type of disk to the BIOS, eg
  40.      LGSSSD
  41. for Large (8"), Single Sided, Single Density
  42. or   LGDSDD
  43. for 8" Double Sided, Double Density diskettes (1.2 MBytes)
  44.  
  45. STAT  2.15  was written for a WD1797 FDC chip (it  records  the 
  46. side  numbers  into the address fields) although a  WD1793  was 
  47. eventually used.  CDOS 2.36 does not support the 1797, however, 
  48. and this chip will not work instead of the 1793 on the 16FDC.
  49.  
  50. Double Density Recording Format:
  51. 16 sectors of 512 bytes are used per track.(MFM)
  52. A 12 interleave is used (1,C,7,2,D,8,3,E,9,4,F,A,5,10,B,6)
  53. Although  a 4 interleave can be read as COM files in my 4MHz no 
  54. wait state system a 6 interleave speeds throughput by a  factor 
  55. of  two.  (use 1,2,3,4,5,6,C,D,E,F,10,7,8,9,A,B).  INIT can  be 
  56. modified  to  do  this..  if  interested write me  and  I  will 
  57. disclose all....
  58.  
  59. Finally,  if  someone has deciphered how to call the 2.36  BIOS 
  60. directly without getting error returns I am all ears...
  61.  
  62. Trevor Marshall,
  63. 26 Mirrelia Way, Ferndale, Western Australia 6155
  64. phone International (619)4576049   or national (09)457 6059
  65. 14 December 1980
  66.