login | register
Fri 18 of May, 2012 (01:29 UTC)

V6Z80P Documentation

Similar PagesHistorys5 slideshowPrint

kjt_serial_receive_header

Created by: phil, Last modification: Thu 11 of Mar, 2010 (13:36 UTC)

kjt_serial_receive_header

Action:

Waits for a file header from serial port (Serial Link App format).

  • IMPORTANT: This routine was changed in FLOS v561 - it no longer sets the load position, kjt_serial_receive_file now does that function.

Input Registers

  • HL = Location of filename
  • A = Time allowed in seconds before give up waiting

Output Registers :

  • Zero Flag: If set, all OK
  • IX = location of serial file header (details below)

If Zero Flag is NOT set, A = error code:

  • $0f - checksum bad
  • $11 - header reception error
  • $14 - time out error
  • $25 - filename mismatch

Notes: Filename can be * if any file is to be accepted.

Search


Last modif pages