kjt_write_to_file
Created by: phil, Last modification: Thu 18 of Aug, 2011 (19:27 UTC)
Name:
kjt_write_to_file
Action: Appends new data to an existing file on current disk / directory. Use kjt_create_file or kjt_save_filebeforehand
Input Registers:
HL = null-terminated ascii filename of file to be appended to
IX = address of source data
B = bank of source data
C:DE = number of bytes to write
Output Registers :
If Zero Flag is set, operation completed OK
Else, there was an error:
If A = $00, B = hardware device error flags.
If A <> $00, see error code table
Notes:
kjt_write_to_file
Action: Appends new data to an existing file on current disk / directory. Use kjt_create_file or kjt_save_filebeforehand
Input Registers:
HL = null-terminated ascii filename of file to be appended to
IX = address of source data
B = bank of source data
C:DE = number of bytes to write
Output Registers :
If Zero Flag is set, operation completed OK
Else, there was an error:
If A = $00, B = hardware device error flags.
If A <> $00, see error code table
Notes:
- Returns "file not found" error if the file has not been created previously.
- PQFS Only: This routine does not change the reload location data in the file header.