Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | 1 |
R1 | Drive number |
R2 | Sequence number |
R8 | Pointer to |
Exit | |
---|---|
R0 | Preserved ? |
R1 | Preserved ? |
R2 | Sequence number |
R3 | Result flag |
R8 | Preserved ? |
The purpose of this call is to return information on the drive to see if a change has occurred.
The sequence number is to ensure no changes are lost due to reset being pressed. Both the given filing system and the FileCore incarnation should start with a sequence number of 0 for each drive. The filing system increments the sequence number with each change of state. If the filing system finds the entry sequence number doesn’t match its copy it should return changed/maybe changed, depending on whether the disc changed line works/doesn’t work.