home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kosovo Orphans' Appeal Charity CD
/
KosovoOrphansAppeal.iso
/
commercialdemos
/
claresmicrosupplies
/
pca
/
docs
/
pca_swis
< prev
next >
Wrap
Text File
|
1996-08-20
|
2KB
|
72 lines
Plug In Compliant Application protocol
======================================
PCA support module SWIs
=======================
Module : PCASupport
Version : 0.07 (12 August 1996)
Chunk : &4D6C0
The PCA support module is designed to facilitate the creation of PCA style
'tags' in an area of shared memory. At a future date other useful PCA
related SWIs (eg. colaescing update area rectangles) may be added. In the
meantime the following SWIs are provided.
SWI PCA_CreateTag
-----------------
on entry -
r1 = address of base
r2 = Offset to object
r3 = size of object (optional)
r4 = flags/extension data (not in this version.)
on exit -
r0 = address of tag
(r1-r4 are written into the tag as initial values.)
All other registers preserved.
Errors returnable:
"This version of the PCA support module cannot create extended tags."
Produced if bits set in R4 (b0-15).
"This version does not resize the tag block on old hardware. (too many tags)."
Produced on pre-RPC hardware if more than 2048 tags are in use.
NOTE: PCASupport relies on the first value of a valid tag not being
&FFFFFFFF (-1). NEVER write this value into the base field of the tag as the
next call to PCA_CreateTag will probably map your tag to another object -
causing chaos.
SWI PCA_DeleteTag
-----------------
on entry -
R0 = ptr to tag
on exit all registers preserved.
Errors returnable:
"Bad tag passed to PCASupport."
SWI PCA_DeleteAndKill
---------------------
on entry -
R0 = ptr to tag
R1 = filetype of object
on exit all registers preserved.
As well as the functionality of the above SWI this also broadcasts
Message_Deselect for you.