This the multi-page printable view of this section.Click here to print.

Return to the regular view of this page.

DOS_GET_EOF

Get the end of file (EOF) position

Table of Contents

Function AddressDescription
DOS_GET_EOF 0139Get the end of file (EOF) position

Synopsys

Get the end of file (EOF) file position greater than all written byte positions. Does not affect the file pointer. Does not consider soft-EOF.

Entry Parameters

Register Content
B File number 0…15

Exit Parameters

If OK
Carry true
A corrupt
E HL = File pointer 0x000000…0xFFFFFF (16Mb)
E is most significant byte, L least
Otherwise:
Carry false
A = Error code
E HL = Corrupt
Always:
BC D IX corrupt, all other registers preserved.