]>
wirehaze git hosting - MS-DOS.git/blob - v4.0/src/CMD/LABEL/LABELM.ASM
2 TITLE LABELM
.SAL - MESSAGE HANDLER FOR
LABEL UTILITY
3 ;*****************************************************************************
5 ;* MODULE NAME: LABELM.SAL *
7 ;* DESCRIPTIVE NAME: Include the DOS system MESSAGE HANDLER in the SEGMENT *
8 ;* configuration expected by the modules of LABEL. *
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. *
17 ;* ENTRY POINT: SYSDISPMSG:near *
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 *
26 ;* EXIT-NORMAL: CARRY is not set *
28 ;* EXIT-ERROR: CARRY is set *
31 ;* INTERNAL REFERENCES: *
32 ;* Routines: SYSDISPMSG (generated by MSG_SERVICES macro) *
33 ;* SYSLOADMSG " " " " *
34 ;* Data Areas: INCLUDE SYSMSG.INC (permit Sys Msg handler definition) *
36 ;* EXTERNAL REFERENCES: *
38 ;* Data Areas: Control blocks pointed to by input registers *
40 ;* NOTES: This module should be processed with the SALUT pre-processor *
41 ;* with the re-alignment not requested, as: *
45 ;* To assemble these modules, the sequential or alphabetical *
46 ;* ordering of segments may be used. *
48 ;* Sample LINK command: *
52 ;* Where the LABEL.ARF is defined as: *
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. *
60 ;* REVISION HISTORY: *
62 ;* Prolog edited 04/88 S. Maes *
64 ;*****************************************************************************
66 %
OUT COMPONENT
=LABEL MODULE
=LABELM
.SAL
67 %
OUT INCLUDING SYSMSG
.INC
73 assume
cs:CSEG
,ds:CSEG
74 assume
es:CSEG
,ss:CSEG
76 PUBLIC SYSDISPMSG
,SYSLOADMSG
78 MSG_SERVICES
<MSGDATA
>
79 MSG_SERVICES
<LABL
.CLA
,LABL
.CL1
,LABL
.CL2
> ;AN000;M Support Utility msgs
80 ;DEFAULT=CHECK DOS VERSION
86 MSG_SERVICES
<NEARmsg
,DISPLAYmsg
,CHARmsg
,NUMmsg
,INPUTmsg
,LOADmsg
>
87 CSEG ENDS
;AN000;M Access to svcs macro