en:docs:dos:api:int21:5f:00

Note: This API call is for DOS personality only. Use Family API for portability.

2018/09/07 07:04 · prokushev

Int 21H, AH=5FH, AL=00H

Version

3.1 and higher

Brief

GET REDIRECTION MODE

Family API

Input

  AX = 5F00h
  BL = redirection type
    03h printer
    04h disk drive

Return

CF set on error
  AX = error code (see #01680 at AH=59h/BX=0000h)
CF clear if successful
  BH = redirection state
    00h off
    01h on

Macro

Notes

Calls INT 2F/AX=111Eh with AX on top of the stack

See also

AX=5F01h - INT 2F/AX=111Eh

Note


en/docs/dos/api/int21/5f/00.txt · Last modified: 2021/08/06 03:52 by prokushev