162 I/O Handling Calling Procedure: 1. Load register A with the contents of the MSTID. 2. Call the utility. The transfer may not be completed on the first or subsequent calls (see exit conditions). In that case, to successfully test for a completed transfer, both steps in the calling procedure must be repeated. Exit Conditions: RET 1 Occurs when the transfer from the device buffer to the device is not completed. It is up to your routine at this point to decide whether another test should be made immediately, or whether something else should be executed (and to come back later). RET 2 Occurs when the transfer is complete.
If register A contains a non-zero value, an through 99), error 19 is returned if the MSTID parameter is invalid. error occurred and A is the error number. In addition to mass storage errors (80 Pressing RESET ( Ic@\11 sliP I) during execution of either of the CAUTION above utilities may cause a SCRATCH A to occur. The following is an example of a typical call to these utilities to write a record to mass storage - .,- ..i!?C:E: I": !... '.. i .:::= ~ ::~ Te-:-·': T ... _j_ :. __ .:::!: : ~-:: _ C)'j' ..... _:. i···:;::·····:·· ·:····,;t .. ·