home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / utilities / utilss / swimod146 / SWIModDocs < prev   
Text File  |  1995-08-14  |  2KB  |  88 lines

  1.  
  2.                               SWI Module Documentation
  3.                              -========================-
  4.  
  5. Version    1.46 (Mon 14th Aug 95)
  6. Copyright  A. M. Pereira 1993,4,5
  7.  
  8. The SWI module provides *commands relating to SWIs.
  9. The commands are:
  10.  
  11. *SWIName
  12. --------
  13. Syntax: *SWIName <SWI number>
  14.  
  15. Returns the name of the SWI given.
  16. eg.
  17. *SWIName &400C7
  18.  
  19. *SWINumber
  20. ----------
  21. Syntax: *SWINumber <SWI name>
  22.  
  23. Returns the number for the SWI given.
  24. Note that the SwiName is case sensitive.
  25. eg.
  26. *SWINumber OS_Write0
  27.  
  28.  
  29. *ModInfo
  30. --------
  31. Syntax: *ModInfo <Module name>
  32.  
  33. Lists the SWIs provided by the named module.
  34. eg.
  35. *ModInfo PDriver
  36.  
  37. Additional:
  38. *ModInfo ?
  39. Lists the modules present.
  40.  
  41.  
  42. *Swi/*Sys
  43. ---------
  44. Syntax: *SWI <SWI name/number> [registers...]
  45.  
  46. (*SYS is exactly equivalent)
  47.  
  48. Performs the given SWI.
  49. The SWI name/number can be either the string version enclosed in quotes, or the hexnumber preceded with &, or the decimal number.
  50. You can also specify upto 8 register's values. A pointer to a string can be included by putting the string in quotes. BEWARE - if you don't close all the quotes, your computer will die horribly (probably). I haven't put in any checking for this because I couldn't be bothered.
  51.  
  52. egs.
  53. *SWI "OS_Write0" "ArmFul rules OK"
  54. *SYS "Econet_SetProtection" 63 63
  55. *SYS &406C1
  56.  
  57. --------------------------------------------------------------------------------
  58.  
  59. Licence & Copying conditions
  60. ----------------------------
  61.  
  62. This program is FREEWARE.
  63. You can pass this on to your friends as much as you like, but special rules apply for PD libraries & BBs.
  64.  
  65. PD Libraries: Write to me for permission (enclose a copy of your latest
  66.               catalogue).
  67.               Permission will usually be granted in return for a disc of PD.
  68.               Currently only The DataFile PD, APDL and HeadFirst have
  69.               permission.
  70.  
  71. Have fun, /\
  72.          (--)mpy
  73.  
  74. Netmail   : 2:257/501.3
  75. Internet  : ampy@digibank.demon.co.uk
  76.             a.pereira@cs.ucl.ac.uk (Until June '97)
  77. Snailmail : 'Al Sirat'
  78.             Chapel Road
  79.             Swanmore
  80.             Southampton SO32 2QA
  81.             ENGLAND
  82.  
  83. History:
  84. 1.42 - First release
  85. 1.43 - Small bugfix - not released
  86. 1.46 - *SwiNumber OS_WriteC now prints &0, not &
  87.        ModInfo doesn't corrupt the SwiNumber code
  88.        ModInfo displays SWI numbers alongside the names