home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilss / swihelp / !SWIHelp / ReasonCode < prev    next >
Encoding:
Text File  |  1996-08-15  |  14.8 KB  |  457 lines

  1. #File Format
  2. #{
  3. #no,min,max
  4. #code n:page;description n
  5. #}
  6.  
  7. #OS_Byte
  8. {
  9. 6,0,255
  10. 0:1-936;Display OS version information
  11. 2:1-854;Specify input stream
  12. 3:1-506;Specify output streams
  13. 4:1-856;Cursor key status
  14. 5:1-508;Write printer driver type
  15. 6:1-510;Write printer ignore character
  16. 7:2-444;Write RS423 receive rate
  17. 8:2-445;Write RS423 transmit rate
  18. 9:1-628;Write duration of first colour
  19. 10:1-630;Write duration of second colour
  20. 11:1-858;Write keyboard auto-repeat delay
  21. 12:1-859;Write keyboard auto-repeat rate
  22. 13:1-148;Disable event
  23. 14:1-150;Enable event
  24. 15:1-164;Flush buffer
  25. 18:1-861;Reset function keys
  26. 19:1-631;Wait for vertical sync event
  27. 20:1-633;Reset font definitions
  28. 21:1-165;Flush selected buffer
  29. 25:1-635;Reset group of font definitions
  30. 70:3-771;Read/write country number
  31. 71:3-772;Read/write alphabet or keyboard
  32. 106:1-637;Select pointer/activate mouse
  33. 112:1-639;Write VDU driver screen bank
  34. 113:1-641;Write display hardware screen bank
  35. 114:1-643;Write shadow/non-shadow state
  36. 117:1-645;Read VDU status
  37. 118:1-862;Reflect keyboard status in LEDs
  38. 121:1-863;Keyboard scan
  39. 122:1-865;Keyboard scan from 16 decimal
  40. 124:1-866;Clear escape condition
  41. 125:1-867;Set escape condition
  42. 126:1-868;Acknowledge escape condition
  43. 127:2-25;Check for end of file
  44. 128:1-166;Get buffer/mouse state
  45. 129:1-870;Scan for a particular key
  46. 134:1-647;Read text cursor position
  47. 135:1-649;Read character at text cursor and screen mode
  48. 138:1-168;Insert character code into buffer
  49. 139:2-27;Write filing system options
  50. 143:1-223;Issue module service call
  51. 144:1-650;Set vertical screen shift and interlace
  52. 145:1-170;Get character from buffer
  53. 152:1-171;Examine buffer status
  54. 153:1-172;Insert character into buffer
  55. 156:2-446;Read/write asynchronous communications state
  56. 160:1-652;Read VDU variable state
  57. 161:1-363;Read battery backed up RAM
  58. 162:1-365;Write battery backed up RAM
  59. 163:1-654;Read/write general graphics information
  60. 165:1-656;Read output cursor position
  61. 176:1-405;50Hz counter
  62. 177:1-873;Read input source
  63. 181:2-449;Read/write RS423 input interpretation status
  64. 182:1-511;Read/write NoIgnore state
  65. 191:2-451;Read/write RS423 busy flag
  66. 192:2-452;Read RS423 control byte
  67. 193:1-657;Read/write flash counter
  68. 194:1-659;Read duration of second colour
  69. 195:1-660;Read duration of first colour
  70. 196:1-874;Read/write keyboard auto-repeat delay
  71. 197:1-875;Read/write keyboard auto-repeat rate
  72. 198:1-877;Read/write *Exec file handle
  73. 199:1-513;Read/write *Spool file handle
  74. 200:1-879;Read/write Break and Escape effect
  75. 201:1-881;Read/write keyboard disable flag
  76. 202:1-883;Read/write keyboard status byte
  77. 203:2-453;Read/write RS423 input buffer minimum space
  78. 204:2-455;Read/write RS423 ignore flag
  79. 211:1-661;Read/write bell channel
  80. 212:1-662;Read/write bell sound volume
  81. 213:1-664;Read/write bell frequency
  82. 214:1-666;Read/write bell duration
  83. 216:1-885;Read/write length of function key string
  84. 217:1-667;Read/write paged mode line count
  85. 218:1-669;Read/write bytes in VDU queue
  86. 219:1-887;Read/write Tab key code
  87. 220:1-889;Read/write escape character
  88. 221:1-891;Read/write interpretation of input values &C0-&CF
  89. 222:1-891;Read/write interpretation of input values &D0-&DF
  90. 223:1-891;Read/write interpretation of input values &E0-&EF
  91. 224:1-891;Read/write interpretation of input values &F0-&FF
  92. 225:1-891;Read/write function key interpretation
  93. 226:1-891;Read/write Shift function key interpretation
  94. 227:1-891;Read/write Ctrl function key interpretation
  95. 228:1-891;Read/write Ctrl Shift function key interpretation
  96. 229:1-894;Read/write Escape key status
  97. 230:1-896;Read/write escape effects
  98. 236:1-514;Read/write character destination status
  99. 237:1-898;Read/write cursor key status
  100. 238:1-900;Read/write numeric keypad interpretation
  101. 240:3-774;Read country flag
  102. 242:2-457;Read RS423 baud rates
  103. 243:1-407;Read timer switch state
  104. 245:1-515;Read printer driver type
  105. 246:1-517;Read/write printer ignore character
  106. 247:1-902;Read/write Break key actions
  107. 250:1-671;Read VDU driver screen bank number
  108. 251:1-672;Read display screen bank number
  109. 253:1-904;Read last break type
  110. 254:1-906;Set effect of Ctrl Shift on numeric keypad
  111. 255:2-28;Read/write boot option
  112. }
  113.  
  114. #OS_Heap
  115. {
  116. 1D,0,6
  117. 0:1-370;Initialise heap
  118. 1:1-371;Describe heap
  119. 2:1-372;Get heap block
  120. 3:1-373;Free heap block
  121. 4:1-374;Extend or shrink heap block
  122. 5:1-375;Extend or shrink heap
  123. 6:1-376;Read block size
  124. }
  125.  
  126. #OS_Module
  127. {
  128. 1E,0,20
  129. 0:1-227;Run
  130. 1:1-228;Load
  131. 2:1-229;Enter
  132. 3:1-230;ReInit
  133. 4:1-231;Delete
  134. 5:1-232;Describe RMA
  135. 6:1-233;Claim
  136. 7:1-234;Free
  137. 8:1-235;Tidy
  138. 9:1-236;Clear
  139. 10:1-237;Insert module from memory
  140. 11:1-238;Insert module from memory and move into RMA
  141. 12:1-239;Extract module information
  142. 13:1-240;Extend block
  143. 14:1-241;Create new instantiation
  144. 15:1-242;Rename instantiation
  145. 16:1-243;Make preferred instantiation
  146. 17:1-244;Add expansion card module
  147. 18:1-245;Lookup module name
  148. 19:1-246;Enumerate ROM modules
  149. 20:1-248;Enumerate ROM modules with version
  150. }
  151.  
  152. #OS_SpriteOp
  153. {
  154. 2E,2,62
  155. 2:1-764;Screen save
  156. 3:1-765;Screen Load
  157. 8:1-766;Read area control block
  158. 9:1-767;Initialise sprite area
  159. 10:1-768;Load sprite file
  160. 11:1-769;Merge sprite file
  161. 12:1-770;Save sprite file
  162. 13:1-771;Return name
  163. 14:1-772;Get sprite
  164. 15:1-773;Create sprite
  165. 16:1-774;Get sprite from user coordinates
  166. 24:1-775;Select sprite
  167. 25:1-776;Delete sprite
  168. 26:1-777;Rename sprite
  169. 27:1-778;Copy sprite
  170. 28:1-779;Put sprite
  171. 29:1-780;Create mask
  172. 30:1-781;Remove mask
  173. 31:1-782;Insert row
  174. 32:1-783;Delete row
  175. 33:1-784;Flip about x axis
  176. 34:1-785;Put sprite at user coordinates
  177. 35:1-786;Append sprite (requires SpriteExtend module)
  178. 36:1-788;Set pointer shape (requires SpriteExtend module)
  179. 37:1-790;Create/remove palette (requires SpriteExtend module)
  180. 40:1-791;Read sprite information
  181. 41:1-792;Read pixel colour
  182. 42:1-793;Write pixel colour
  183. 43:1-794;Read pixel mask
  184. 44:1-795;Write pixel mask
  185. 45:1-796;Insert column
  186. 46:1-797;Delete column
  187. 47:1-798;Flip about y axis
  188. 48:1-799;Plot sprite mask
  189. 49:1-800;Plot mask at user coordinates
  190. 50:1-801;Plot mask scaled (requires SpriteExtend module)
  191. 51:1-802;Paint character scaled (requires SpriteExtend module)
  192. 52:1-803;Put sprite scaled (requires SpriteExtend module)
  193. 53:1-804;Put sprite grey scaled (requires SpriteExtend module)
  194. 54:1-805;Remove left hand wastage
  195. 55:1-806;Plot mask transformed (requires SpriteExtend module)
  196. 56:1-806;Put sprite transformed (requires SpriteExtend module)
  197. 57:1-809;Insert/delete rows (requires SpriteExtend module)
  198. 58:1-809;Insert/delete columns (requires SpriteExtend module)
  199. 60:1-811;Switch output to sprite
  200. 61:1-813;Switch output to mask
  201. 62:1-815;Read save area size
  202. }
  203.  
  204. #OS_Upcall
  205. {
  206. 33,1,257
  207. 1:1-179;Filing medium is not present
  208. 2:1-179;Filing medium is not known
  209. 3:1-181;Warns your program that a file is being modified
  210. 4:1-186;Informs your program that a missing file medium has been supplied
  211. 6:1-187;Informs the TaskWindow that a task wants to sleep
  212. 7:1-188;Informs the TaskWindow that an open pipe has been closed or deleted
  213. 8:1-189;A buffer's free space has become less than its specified threshold
  214. 9:1-190;A buffer's free space has become greater than or equal to its specified threshold
  215. 10:1-191;Stream created
  216. 11:1-192;Stream closed
  217. 256:1-193;Warns your program that a new application is going to be started
  218. 257:1-194;Informs your program that RISC OS would like to move memory
  219. }
  220.  
  221. #OS_ReadSysInfo
  222. {
  223. 58,0,3
  224. 0:1-720;Read configured screen size in bytes
  225. 1:1-721;Read configured Mode, MonitorType and Sync
  226. 2:1-722;Read presence of chips and unique machine ID
  227. 3:1-723;Read features mask for 82C710 chip family
  228. }
  229.  
  230. #OS_File
  231. {
  232. 8,0,255
  233. 0:2-33;Saves a block of memory as a file
  234. 1:2-34;Writes catalogue information for a named object
  235. 2:2-34;Writes load address only for a named object
  236. 3:2-34;Writes execution address only for a named object
  237. 4:2-34;Writes attributes only for a named object
  238. 5:2-35;Read catalogue information for a named object using File$Path
  239. 6:2-37;Deletes a named object
  240. 7:2-38;Creates an empty file
  241. 8:2-39;Creates a directory
  242. 9:2-34;Writes date/time stamp of a named file
  243. 10:2-33;Saves a block of memory as a file and date/time stamps it
  244. 11:2-38;Creates an empty file and date/time stamps it
  245. 12:2-40;Loads a named file using specified path string
  246. 13:2-35;Reads catalogue information for a named object using specified path string
  247. 14:2-40;Loads a named file using specified path variable
  248. 15:2-35;Reads catalogue information for a named object using specified path variable
  249. 16:2-40;Loads a named file using no path
  250. 17:2-35;Reads catalogue information for a named object using no path
  251. 18:2-34;Sets file type of a named file
  252. 19:2-42;Generates an error message
  253. 20:2-43;Reads catalogue information for a named object using File$Path
  254. 21:2-43;Reads catalogue information for a named object using specified path string
  255. 22:2-43;Reads catalogue information for a named object using specified path variable
  256. 23:2-43;Reads catalogue information for a named object using no path
  257. 24:2-45;Reads the natural block size of a file
  258. 255:2-40;Loads a named file using File$Path
  259. }
  260.  
  261. #OS_Args
  262. {
  263. 9,0,255
  264. 0:2-48;Read pointer/FS number
  265. 1:2-49;Write pointer
  266. 2:2-50;Read extent
  267. 3:2-51;Write extent
  268. 4:2-52;Read allocated size
  269. 5:2-53;Read EOF status
  270. 6:2-54;Reserve space
  271. 7:2-55;Get canonicalised name
  272. 8:2-56;Inform of changed image stamp
  273. 254:2-57;Read information on file handle
  274. 255:2-59;Ensure file/files
  275. }
  276.  
  277. #OS_GBPB
  278. {
  279. C,1,12
  280. 1:2-65;Writes bytes to an open file using a specified file pointer
  281. 2:2-65;Writes bytes to an open file using the current file pointer
  282. 3:2-66;Reads bytes from an open file using a specified file pointer
  283. 4:2-66;Reads bytes from an open file using the current file pointer
  284. 5:2-67;Reads name and boot (*Opt 4) option of disc
  285. 6:2-67;Reads current directory name and privilege data
  286. 7:2-67;Reads library directory name and privilege byte
  287. 8:2-68;Reads entries from the current directory
  288. 9:2-70;Reads entries from a specified directory
  289. 10:2-70;Reads entries and file information from a directory
  290. 11:2-70;Reads entries and full file information from a directory
  291. 12:2-70;Reads entries and file type information from a directory
  292. }
  293.  
  294. #Wimp_SpriteOp
  295. {
  296. 400E9,2,62
  297. 2:1-764;Screen save
  298. 3:1-765;Screen Load
  299. 8:1-766;Read area control block
  300. 9:1-767;Initialise sprite area
  301. 10:1-768;Load sprite file
  302. 11:1-769;Merge sprite file
  303. 12:1-770;Save sprite file
  304. 13:1-771;Return name
  305. 14:1-772;Get sprite
  306. 15:1-773;Create sprite
  307. 16:1-774;Get sprite from user coordinates
  308. 24:1-775;Select sprite
  309. 25:1-776;Delete sprite
  310. 26:1-777;Rename sprite
  311. 27:1-778;Copy sprite
  312. 28:1-779;Put sprite
  313. 29:1-780;Create mask
  314. 30:1-781;Remove mask
  315. 31:1-782;Insert row
  316. 32:1-783;Delete row
  317. 33:1-784;Flip about x axis
  318. 34:1-785;Put sprite at user coordinates
  319. 35:1-786;Append sprite (requires SpriteExtend module)
  320. 36:1-788;Set pointer shape (requires SpriteExtend module)
  321. 37:1-790;Create/remove palette (requires SpriteExtend module)
  322. 40:1-791;Read sprite information
  323. 41:1-792;Read pixel colour
  324. 42:1-793;Write pixel colour
  325. 43:1-794;Read pixel mask
  326. 44:1-795;Write pixel mask
  327. 45:1-796;Insert column
  328. 46:1-797;Delete column
  329. 47:1-798;Flip about y axis
  330. 48:1-799;Plot sprite mask
  331. 49:1-800;Plot mask at user coordinates
  332. 50:1-801;Plot mask scaled (requires SpriteExtend module)
  333. 51:1-802;Paint character scaled (requires SpriteExtend module)
  334. 52:1-803;Put sprite scaled (requires SpriteExtend module)
  335. 53:1-804;Put sprite grey scaled (requires SpriteExtend module)
  336. 54:1-805;Remove left hand wastage
  337. 55:1-806;Plot mask transformed (requires SpriteExtend module)
  338. 56:1-806;Put sprite transformed (requires SpriteExtend module)
  339. 57:1-809;Insert/delete rows (requires SpriteExtend module)
  340. 58:1-809;Insert/delete columns (requires SpriteExtend module)
  341. 60:1-811;Switch output to sprite
  342. 61:1-813;Switch output to mask
  343. 62:1-815;Read save area size
  344. }
  345.  
  346. #OS_FSControl
  347. {
  348. 29,0,54
  349. 0:2-80;Set the current directory
  350. 1:2-81;Set the library directory
  351. 2:2-82;Inform of start of new application
  352. 3:2-77;Reserved for internal use
  353. 4:2-84;Run a file
  354. 5:2-86;Catalogue a directory
  355. 6:2-87;Examine the current directory
  356. 7:2-88;Catalogue the library directory
  357. 8:2-89;Examine the library directory
  358. 9:2-90;Examine objects
  359. 10:2-91;Set filing system options
  360. 11:2-92;Set the temporary filing system from a named prefix
  361. 12:2-93;Add a filing system
  362. 13:2-94;Check for the presence of a filing system
  363. 14:2-95;Filing system selection
  364. 15:2-96;Boot from a filing system
  365. 16:2-97;Filing system removal
  366. 17:2-98;Add a secondary module
  367. 18:2-99;Decode file type into text
  368. 19:2-100;Restore the current filing system
  369. 20:2-101;Read location of temporary filing system
  370. 21:2-102;Return a filing system file handle
  371. 22:2-103;Close all open files
  372. 23:2-104;Shutdown filing systems
  373. 24:2-105;Set the attributes of objects
  374. 25:2-106;Rename objects
  375. 26:2-107;Copy objects
  376. 27:2-110;Wipe objects
  377. 28:2-111;Count objects
  378. 29:2-77;Reserved for internal use
  379. 30:2-112;Read location of secondary module for temporary filing system
  380. 31:2-113;Convert a string giving a file type to a number
  381. 32:2-114;Output a list of object names and information
  382. 33:2-115;Convert a file system number to a file system name
  383. 34:2-77;Reserved for future expansion
  384. 35:2-116;Add an image filing system
  385. 36:2-117;Image filing system removal
  386. 37:2-118;Convert a pathname to a canonicalised name
  387. 38:2-120;Convert file information to an object's file type
  388. 39:2-121;Set the User Root Directory (URD)
  389. 40:2-122;Exchange current and previous directories
  390. 41:2-123;Return the defect list for an image
  391. 42:2-124;Map out a defect from an image
  392. 43:2-125;Unset the current directory
  393. 44:2-126;Unset the User Root Directory (URD)
  394. 45:2-127;Unset the library directory (Lib)
  395. 46:2-128;Return an image file's used space map
  396. 47:2-129;Read the boot option of the disc or image file that holds a specified object
  397. 48:2-130;Write the boot option of the disc or image file that holds a specified object
  398. 49:2-131;Read the free space on the disc or image that holds a specified object
  399. 50:2-132;Name the disc or image file that holds a specified object
  400. 51:2-133;Request that an image stamp be updated
  401. 52:2-134;Find the name and type of object that uses a particular offset
  402. 53:2-135;Set a specified directory to a given path without verification
  403. 54:2-137;Read the path of a specified directory
  404. }
  405.  
  406. #FileCore_MiscOp
  407. {
  408. 40549,0,5
  409. 0:2-238;Mount
  410. 1:2-238;Poll changed
  411. 2:2-238;Lock drive
  412. 3:2-238;Unlock drive
  413. 4:2-238;Poll period
  414. 5:2-238;Eject disc
  415. }
  416.  
  417. #FileCore_DiscOp
  418. {
  419. 40540,0,15
  420. 0:2-222;Verify
  421. 1:2-222;Read sectors
  422. 2:2-222;Write sectors
  423. 3:2-222;Floppy disc: read track / Hard disc: read id
  424. 4:2-222;Write track
  425. 5:2-222;Seek (used only to park)
  426. 6:2-222;Restore
  427. 7:2-222;Floppy disc: step in (only valid with 1772 disc controller)
  428. 8:2-222;Floppy disc: step out (only valid with 1772 disc controller)
  429. 9:2-222;Read sectors via cache
  430. 15:2-222;Hard disc: specify
  431. }
  432.  
  433. #FilerAction_SendStartOperation
  434. {
  435. 40F82,0,9
  436. 0:2-506;Copy
  437. 1:2-506;Move (rename)
  438. 2:2-506;Delete
  439. 3:2-506;Set access
  440. 4:2-506;Set type
  441. 5:2-506;Count
  442. 6:2-506;Move (by copying and deleting afterwards)
  443. 7:2-506;Copy local (within directory)
  444. 8:2-506;Stamp files
  445. 9:2-506;Find file
  446. }
  447.  
  448. #PDriver_MiscOp
  449. {
  450. 8015A,0,2
  451. 0:3-647;Adds a font name to a list of those know to the current printer
  452. 1:3-649;Removes font name(s) from a list of those known to the current printer
  453. 2:3-650;Enumerates the font name(s) in a list of those known to the current printer
  454. }
  455.  
  456. #End of file
  457.