Assembly Language Help (alang.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 03h
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   15h     Function:   03h
 
  Title:       Write Cassette
 
  Description:                                                      [PC]
 
     Writes one or more 256-byte blocks of data from memory to the
     cassette tape drive. This function is available only on the PC
     and the PCjr. It is not supported on the PC/XT and all subsequent
     models.
 
     Input                                Output
 
     AH = 03h                             If function successful
     CX = Number of bytes to write          Carry flag: clear
     ES:BX = segment:offset of buffer       CX = 00h
                                            ES:BX = segment:offset + 1 of
                                                    last byte written
 
                                          If function unsuccessful
                                            Carry flag: set
                                            AH = Status
                                               = 80h (if invalid command)
                                               = 86h (if cassette not
                                                     present)
                                    -♦-