Entry | |
---|---|
R0 | IDE Flag (as described below) |
R2 | Pointer to parameter block for command and results |
R3 | Pointer to buffer |
R4 | Length to transfer |
R5 | Timeout in centiseconds (if 0 is passed then use the default value) |
R12 | Pointer to static workspace |
Exit | |
---|---|
R0 | Command status (0 or a disc error number) |
R2 | Preserved |
R3 | Preserved |
R4 | Updated |
R5 | Corrupted |
Flag bits | |
---|---|
0 | 0 = process command |
1 = reset controller | |
24 – 25 | 00 = no transfer |
01 = read (bit 24 set) | |
10 = write (bit 25 set) | |
11 = reserved |
The purpose of this call is to access low-level IDE commands.
This call must not be called in the background.