Int 21H [2.0] Function 54H (84) Get verify flag

Obtains the current value of the system verify (read-after-write) flag.

Call with:

AH = 54H

Returns:

AL = current verify flag value

00H if verify off

01H if verify on

Notes:

Because read-after-write verification slows disk operations, the default state of the system verify flag is OFF.

The state of the system verify flag can be changed through a call to Int 21H Function 2EH or by the MS-DOS commands VERIFY ON and VERIFY OFF.

Example:

Obtain the state of the system verify flag.

.

.

.

mov ah,54h ; function number

int 21h ; transfer to MS-DOS

cmp al,01h ; check verify state

je label1 ; jump if verify on

; else assume verify off

.

.

.