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