_____________________________________________________________________________

  AppEngine_ResourceOp						 SWI &4D940
_____________________________________________________________________________

							 AppEngine_ResourceOp
								 (SWI &4D940)

	Provides operations related to application resources

On entry
	R0 = reason code
	other registers are reason code dependent

On exit
	R0 preserved
	other registers are reason code dependent

Interrupts
	Interrupt status is undefined
	Fast interrupts are enabled

Processor mode
	Processor is in SVC mode

Re-entrancy
	Not defined

Use
	This call provides operations to encode and decode data into various
	encoded formats.

	The action of the SWI depends on the reason code passed in R0:

		R0	Action
		0	locate resources for this application using
			the currently configured territory

Related SWIs
	None

Related vectors
	None
_____________________________________________________________________________

						       AppEngine_ResourceOp 0
								 (SWI &4D940)

	Locate resources for this application using
	the currently configured territory

On entry
	R0 = 0
	R1 = applications directory specifier, e.g. <App$Dir>

On exit
	R0 preserved
	R1 = pointer to path for resources

Use
	This call takes as input your applications directory variable and
	returns a string with .Resources.<Country> appended, where
	<Country> is the name of the currently configured territory.

	A check is made to see if the desired resources are present.  If not,
	then they are set to UK by default.

	All country names are purposely truncated to a maximum of ten
	characters.
