::.. I/O Request Codes ..::

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)

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.
I/O Request Codes
Code (Hex) Explanation
00, 01 INITIALIZE
Drivers: NULL, ZDOS, NDOS, CON, DFS, DISK
02, 03 ASSIGN
Drivers: NULL, ZDOS, NDOS, CON, DFS
04, 05 OPEN
Drivers: NULL, ZDOS, NDOS, CON, DFS
06, 07 CLOSE
Drivers: NULL, ZDOS, NDOS, CON, DFS
08, 09 REWIND
Drivers: NULL, ZDOS, NDOS, DFS
0A, 0B Beschreibung READ BINARY
Drivers: NULL, ZDOS, NDOS, FLOPPY, CON, PCON, DFS, DISK
0C, 0D READ LINE
Drivers: NULL, CON, PCON
0E, 0F Beschreibung WRITE BINARY
Drivers: NULL, ZDOS, NDOS, FLOPPY, CON, PCON, DFS, DISK
10, 11 WRITE LINE
Drivers: NULL, CON, PCON
12, 13 WRITE CURRENT
Drivers: NULL, ZDOS, NDOS, DFS
16, 17 DELETE
Drivers: NULL, ZDOS, NDOS, DFS
18, 19 DELETE REMAINING RECORDS
Drivers: NULL, ZDOS, NDOS, DFS
1A, 1B ERASE
Drivers: NULL, ZDOS, NDOS, DFS
1C, 1D READ AND DELETE
Drivers: NULL, ZDOS, NDOS, DFS
1E, 1F READ CURRENT
Drivers: NULL, ZDOS, NDOS, DFS
20, 21 READ PREVIOUS
Drivers: NULL, ZDOS, NDOS, DFS
22, 23 READ DIRECT
Drivers: NULL, ZDOS, NDOS, DFS
24, 25 SKIP FORWARD
Drivers: NULL, ZDOS, NDOS, DFS
26, 27 SKIP BACKWARD
Drivers: NULL, ZDOS, NDOS, DFS
28, 29 SKIP TO END
Drivers: NULL, ZDOS, NDOS, DFS
2A, 2B RENAME
Drivers: NULL, ZDOS, NDOS, DFS
2C, 2D UPDATE
Drivers: NULL, ZDOS, NDOS, DFS
2E, 2F SET ATTRIBUTES
Drivers: NULL, ZDOS, NDOS, DFS
30, 31 QUERY ATTRIBUTES
Drivers: NULL, ZDOS, NDOS, DFS
32, 33 READ HEADER
Drivers: DISK
34, 35 WRITE WITHOUT PRECHECK
Drivers: DISK
40, 41 READ STATUS
Drivers: NULL, CON
42, 43 WRITE STATUS
Drivers: NULL, CON
44, 45 DEACTIVATE
Drivers: NULL, CON
46, 47 READ ABSOLUTE
Drivers: NULL, CON
48, 49 WRITE ABSOLUTE
Drivers: NULL, CON
50, 51 FORMAT
Drivers: FLOPPY (nur P8000)
52, 53 READ A TRACK
Drivers: FLOPPY (nur mein Eigenbau)
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)