qa.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 15H Function 02H
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Read Cassette      [PC]
 
  Reads one or more 256-byte blocks of data from the cassette tape drive to
  memory.
 
  Input                                     Output
  ══════════════════════════════            ════════════════════════════════
  AH=02H                                    If function successful
  CX=number of bytes to read                Carry flag=clear
  ES:BX=segment:offset of buffer            DX=number of bytes actually read
                                            ES:BX=segment:offset + 1 of
                                                  last byte read
                                            If function unsuccessful
                                            Carry flag=set
                                            AH=status
                                               01H if CRC error
                                               02H if bit signals scrambled
                                               04H if no data found
                                               80H if invalid command
                                               86H if cassette not present
                                    -♦-