home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / s / swihelp / !SWIHelp / Pages < prev    next >
Text File  |  1996-08-15  |  32KB  |  632 lines

  1. #Format of file:
  2. #Hex SWI No:PRM Page No:Use
  3.  
  4. # OS_SWIs
  5. 0:1-501;Writes a character to output streams
  6. 1:1-503;Writes a string to output streams
  7. 2:1-504;Writes an indirect string to output streams
  8. 3:1-505;Writes a line feed and carriage return to output streams
  9. 4:1-852;Reads a character from the input stream
  10. 5:1-929;Process a supervisor command
  11. 6:1-54;General purpose call, action depends on reason code
  12. 7:1-61;General purpose call, action depends on reason code
  13. 8:2-30;General purpose file call, action depends on reason code
  14. 9:2-46;Reads and writes a files arguments, action depends on reason code
  15. A:2-60;Reads a byte from an open file
  16. B:2-62;Writes a byte to an open file
  17. C:2-63;Reads or writes a group of bytes from or to an open file
  18. D:2-72;Opens and closes files
  19. E:1-910;Reads a line from the input stream
  20. F:1-296;Read or write handler address
  21. 10:1-298;Read environment parameters
  22. 11:1-300;Pass control to exit handler
  23. 12:1-302;Set environment parameters
  24. 13:1-138;Enables interrupts
  25. 14:1-139;Disables interrupts
  26. 15:1-304;Set up the CallBack handler
  27. 16:1-140;Switches the processor to SVC mode
  28. 17:1-305;Sets up and enters the BreakPoint handler
  29. 18:1-306;Sets up the BreakPoint handler
  30. 19:1-307;Set up the handler for Unused SWIs
  31. 1A:1-366;Read or write the contents of the MEMC control register
  32. 1B:1-308;Calls the CallBack handler
  33. 1C:1-699;Reads the mouse state
  34. 1D:1-368;Performs operations on the heap, action depends on reason code
  35. 1E:1-224;Performs a module operation, action depends on reason code
  36. 1F:1-66;Adds a routine to the list of those that claim a vector
  37. 20:1-68;Removes a routine from the list of those that claim a vector
  38. 21:1-448;Converts a string to an unsigned number
  39. 22:1-152;Generates an event
  40. 23:1-309;Reads the value of a variable
  41. 24:1-311;Writes the value of a variable
  42. 25:1-450;Sets up registers for use by OS_GSRead
  43. 26:1-452;Returns a character from a string (must be set up by OS_GSInit)
  44. 27:1-454;Equivalent to OS_GSInit and repeated calls to OS_GSTrans
  45. 28:1-456;Converts a signed number to a string
  46. 29:2-77;Controls the filing system, action depends on reason code
  47. 2A:1-377;Alters the space allocation of a dynamic area
  48. 2B:1-45;Generates an error
  49. 2C:1-912;Determine if an escape condition has occurred
  50. 2D:1-457;Evaluates a string
  51. 2E:1-761;Controls the sprites system, action depends on reason code
  52. 2F:1-701;Reads the palette entry for a colour
  53. 30:1-250;Issues a service call to a module
  54. 31:1-703;Reads a series of VDU variables
  55. 32:1-707;Reads the colour of the point
  56. 33:1-177;Calls made by RISC OS to warn of a situation
  57. 34:1-70;Calls a vector directly
  58. 35:1-709;Reads information about a screen mode
  59. 36:1-712;Removes the cursors from the screen
  60. 37:1-714;Restores the cursors to the screen
  61. 38:1-459;Given a SWI number it returns it name
  62. 39:1-461;Given a SWI name it returns its number
  63. 3A:1-379;Check that a range of addresses are in logical RAM
  64. 3B:1-429;Call an address after a delay
  65. 3C:1-431;Call an address every time a delay elapses
  66. 3D:1-433;Remove a given address from the ticker event list
  67. 3E:1-914;Install or read the address of a key handler
  68. 3F:1-715;Check the validity of a specified screen mode
  69. 40:1-315;Install a handler
  70. 41:1-380;Use spare screen memory
  71. 42:1-434;Reads the elapsed time in centiseconds since the last hard reset
  72. 43:1-463;Substitutes a list of command line arguments
  73. 44:1-518;Writes a string with formatting to output streams
  74. 45:1-717;VDU call
  75. 46:1-522;Writes a string to the VDU
  76. 47:1-72;Adds a routine to the list of those that claim a vector
  77. 48:1-317;Sets the environment string and start time for an application
  78. 49:1-465;Processes a command string using a keyword definition
  79. 4A:1-382;Read the limits of the RAM FS
  80. 4B:1-121;Claims a device vector
  81. 4C:1-123;Releases a device vector
  82. 4D:1-74;Remove vectors that an application is using
  83. 4E:1-76;Restore from a buffer vectors that an application is using
  84. 4F:1-937;Sort a list of objects using the heap sort algorithm
  85. 50:1-318;Kill a module and pass control to the most recent exit handler
  86. 51:1-383;Reads the page size and the number of pages in use
  87. 52:1-384;Reads the logical to physical memory mapping used by MEMC
  88. 53:1-386;Writes the logical to physical memory mapping used by MEMC
  89. 54:1-319;Add a transient CallBack to the list
  90. 55:1-321;Get the address of the default handler
  91. 56:1-718;Set the origin of the ECF patterns
  92. 57:2-459;Low level serial operations, action depends on reason code
  93. 58:1-719;Read system information, action depends on reason code
  94. 59:1-940;Gets a yes or no answer from the user
  95. 5A:1-724;Determines which areas of the screen have changed 
  96. 5B:1-942;Calculates the cyclic-redundancy check value for a block of data
  97. 5C:1-388;Read the space allocation of a dynamic area
  98. 5D:1-521;Send a character to the printer stream
  99. 5E:1-931;Read or write OS_CLI input/output redirection handlers
  100. 5F:1-322;Removes a transient CallBack from the list
  101. 60:1-390;Reads the logical to physical memory mapping used by MEMC
  102. 61:1-726;Sets the foreground and background colours
  103. C0:1-435;Converts a time since January 1900 in centiseconds into a string
  104. C1:1-437;Converts a time into a string using a format string
  105. D0-E8:1-469;Converts a number into a string
  106. E9:1-473;Converts the Econet station and network number to a string
  107. EA:1-475;Converts the Econet station and network number to a string
  108. EB:1-477;Converts an integer into a filesize string of a fixed length
  109. EC:1-479;Converts an integer into a filesize string
  110. 100-1FF:1-523;Writes a byte to all output streams
  111.  
  112. #IIC SWIs
  113. 240:1-944;Control IIC devices
  114.  
  115. #Cache SWI's
  116. 280:4-186;Sets the state of the cache (on or off)
  117. 281:4-187;Controls the areas of memory which are to be cached
  118. 282:4-188;Controls which areas are automatically updated in the cache
  119. 283:4-189;Controls which areas cause flushing of the cache
  120. 284:4-191;Flushes the cache
  121.  
  122. #Econet SWIs
  123. 40000:2-647;Creates a Receive Control Block
  124. 40001:2-649;Reads the status of an RxCB
  125. 40002:2-651;Returns information about a reception including data size
  126. 40003:2-653;Abandons an RxCB
  127. 40004:2-654;Polls, reads the status of, and abandons an RxCB
  128. 40005:2-656;Reads the handles of all active RxCBs
  129. 40006:2-657;Starts a transmission
  130. 40007:2-659;Reads the state of a TxCB
  131. 40008:2-660;Abandons a TxCB
  132. 40009:2-661;Creates, polls, reads status, and abandons a TxCB
  133. 4000A:2-663;Reads the station number and network number of a computer
  134. 4000B:2-664;Converts a status to a string
  135. 4000C:2-666;Converts a status to a string and generates an error
  136. 4000D:2-668;Reads the current protection word
  137. 4000E:2-670;Reads or writes the protection word
  138. 4000F:2-672;Extracts station number and network number from a string
  139. 40010:2-673;Prints the string 'Acorn Econet'
  140. 40011:2-674;Reads the transport type to a station
  141. 40012:2-675;Releases a port number
  142. 40013:2-676;Allocates a unique port number
  143. 40014:2-677;Deallocates a unique port number
  144. 40015:2-678;Claims a port number
  145. 40016:2-679;Creates a TxCB and starts an operation immediately
  146. 40017:2-681;Creates for operation, polls, reads status and abandons a TxCB
  147. 40018:2-683;Abandons a reception and returns info (including data size)
  148. 40019:2-685;Returns the software version for the transport to a station
  149. 4001A:2-686;Returns the state of the transport to a station
  150. 4001B:2-687;Returns the max packet size on the transport to a station
  151. 4001C:2-689;Returns the name of the transport type to a station
  152.  
  153. #NetFS SWIs
  154. 40040:2-344;Reads the station number of the current file server
  155. 40041:2-345;Sets the station number of the current file server
  156. 40042:2-346;Reads the name of the current file server
  157. 40043:2-347;Sets the file server to use by name
  158. 40044:2-348;Unimplemented, do not use
  159. 40045:2-349;Unimplemented, do not use
  160. 40046:2-350;Reads the values used by NetFS for timeouts
  161. 40047:2-351;Sets the values used by NetFS for timeouts
  162. 40048:2-352;Instructs the current file server to perform an operation
  163. 40049:2-354;Lists the file servers known by the NetFS software
  164. 4004A:2-356;Lists the file servers which the NetFS software is logged on to
  165. 4004B:2-358;Converts a file server format time and date to RISC OS format
  166. 4004C:2-360;Instructs a specified file server to perform an operation
  167. 4004D:2-362;Adds names of discs to the list of names held by NetFS
  168. 4004E:2-364;Lists the en