Showing changes from revision #2 to #3:
Added | Removed | Changed
Entry | |
---|---|
R0 | 28 (&1C) |
R1 | Pointer to wildcarded filename of files to count |
R3 | Flags |
R4 | Start load |
R5 | Start exec |
R6 | End load |
R7 | End exec |
R8 | Pointer to descriptor |
Exit | |
---|---|
R2 | Total length |
R3 | Number of files |
All registers preserved |
The purpose of this call is to count objects. It is equivalent to the *Count command.
The descriptor block, introduced in FileSwitch 2.73, should be used when counting discs larger than 4 Gbytes since the register R2 alone cannot return more than this. If the descriptor block is not used and the result overflowed R2 the value 0×7FFFFFFF is substituted (prior to this change the count total modulo 4 Gbytes was returned).