summaryrefslogtreecommitdiff
path: root/v4.0/src/CMD/LABEL/LABELM.ASM
diff options
context:
space:
mode:
Diffstat (limited to 'v4.0/src/CMD/LABEL/LABELM.ASM')
-rw-r--r--v4.0/src/CMD/LABEL/LABELM.ASM92
1 files changed, 92 insertions, 0 deletions
diff --git a/v4.0/src/CMD/LABEL/LABELM.ASM b/v4.0/src/CMD/LABEL/LABELM.ASM
new file mode 100644
index 0000000..abd48cc
--- /dev/null
+++ b/v4.0/src/CMD/LABEL/LABELM.ASM
@@ -0,0 +1,92 @@
1 PAGE ,132 ;
2 TITLE LABELM.SAL - MESSAGE HANDLER FOR LABEL UTILITY
3;*****************************************************************************
4;* *
5;* MODULE NAME: LABELM.SAL *
6;* *
7;* DESCRIPTIVE NAME: Include the DOS system MESSAGE HANDLER in the SEGMENT *
8;* configuration expected by the modules of LABEL. *
9;* *
10;* FUNCTION: The common code of the DOS SYSTEM MESSAGE HANDLER is *
11;* made a part of the LABEL module by using INCLUDE to *
12;* bring in the common portion, in SYSMSG.INC. This *
13;* included code contains the routines to initialize for *
14;* message services, to find where a particular message *
15;* is, and to display a message. *
16;* *
17;* ENTRY POINT: SYSDISPMSG:near *
18;* SYSLOADMSG:near *
19;* *
20;* INPUT: ax = message number *
21;* bx = handle to display to *
22;* cx = number of %parms, 0 if none *
23;* dx = class in high byte, input function in low *
24;* si = offset in es: of sublist, or 0 if none *
25;* *
26;* EXIT-NORMAL: CARRY is not set *
27;* *
28;* EXIT-ERROR: CARRY is set *
29;* Call SYSDISPMSG *
30;* *
31;* INTERNAL REFERENCES: *
32;* Routines: SYSDISPMSG (generated by MSG_SERVICES macro) *
33;* SYSLOADMSG " " " " *
34;* Data Areas: INCLUDE SYSMSG.INC (permit Sys Msg handler definition) *
35;* *
36;* EXTERNAL REFERENCES: *
37;* Routines: None *
38;* Data Areas: Control blocks pointed to by input registers *
39;* *
40;* NOTES: This module should be processed with the SALUT pre-processor *
41;* with the re-alignment not requested, as: *
42;* *
43;* SALUT LABELM,NUL *
44;* *
45;* To assemble these modules, the sequential or alphabetical *
46;* ordering of segments may be used. *
47;* *
48;* Sample LINK command: *
49;* *
50;* LINK @LABEL.ARF *
51;* *
52;* Where the LABEL.ARF is defined as: *
53;* *
54;* LABEL+ *
55;* LABELM *
56;* *
57;* These modules should be linked in this order. The load module is *
58;* a COM file. It should be converted via EXE2BIN to a .COM file. *
59;* *
60;* REVISION HISTORY: *
61;* *
62;* Prolog edited 04/88 S. Maes *
63;* *
64;*****************************************************************************
65IF1
66 %OUT COMPONENT=LABEL MODULE=LABELM.SAL
67 %OUT INCLUDING SYSMSG.INC
68ENDIF
69 INCLUDE sysmsg.inc
70 MSG_UTILNAME <LABL>
71
72CSEG segment public
73 assume cs:CSEG,ds:CSEG
74 assume es:CSEG,ss:CSEG
75
76 PUBLIC SYSDISPMSG,SYSLOADMSG
77
78 MSG_SERVICES <MSGDATA>
79 MSG_SERVICES <LABL.CLA,LABL.CL1,LABL.CL2> ;AN000;M Support Utility msgs
80 ;DEFAULT=CHECK DOS VERSION
81 ;DEFAULT=NEARmsg
82 ;DEFAULT=INPUTmsg
83 ;DEFAULT=NO TIMEmsg
84 ;DEFAULT=NO DATEmsg
85 ;DEFAULT=NO GETmsg
86 MSG_SERVICES <NEARmsg,DISPLAYmsg,CHARmsg,NUMmsg,INPUTmsg,LOADmsg>
87CSEG ENDS ;AN000;M Access to svcs macro
88
89 include msgdcl.inc
90
91 END
92 \ No newline at end of file