The code at offset 1 (IY+1) of the I/O Request Vector specifies the operation to be performed.
I/O-Request Vector (IY-Vector) |
---|
Bit 0 in the request code indicates whether the request is waiting for the completion of the operation, or whether it should be executed in interrupt mode (background).
Meaning of Bit 0 | |
---|---|
Bit 0 | Explanation |
0 | RETURN ON COMPLETION The entire I/O operation is completely processed by the driver and thereafter returned to the calling program. |
1 | IMMEDIATE RETURN Only the start of the I/O operation is initiated by the driver and thereafter returned to the calling program. The driver continues to operate under interrupt. The calling program must determine itself the completion of the operation by querying the Completion Code. |
OPEN Types | ||
---|---|---|
Code (Hex) | Explanation | |
00, 80 | OPEN for INPUT (sequential, random) | |
01, 81 | OPEN for OUTPUT (sequential, random) | |
02, 82 | OPEN NEW FILE (sequential, random) | |
03, 83 | OPEN for APPEND (ssequential, random) | |
04, 84 | OPEN for UPDATE (sequential, random) |