summaryrefslogtreecommitdiff
path: root/v4.0/src/MAPPER/QVERIFY.ASM
diff options
context:
space:
mode:
Diffstat (limited to 'v4.0/src/MAPPER/QVERIFY.ASM')
-rw-r--r--v4.0/src/MAPPER/QVERIFY.ASM54
1 files changed, 54 insertions, 0 deletions
diff --git a/v4.0/src/MAPPER/QVERIFY.ASM b/v4.0/src/MAPPER/QVERIFY.ASM
new file mode 100644
index 0000000..4ebd154
--- /dev/null
+++ b/v4.0/src/MAPPER/QVERIFY.ASM
@@ -0,0 +1,54 @@
1;
2page 80,132
3;
4title CP/DOS DosQVerify mapper
5;
6dosxxx segment byte public 'dos'
7 assume cs:dosxxx,ds:nothing,es:nothing,ss:nothing
8;
9;**********************************************************************
10;*
11;* MODULE: dosqverify Returns the value of the verify flag
12;*
13;* FILE NAME: dos041.asm
14;*
15;* CALLING SEQUENCE:
16;*
17;* push@ word verify setting
18;* call dosqverify
19;*
20;* MODULES CALLED: PC-DOS Int 21h, ah=54h, get verify setting
21;*
22;*********************************************************************
23
24 public dosqverify
25 .sall
26 .xlist
27 include macros.inc
28 .list
29
30str struc
31old_bp dw ?
32return dd ?
33verify dd ? ; return data area pointer
34str ends
35
36dosqverify proc far
37 Enter dosqverify ; save registers
38
39 mov ah,54h
40 int 21h ; get verify flag setting
41
42 lds si,[bp].verify ; setup return data area
43 cbw ; fill word
44 mov word ptr [si],ax ; save verify flag setting
45 sub ax,ax ; set good return code
46
47exit: Mexit ; pop registers
48 ret size str - 6 ; return
49
50dosqverify endp
51
52dosxxx ends
53
54 end