DOS_SET_POSITION
Set the file pointer
Categories:
Function | Address | Description |
---|---|---|
DOS_SET_POSITION | 0136 | Set the file pointer |
Synopsys
Sets the file pointer. This does not access the disk, nor does it check if the file pointer is >= 8 megabytes.
Entry Parameters
Register | Content |
---|---|
B | File number 0…15 |
E HL |
File pointer 0x000000…0xFFFFFF (16Mb) E is most significant byte, L least |
Exit Parameters
- If OK
- Carry true
- A corrupt
- Otherwise:
- Carry false
- A = Error code
- Always:
- BC DE HL IX corrupt, all other registers preserved.
Last modified November 24, 2021: DOS attributes, fix blb class (8c71b69)