Function | Address | Description |
---|---|---|
DOS_ABANDON | 010C | Abandon a file |
Synopsys
Abandon a file
Similar to DOS CLOSE, except that any header, or data, or directory data yet to be written to disk is discarded. This routine should only be used to force a file closed in the event that DOS CLOSE is unable to close the file (for example, if the media is damaged or permanently changed or removed).
Entry Parameters
Register | Content |
---|---|
B | File number 0…15 |
Exit Parameters
- If OK:
- Carry true
- A corrupt
- Otherwise:
- Carry false
- A=Error code
- Always:
- BC DE HL IX corrupt, all other registers preserved.