kjt_serial_receive_file
Created by: phil, Last modification: Thu 11 of Mar, 2010 (13:36 UTC)
kjt_serial_receive_file
Action:
Receives serial file data (kjt_serial_receive_header MUST be called first)
- IMPORTANT: This routine was changed in FLOSv561, it must now supply the load address for the data (previously, kjt_serial_receive_header did this.)
Input Registers:
- HL = Address to load file to
- B = Bank to load file into
Output Registers :
- Zero Flag: If set, all OK
- IX = location of serial file header
If Zero Flag is NOT set, A = error code:
- $08 - memory address out of range
- $0f - checksum bad
- $14 - time out error