en:docs:bios:api:int15:02

Note: This IBM PC BIOS API call is for DOS/Win16 personality only. Use Family API for portability.

Note: osFree Macro Library provides macros for most of functions

2022/03/13 05:41 · prokushev · 0 Comments

Int 15H, AH=02H

Version

IBM 5150 and IBM 4860 only

Brief

Read block to buffer

Family API

none

Input

  • AH = 02h
  • CX = number of bytes to read
  • ES:BX → buffer

Return

  • CF clear if successful
    • DX = number of bytes read
    • ES:BX → byte following last byte read
  • CF set on error
    • AH = status (see #00409)

Macro

INCLUDE BIOS.INC
 
buf db 127 dup (?)
 
@TapeRead offset buf, 127

Notes

Note