mov ah, 54h ;Get Verify State
int 21h
mov VerifyFlag, al ;00h = off, 01h = on
Get Verify State (Function 54h) returns the state of the MS-DOS verify flag.
This function has no parameters.
The AL register contains the state of the verify flag. If this value is 00h, MS-DOS does not verify write operations. If the value is 01h, MS-DOS does verify write operations.
The write-verify flag is normally off. A program can change this state by using Reset/Set Verify Flag (Function 2Eh); a user can change the state by using the verify command.
Function 2Eh Reset/Set Verify Flag