+1 vote
20 views
in TPF by (47 points)

How do you check the return from FACE?

1 Answer

0 votes
by (61 points)
i believe you can check R7 and R0 for return value and error value
by (323 points)

FACE FACS

R6 Contains the Hexadecimal Record type Contains the symbolic record type

R0 Contains the Ordinal Number

R7 Address of an 8-byte field where the system file reference is to be placed.  Normally, the location of FARW  because the address must be  there before the find or file function can be called. 

Return from FACE/FACS:

Normal return

System file reference at the 2nd full word from the specified location

R0:  maximum ordinal number for record type

R1-5:  contents unchanged

R6-7:  contents changed

Related questions

+1 vote
1 answer
26 views
0 votes
1 answer
22 views
asked May 14 in TPF by Derya (47 points)
+1 vote
1 answer
21 views
0 votes
0 answers
8 views
asked May 14 in TPF by Derya (47 points)
+1 vote
1 answer
29 views
+1 vote
0 answers
15 views
+1 vote
1 answer
31 views
+1 vote
1 answer
17 views
+1 vote
1 answer
24 views
+1 vote
1 answer
22 views
...