blob: c01206db93fb8839bc06f32b5d54b522031f0f20 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
;
;******************************************************************************
; Message Macro Definitions
;******************************************************************************
;
EXTRN Display_Interface:near
;-----------------------------------------------------------------------------
MESSAGE macro Message_Name ; ;AN000;
;
mov dx,offset Message_Name ; ;AN000;
call Display_Interface ; ;AN000;
;
endm ; ;AN000;
;
;*****************************************************************************
; General Macro's
;*****************************************************************************
;
Procedure macro Proc_Name
Public Proc_Name
Proc_Name proc
endm
;-----------------------------------------------------------------------------
DOS_Call macro Function
mov ah,Function
int 21h
endm
;-----------------------------------------------------------------------------
Parse_Message macro ;AN000;
push ds ;AN000;
mov dx,SEG parse_ptr ;AN000;
mov ds,dx ;AN000;
ASSUME DS:DATA ;AN000;
ASSUME ES:DATA ;AN000;
mov word ptr Parse_Error_Msg,ax ;AN000;
mov dx,offset Parse_Error_Msg ; ;AN000;
call Display_Interface ; ;AN000;
pop ds
endm ; ;AN000;
;-----------------------------------------------------------------------------
Extend_Message macro ; ;AN001;
;
push ds ;AN001;
mov dx,SEG parse_ptr ;AN001;
mov ds,dx ;AN001;
ASSUME DS:DATA ;AN001;
ASSUME ES:DATA ;AN001;
mov word ptr Extend_Error_Msg,ax ; ;AN001;
mov dx,offset Extend_Error_Msg ; ;AN001;
call Display_Interface ; ;AN001;
pop ds ;AN001;
endm ; ;AN001;
;-----------------------------------------------------------------------------
|