home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OS9_6X09 / SYSMODS / SCF_e14.lzh / scf14.doc next >
Text File  |  1993-05-16  |  2KB  |  70 lines

  1. SCF Edition #14
  2. ===============
  3. This archive includes the following files:
  4.  
  5.  - scf14.ipc    IPatch file for SCF edition 14
  6.  - scf14.doc    This file
  7.  
  8.  
  9. Use Bob Santy's IPatch utility to apply the patch.  You must use
  10. the stock Tandy SCF manager, who's ident output is below:
  11.  
  12. Header for:  SCF 
  13. Module size: $05E3    #1507
  14. Module CRC:  $F946CA (Good) 
  15. Hdr parity:  $0E 
  16. Edition:     $0D      #13
  17. Ty/La At/Rv: $D1 $81 
  18. File Man mod, 6809 obj, re-en, R/O 
  19.  
  20. After the patch is applied, the patched SCF's ident output should
  21. match the one below:
  22.  
  23. Header for:  SCF 
  24. Module size: $06DA    #1754
  25. Module CRC:  $B7E7CB (Good) 
  26. Hdr parity:  $37 
  27. Edition:     $0E      #14
  28. Ty/La At/Rv: $D1 $82 
  29. File Man mod, 6809 obj, re-en, R/O 
  30.  
  31.  
  32.  
  33. WHAT IS SCF EDITION 14?
  34.  
  35. SCF #14 adds Kevin Darling's popular SCF patches and (drum roll)
  36. the ability for a device to be non-sharable.
  37.  
  38. "Necessity is the mother of invention."  How true... and this
  39. is something people have been needing for quite a while.
  40.  
  41.  
  42.  
  43. HOW TO MAKE A DEVICE NON-SHARABLE
  44.  
  45. To make a device non-sharable, add $40 to the byte at offset $0D in
  46. both your device descriptor and its device driver.  Only one path can
  47. be opened at a time to a non-sharable device, and any attempt to
  48. open another will result in an ERROR #250 (Device Busy)
  49.  
  50.  
  51.  
  52. WHAT MAKES IT TICK
  53.  
  54. Within each device's static storage, there is a head pointer to
  55. a linked list of path descriptors.  When SCF #14 is called by IOMAN
  56. to open a path to a device, it checks this linked list to see if
  57. it is empty.  If it is, then it goes ahead and attempts to open
  58. the path.
  59.  
  60. If the list is not empty (meaning that there is already a path open
  61. to this device), SCF checks the M$Mode on both the driver and the
  62. descriptor to see if the 6th bit is set (sharable bit).  If it is set,
  63. SCF returns ERROR #250, otherwise it adds the new path descriptor
  64. to the linked list.
  65.  
  66.  
  67. Enjoy!
  68.  
  69. Boisy G. Pitre - 5/15/93
  70.