home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / s / swihelp / !SWIHelp / Pages < prev    next >
Encoding:
Text File  |  1996-08-15  |  31.3 KB  |  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 entries in the list of file servers
  169. 4004F:2-366;Returns the current user ID (if logged on to the server)
  170. 40050:2-367;Returns the identifier of an object
  171. 40051:2-369;Enables a suspended event task
  172.  
  173. #Font Manager SWIs
  174. 40080:3-418;Returns the version no, font cache size and amount used
  175. 40081:3-419;Returns the handle of a font
  176. 40082:3-423;Finish using a font
  177. 40083:3-424;Read the details about a font
  178. 40084:3-426;Get the bounding box of a font
  179. 40085:3-427;Calculate the width of a string in the current font
  180. 40086:3-429;Draws a string on the screen in a specified font
  181. 40087:3-436;Define the caret/cursor used by the Font Manager
  182. 40088:3-438;Converts internal coordinates to OS coordinates
  183. 40089:3-439;Converts OS coordinates to internal coordinates
  184. 4008A:3-440;Select the font to be used
  185. 4008B:3-441;Returns the current font handle and colour
  186. 4008C:3-443;Checks font characteristics after Font_StringWidth
  187. 4008D:3-444;Find the position of the caret in a string
  188. 4008E:3-446;Get the bounding box of a character
  189. 4008F:3-448;Reads the internal to OS conversion factor
  190. 40090:3-449;Sets the internal to OS conversion factor
  191. 40091:3-450;Scans for fonts and returns identifiers or builds a menu
  192. 40092:3-453;Sets the colours and current font
  193. 40093:3-455;Sets the anti-alias palette
  194. 40094:3-457;Read the list of threshold values for painting
  195. 40095:3-460;Sets the list of threshold values for painting
  196. 40096:3-461;Find the position of the caret in a justified string
  197. 40097:3-463;Measures the size of a string in the current font
  198. 40098:3-465;Reads the anti-alias colour table
  199. 40099:3-466;Makes a font bitmap file
  200. 4009A:3-468;Delete or recache information in the font cache
  201. 4009B:3-470;Set the values of FontMax
  202. 4009C:3-472;Reads the values of FontMax
  203. 4009D:3-473;Find the directory prefix for a given font handle
  204. 4009E:3-475;Switches output to a buffer and creates a Draw file structure
  205. 4009F:3-477;Reads the full information held in a font's IntMetrics file
  206. 400A0:3-481;Decode a selection made from a font menu
  207. 400A1:3-483;Returns various information about a string
  208. 400A2:3-487;For Internal Use Only
  209. 400A3:3-488;Reads the settings of colours after calling Font_Paint
  210. 400A4:3-489;Reads the settings of colours after calling various SWIs
  211. 400A5:3-491;Returns the filename of the encoding file used for a font
  212. 400A6:3-493;Returns a pointer to a specified field in a font identifier
  213. 400A7:3-494;Merges a new set of fields with a given font identifier
  214. 400A8:3-496;Returns information about a particular font
  215.  
  216. #Wimp SWIs
  217. 400C0:3-87;Used to register a task with the Wimp Manager
  218. 400C1:3-89;Defines the characteristics of a window and informs the Wimp
  219. 400C2:3-96;Defines the characteristics of an icon and informs the Wimp
  220. 400C3:3-108;Closes (if open) and removes the definition of a window
  221. 400C4:3-110;Removes the definition of an icon
  222. 400C5:3-112;Adds a window to the list of active ones so it is displayed
  223. 400C6:3-114;Removes a window from the list of active ones
  224. 400C7:3-115;Polls the wimp to determine if certain events have occurred
  225. 400C8:3-129;Starts a redraw of the parts of a window that need updating
  226. 400C9:3-131;Starts a redraw of the parts of a window that need updating
  227. 400CA:3-133;Returns the coordinates of the next rectangle to redraw
  228. 400CB:3-135;Returns a summary of a windows state
  229. 400CC:3-137;Returns complete details of a windows state
  230. 400CD:3-139;Set the flags word of an icon
  231. 400CE:3-141;Return the flags and data block of an icon
  232. 400CF:3-143;Returns the position and button state of the mouse
  233. 400D0:3-145;Starts a drag operation
  234. 400D1:3-150;Forces an area of the screen to be redrawn later
  235. 400D2:3-152;Redraws the caret in a certain position
  236. 400D3:3-154;Returns details of the caret's position
  237. 400D4:3-156;Defines a menu structure
  238. 400D5:3-161;Converts a numerical list of menu selections to a string
  239. 400D6:3-162;Searches for icons with a given flags word
  240. 400D7:3-164;Sets the work area of a window
  241. 400D8:3-166;Sets the shape and active point of the pointer
  242. 400D9:3-168;Opens a template file
  243. 400DA:3-169;Closes a template file
  244. 400DB:3-170;Loads a template from a template file
  245. 400DC:3-173;Creates or passes on key presses for processing by others
  246. 400DD:3-175;Lets the Wimp know a task is about to terminate
  247. 400DE:3-177;Starts a task from within another program
  248. 400DF:3-179;Reports errors
  249. 400E0:3-182;Returns the bounding box of a window
  250. 400E1:3-184;Polls the wimp and sleeps if certain events have not occurred
  251. 400E2:3-186;Plots an icon in a window during a redraw or update loop
  252. 400E3:3-188;Changes the screen mode used by the Wimp
  253. 400E4:3-190;Sets the palette used by the Wimp
  254. 400E5:3-192;Reads the palette used by the Wimp
  255. 400E6:3-194;Sets the current foreground and background colour and action
  256. 400E7:3-196;Sends a message to one or all tasks
  257. 400E8:3-199;Creates a submenu
  258. 400E9:3-201;Performs operations on sprites in the Wimp's pool
  259. 400EA:3-203;Finds the addresses of the ROM & RAM parts of the Wimp's sprite pool
  260. 400EB:3-204;Copies a block of work area space to another position
  261. 400EC:3-206;Reads or sets the size of the current, next and free slots
  262. 400ED:3-208;Reads a pixel translation table for a given sprite
  263. 400EE:3-210;Claims all the free memory pool for the calling task
  264. 400EF:3-212;Opens a window in which normal output can be displayed
  265. 400F0:3-214;Sets the foreground or background colour
  266. 400F1:3-216;Copies a block of memory from one task to another
  267. 400F2:3-218;Reads system information from the Wimp
  268. 400F3:3-220;Sets the anti-alias text colours from two specified colours
  269. 400F4:3-222;Returns the state of a menu
  270. 400F5:3-224;Used by the Filter Manager to register or deregister a filter
  271. 400F6:3-226;Adds messages to the list of those known by a task
  272. 400F7:3-227;Removes messages from the list of those known by a task
  273. 400F8:3-228;Changes the mapping between Wimp colours and physical colours
  274.  
  275. #Sound SWIs
  276. 40140:4-18;Configures the sound system
  277. 40141:4-20;Enables or disables the sound system
  278. 40142:4-21;Sets the stereo position of a channel
  279. 40143:4-23;Enables or disables the speaker
  280. 40180:4-25;Sets the overall volume of the sound system
  281. 40181:4-26;Converts a signed integer to a signed logarithm, scaling it by volume
  282. 40182:4-27;Scales a signed logarithm by the current volume setting
  283. 40183:4-28;Adds a voice to the sound system
  284. 40184:4-34;Removes a voice from the sound system
  285. 40185:4-35;Attaches a voice to a channel
  286. 40186:4-36;Makes an immediate sound
  287. 40187:4-37;Sets the tuning for the sound system
  288. 40188:4-38;Converts a pitch to internal format
  289. 40189:4-39;Makes an immediate sound
  290. 4018A:4-41;Attaches a named voice to a channel
  291. 4018B:4-42;Reads a value from the Sound Channel Control Block
  292. 4018C:4-43;Writes a value to the Sound Channel Control Block
  293. 401C0:4-44;Initialises the Schedulers event queue
  294. 401C1:4-45;Schedules a sound SWI on the event queue
  295. 401C2:4-47;For internal use only
  296. 401C3:4-48;Returns minimum number of free slots in the event queue
  297. 401C4:4-49;For internal use only
  298. 401C5:4-50;Sets the tempo for the Scheduler
  299. 401C6:4-51;Sets or reads the beat counter or bar length
  300. 401C7:4-53;For internal use only
  301.  
  302. #NetPrint SWIs
  303. 40200:2-389;Returns the full station number of your current printer server
  304. 40201:2-390;Sets the full station number use as the current printer server
  305. 40202:2-391;Reads the name of your current printer server
  306. 40203:2-392;Sets by name the printer server used as your current one
  307. 40204:2-393;Reads the current values for timeouts used by NetPrint
  308. 40205:2-394;Sets the current values for timeouts used by NetPrint
  309. 40206:2-395;Converts a printer server's name to its address
  310. 40207:2-396;Returns the name of all printer servers
  311. 40208:2-398;Converts the status to a string
  312.  
  313. #ADFS SWIs
  314. 40240:2-279;Calls FileCore_DiscOp with R8 set to the ADFS instantiation private word
  315. 40241:2-280;Sets the address of the ST5056 hard disc controller to be used
  316. 40242:2-282;Calls FileCore_Drives with R8 set to the ADFS instantiation private word
  317. 40243:2-283;Calls FileCore_FreeSpace with R8 set to the ADFS instantiation private word
  318. 40244:2-284;Sets the number of retries used for various operations
  319. 40245:2-286;Calls FileCore_DescribeDisc with R8 set to the ADFS instantiation private word
  320. 40246:2-287;Vets a disc format structure for achievability with the available hardware
  321. 40247:2-289;For internal use only
  322. 40248:2-290;Returns the controller type of a given drive
  323. 40249:2-291;Controls power saving features of the ADFS system
  324. 4024A:2-293;Gives the IDE driver the details of an alternative controller
  325. 4024B:2-294;Direct user interface for low-level IDE commands
  326. 4024C:2-296;Calls FileCore_MiscOp with R8 set to the ADFS instantiation private word
  327. 40250:2-297;For internal use only
  328.  
  329. #Podule SWIs
  330. 40280:4-138;Reads the identity byte of an expansion card or extension ROM
  331. 40281:4-139;Reads the header of an expansion card or extension ROM
  332. 40282:4-140;Reads information about a chunk from the Chunk Directory
  333. 40283:4-142;Reads a chunk from an expansion card or extension ROM
  334. 40284:4-143;Reads bytes from within an expansion card's code space
  335. 40285:4-144;Writes bytes to within an expansion card's code space
  336. 40286:4-145;Calls an expansion card's Loader at offset 12
  337. 40287:4-147;Reads bytes directly within an expansion card or extension ROM's address space
  338. 40288:4-148;Writes bytes directly within an expansion card's address space
  339. 40289:4-150;Returns an expansion card or ROM's base address & address of a cards CMOS RAM
  340. 4028A:4-152;Reads information about a chunk from the Chunk Directory
  341. 4028B:4-154;Returns an expansion card or ROM's base address & address of a cards CMOS RAM
  342. 4028C:4-156;Returns the number of expansion cards and extension ROM's
  343.  
  344. #Debugger SWIs
  345. 40380:4-215;Disassemble an instruction
  346.  
  347. #FPEmulator SWIs
  348. 40480:4-184;Returns the version number of the floating point emulator
  349.  
  350. #FileCore SWIs
  351. 40540:2-221;Performs various disc operations, action depends on reason code
  352. 40541:2-226;Creates a new instantiation of an ADFS-like filing system
  353. 40542:2-228;Returns information on the filing system's drives
  354. 40543:2-229;Returns information on a disc's free space
  355. 40544:2-230;Creates a RAM image of a floppy disc map and root directory entry
  356. 40545:2-232;Returns a disc record describing a disc's shape and format
  357. 40546:2-233;Discards the cache of read sectors created by FileCore_DiscOp
  358. 40547:2-234;Fills in a disc format structure with parameters for the specified format
  359. 40548:2-237;Lays out into the specified file a set of structures for its format
  360. 40549:2-238;Performs functions for accessing drives, action depends on reason code
  361.  
  362. #Shell SWIs
  363. 405C0:3-330;For internal use only
  364. 405C1:3-331;For internal use only
  365.  
  366. #Hourglass SWIs
  367. 406C0:2-734;Turns the hourglass on
  368. 406C1:2-736;Turns the hourglass off
  369. 406C2:2-737;Turns the hourglass off
  370. 406C3:2-738;Turns the hourglass on after a given delay
  371. 406C4:2-739;Displays a percentage below the hourglass
  372. 406C5:2-741;Controls the display indicators above and below the hourglass
  373. 406C6:2-742;Sets the colours used to display the hourglass
  374.  
  375. #Draw SWIs
  376. 40700:3-535;Main Draw SWI
  377. 40702:3-538;Processes a path and sends it to the VDU filling the interior
  378. 40704:3-540;Processes a path and sends it to the VDU
  379. 40706:3-542;Processes a path and sends it to an output path
  380. 40708:3-544;Converts an input path into a flattened output path
  381. 4070A:3-546;Converts an input path into a transformed output path
  382.  
  383. #ColourTrans SWIs
  384. 40740:3-346;Sets up a translation table in a buffer
  385. 40741:3-348;Sets up a list of GCOls in a buffer
  386. 40742:3-350;Gets the closest GCOL for a palette entry
  387. 40743:3-351;Sets the closest GCOL for a palette entry
  388. 40744:3-353;Gets the closest colour for a palette entry
  389. 40745:3-354;Gets the closest GCOL for a palette entry
  390. 40746:3-355;Gets the closest colour for a palette entry
  391. 40747:3-356;Gets the furthest GCOL for a palette entry
  392. 40748:3-357;Sets the furthest GCOL for a palette entry
  393. 40749:3-359;Gets the furthest colour for a palette entry
  394. 4074A:3-360;Gets the furthest GCOL for a palette entry
  395. 4074B:3-362;Gets the furthest colour for a palette entry
  396. 4074C:3-363;Translates a GCOL to a colour number
  397. 4074D:3-364;Translates a colour number to a GCOL
  398. 4074E:3-365;Finds the best range of anti-alias colours to match a pair of palette entries
  399. 4074F:3-367;Sets the best range of anti-alias colours to match a pair of palette entries
  400. 40750:3-369;Informs ColourTrans that the palette has been changed by some other means
  401. 40751:3-370;Sets the calibration table for the screen
  402. 40752:3-371;Reads the calibration table for the screen
  403. 40753:3-372;Converts a device colour to a standard colour
  404. 40754:3-373;Converts a device palette to standard colours
  405. 40755:3-374;Converts RISC OS RGB colours to industry CIE colours
  406. 40756:3-376;Converts industry CIE colours to RISC OS RGB colours
  407. 40757:3-378;Saves the current calibration to a file
  408. 40758:3-379;Converts RISC OS RGB colours into corresponding HSV
  409. 40759:3-381;Converts HSV into corresponding RISC OS RGB colours
  410. 4075A:3-383;Converts RISC OS RGB colours into the CMYK model
  411. 4075B:3-385;Converts from the CMYK model to RISC OS RGB colours
  412. 4075C:3-387;Reads either the screen's or a sprite's palette
  413. 4075D:3-389;Writes either the screen's or a sprite's palette
  414. 4075E:3-391;Changes the foreground or background colour to a GCOL number
  415. 4075F:3-393;For internal use only
  416. 40760:3-394;Writes a * Command to a file that will set the ColourTrans error loadings
  417. 40761:3-395;Changes the text foreground or background colour to a GCOL number
  418. 40762:3-396;Changes the text foreground or background colour to a GCOL number
  419. 40763:3-397;Sets up a translation table in a buffer
  420.  
  421. #RamFS SWIs
  422. 40780:2-311;Calls FileCore_DiscOp with R8 set to the RamFS instantiation private word
  423. 40782:2-312;Calls FileCore_Drives with R8 set to the RamFS instantiation private word
  424. 40783:2-313;Calls FileCore_FreeSpace with R8 set to the RamFS instantiation private word
  425. 40785:2-314;Calls FileCore_DescribeDisc with R8 set to the RamFS instantiation private word
  426.  
  427. #SuperSample SWIs
  428. 40D80:3-520;For internal use only
  429. 40D80:3-521;For internal use only
  430.  
  431. #Filer-Action SWIs
  432. 40F80:2-504;Sends a message specifying the selected directory
  433. 40F81:2-505;Sends a message specifying the selected files within a directory
  434. 40F82:2-506;Sends a message to start an operation, action depends on reason code
  435.  
  436. #MessageTrans SWIs
  437. 41500:3-742;Gives information about a message file
  438. 41501:3-743;Opens a message file
  439. 41502:3-745;Translates a message token into a string
  440. 41503:3-747;Sets up a menu structure from a definition containing references to tokens
  441. 41504:3-750;Closes a message file
  442. 41505:3-751;Enumerates tokens that match a wildcarded token
  443. 41506:3-753;Translates a message token within an error block
  444. 41507:3-755;Translates a message token into a string with parameter substitution
  445. 41508:3-757;Copies an error to one of the MessageTrans internal buffers
  446.  
  447. #PDumper SWIs
  448. 41B00:3-680;Returns information about the PDumper support module
  449. 41B01:3-682;Allocates a block of memory and links it into the chain
  450. 41B02:3-684;Attempts to release a block of memory from the printer dumper's chain
  451. 41B03:3-685;Scan the printer dumper's chain for a block of memory with the given tag
  452. 41B04:3-686;Sets up any workspace that is required for a job
  453. 41B05:3-688;Releases workspace used for a job
  454. 41B06:3-689;Processes the colour setting required by the printer dumper
  455. 41B07:3-691;Processes a bitmap into a format suitable for printing
  456. 41B08:3-693;Accesses the internal error handling routines with the support module
  457. 41B09:3-695;Copies a specified filename into a buffer
  458.  
  459. #ResourceFS SWIs
  460. 41B40:2-414;Add files to the ResourceFS structure
  461. 41B41:2-415;Remove files from the ResourceFS structure
  462.  
  463. #DragASprite SWIs
  464. 42400:3-300;Starts dragging a sprite
  465. 42401:3-302;Terminates any current drag operation and releases workspace
  466.  
  467. #Filter manager SWIs
  468. 42640:3-306;Adds a new pre-filter to the list of pre-filters
  469. 42641:3-308;Adds a new post-filter to the list of post-filters
  470. 42642:3-310;Removes a pre-filter from the list of pre-filter
  471. 42643:3-311;Removes a post-filter from the list of post-filters
  472.  
  473. #TaskManager SWIs
  474. 42680:3-314;Finds the name of a task
  475. 42681:3-315;Enumerates all the currently active tasks
  476. 42682:3-317;Starts the desktop shutdown procedure
  477.  
  478. #Squash SWIs
  479. 42700:4-102;Provides compression of a lossless nature
  480. 42701:4-104;Provides decompression of a lossless nature
  481.  
  482. #DeviceFS SWIs
  483. 42740:2-428;Registers a device driver and its associated devices with DeviceFS
  484. 42741:2-431;Deregisters all devices and their device driver from DeviceFS
  485. 42742:2-432;Registers a list of additional devices with a device driver
  486. 42743:2-433;Deregisters a device related to a particular device driver
  487. 42744:2-434;Makes a call to a device with a specified register set
  488. 42745:2-435;Informs DeviceFS of the threshold value to use on buffered devices
  489. 42746:2-436;Informs DeviceFS that a device driver has received a character
  490. 42747:2-437;Informs DeviceFS that a device driver want to transmit a character
  491.  
  492. #Buffer Manager SWIs
  493. 42940:4-86;Claims an area of memory from the RMA and registers it as a buffer
  494. 42941:4-88;Deregisters a buffer and frees its memory
  495. 42942:4-89;Registers an area of memory as a buffer
  496. 42943:4-91;Deregisters a buffer
  497. 42944:4-92;Modifies a buffer's flags word
  498. 42945:4-94;Links a set of routines to the specified buffer
  499. 42946:4-96;Unlinks a set of routines from the specified buffer
  500. 42947:4-97;Returns data about the buffer
  501. 42948:4-99;Sets or reads the warning threshold of the buffer
  502.  
  503. #BASICTrans SWIs
  504. 42C80:4-338;Interpret, translates and print HELP messages
  505. 42C81:4-339;Copy translated error string to a buffer
  506. 42C82:4-340;Translate and print a miscellaneous message
  507.  
  508. #Parallel port driver SWIs
  509. 42EC0:2-479
  510. 42EC1:2-480
  511.  
  512. #Portable SWIs
  513. 42FC0:4-198;Controls the processor speed
  514. 42FC1:4-200;Controls various power control and miscellaneous bits
  515. 42FC2:4-202;Reads Battery Management Unit variables
  516. 42FC3:4-204;Writes Battery Management Unit variables
  517. 42FC4:4-205;Issues a command to the Battery Management Unit
  518.  
  519. #Territory manager SWIs
  520. 43040:3-792;Returns the territory number of the current territory
  521. 43041:3-793;Adds the given territory to the list of active territories
  522. 43042:3-795;Removes the given territory from the list of active territories
  523. 43043:3-796;Returns the name of the given territory
  524. 43044:3-797;Checks if the given territory is currently present in the machine
  525. 43045:3-798;Returns the name of the given alphabet
  526. 43046:3-799;Selects the correct alphabet for the given territory
  527. 43047:3-800;Sets the clock to a given 5 byte  UTC time
  528. 43048:3-801;Returns information on the current time zone
  529. 43049:3-802;Converts a 5 byte UTC time to UTC time ordinals
  530. 4304A:3-806;Returns information on the time zones for the given territory
  531. 4304B:3-807;Converts a 5 byte UTC time into a string giving the date and time
  532. 4304C:3-809;Converts a 5 byte UTC time into a string giving the date and time
  533. 4304D:3-811;Converts a 5 byte UTC time into a string giving the date only
  534. 4304E:3-813;Converts a 5 byte UTC time into a string giving the time only
  535. 4304F:3-815;Converts a 5 byte UTC time to local time ordinals for the given territory
  536. 43050:3-817;Converts a time string to time ordinals
  537. 43051:3-819;Converts local time ordinals for the given territory to a 5 byte UTC time
  538. 43052:3-821;Returns the alphabet number that should be selected for the given territory
  539. 43053:3-822;Returns an identifier string for the alphabet to be used for the given territory
  540. 43054:3-823;Selects the keyboard handler for the given territory
  541. 43055:3-824;Returns the direction of writing used in the given territory
  542. 43056:3-826;Returns a pointer to a character property table
  543. 43057:3-828;Returns a pointer to a lower case table
  544. 43058:3-829;Returns a pointer to an upper case table
  545. 43059:3-830;Returns a pointer to a control character table
  546. 4305A:3-831;Returns a pointer to an unaccented character table
  547. 4305B:3-832;Returns a pointer to a numeric value table
  548. 4305C:3-833;Returns a pointer to a numeric representation table
  549. 4305D:3-834;Compares two strings in the given territory's alphabet 
  550. 4305E:3-836;Returns various information telling you how to format numbers
  551. 4305F:3-839;Returns various information about the given territory's calendar
  552. 43060:3-841;Returns the number of the given territory
  553. 43061:3-841;Transforms a string to allow direct territory independent string comparison
  554. 43075:3-804;Not yet implemented
  555.  
  556. #ScreenBlanker SWIs
  557. 43100:4-110;For internal use only
  558.  
  559. #TaskWindow SWIs
  560. 43380:3-322;Gets the state of a menu showing which item is selected
  561.  
  562. #MakePSFont SWIs
  563. 43440:3-734;For internal use only
  564.  
  565. #Joystick SWIs
  566. 43F40:4-208;Returns the state of a joystick
  567.  
  568. #Free space display SWIs
  569. 444C0:2-512;Provides an interactive free display for a filing system
  570. 444C1:2-516;Removes the filing system from the list known by the free module
  571.  
  572. #DOSFS SWIs
  573. 44B00:2-329;Fills in a disc format structure with parameters for the specified font
  574. 44B01:2-332;Lays out into the specified image a set of structures for its format
  575.  
  576. #PDriver SWIs
  577. 80140:3-602;Get information on the printer driver
  578. 80141:3-606;Configure the printer driver
  579. 80142:3-608;Check the features of a printer
  580. 80143:3-609;Find out how large the paper and print area is
  581. 80144:3-611;Set how large the paper and print area is
  582. 80145:3-613;Make a given print job the current one
  583. 80146:3-615;Get the file handle of the current job
  584. 80147:3-616;For internal use only
  585. 80148:3-617;Ends a print job normally
  586. 80149:3-619;End a print job without any further output
  587. 8014A:3-621;Abort all print jobs
  588. 8014B:3-623;Specify a rectangle to be printed
  589. 8014C:3-626;Called to draw the page after all rectangles specified
  590. 8014D:3-628;Get the next print rectangle
  591. 8014E:3-629;Stops the print job associated with a file handle from printing
  592. 8014F:3-630;Output a screen dump to the printer
  593. 80150:3-631;List existing print jobs
  594. 80151:3-632;For internal use only (use PDriver_SetDriver instead)
  595. 80152:3-633;Cancels a print job
  596. 80153:3-634;Makes the given job the current one and treats it as an illustration
  597. 80154:3-636;Inserts a file containing an illustration into the current job's output
  598. 80155:3-638;Declares the fonts that will be used in a document
  599. 80156:3-640;Registers a printer driver with the PDriver sharer module
  600. 80157:3-642;Deregisters a printer driver with the PDriver sharer module
  601. 80158:3-643;Selects the specified driver
  602. 80159:3-644;Enumerates all drivers within the system
  603. 8015A:3-645;Processes miscellaneous printer driver operations, action depends on reason code
  604. 8015B:3-655;Processes miscellaneous printer driver operations, action depends on reason code
  605. 8015C:3-656;Configures the current printer driver
  606.  
  607. #SharedCLibrary SWIs
  608. 80680:4-244;This call is deprecated, use SharedCLibrary_LibInitAPCS_R instead
  609. 80681:4-245;Interfaces an application with the shared C library
  610. 80682:4-249;Interfaces a module with the shared C library
  611.  
  612. #Toolbox SWIs
  613. 44EC0:UIT-20;Creates an object from a named template
  614. 44EC1:UIT-21;Deletes a given object
  615. 44EC3:UIT-22;Shows a given object on the screen
  616. 44EC4:UIT-23;Removes a given object from the screen
  617. 44EC5:UIT-24;Returns information about the state of an object
  618. 44EC6:UIT-25;Miscellaneous operations, action depends on object type and reason code
  619. 44EC7:UIT-26;Sets the value of the client handle for this object
  620. 44EC8:UIT-26;Returns the value of the client handle for this object
  621. 44EC9:UIT-27;Returns the class of the specified object
  622. 44ECA:UIT-28;Returns the object id which was passed as the parent to Toolbox_ShowObject
  623. 44ECB:UIT-29;Returns the id of the ancestor of the given object
  624. 44ECC:UIT-30;Returns the name of the template used to create the object
  625. 44ECD:UIT-31;Raises a specified toolbox event
  626. 44ECE:UIT-32;Get various information for the client
  627. 44ECF:UIT-33;Used to register a task before any other Toolbox SWIs
  628. 44ED0:UIT-35;Loads the given resource file and creates objects with the auto-create bit set
  629. 44ED1:UIT-36;Returns a pointer to a block suitable to pass to Toolbox_CreateObject
  630.  
  631. #End of file
  632.