]> wirehaze git hosting - MS-DOS.git/blob - v4.0/src/CMD/MODE/MODEMES.ASM

wirehaze git hosting

MZ is back!
[MS-DOS.git] / v4.0 / src / CMD / MODE / MODEMES.ASM
1 PAGE ,132 ;\ f
2 TITLE MODEMES - MESSAGES DISPLAYED ON CONSOLE BY MODE
3
4 ;ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ P R O L O G ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
5 ;º º
6
7 ; AC001 - P3976: Need to have all pieces of messages in MODE.SKL so have to
8 ; implement the SYSGETMSG method of getting addressability to
9 ; the pieces. This means that the code does a SYSGETMSG call
10 ; which returns a pointer (DS:SI) to the message piece. The
11 ; address is then put in the sublist block for the message
12 ; being issued.
13
14 ;º º
15 ;ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ P R O L O G ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
16
17 PRINTF_CODE SEGMENT PUBLIC
18 ASSUME CS:PRINTF_CODE,DS:PRINTF_CODE
19 ;
20 CR EQU 13 ;CARRIAGE RETURN
21 LF EQU 10 ;LINE FEED
22 BEEP EQU 7 ;AUDIBLE TONE
23 EOM EQU 0 ;NULL TERMINATOR, REQUIRED BY PRINTF
24
25 IF1
26 %OUT including MODESUBS.INC
27 %OUT including MODEDEFS.INC
28 ENDIF
29 INCLUDE MODESUBS.INC
30 INCLUDE MODEDEFS.INC
31
32 ;
33 PUBLIC first_sublist
34 PUBLIC number_of_sublists
35
36 PUBLIC MOVED_MSG, ERR1, ERR2, PT80, PT80N, PT132, PT132N
37 PUBLIC PTLINES, RATEMSG, INITMSG, REDIRMSG, SHIFT_MSG, sublist_shift_msg
38 PUBLIC NOTREMSG, RETPARTO, sublist_retparto, CANT_SHIFT, sublist_cant_shift
39 PUBLIC NUMBERS, ;AC001;INF_OR_NO_ptr
40 PUBLIC Invalid_number_of_parameters, COM1_or_COM2, net_error
41 PUBLIC Invalid_parameter, not_supported, offending_parameter
42 PUBLIC offending_parameter_ptr
43 PUBLIC INITMSG, device,pbaud,pparity,pdata,pstop,pparm,pbaud,baud_19200
44 PUBLIC pstop_ptr
45 PUBLIC pparity_ptr
46 PUBLIC CPMSG1
47 PUBLIC CPMSG2,CPMSGLST2DEV
48 PUBLIC CPMSG3
49 PUBLIC CPMSG4
50 PUBLIC CPMSG5
51 PUBLIC CPMSG6,CPMSGLST6CP,CPMSGLST6DEV
52 PUBLIC CPMSG7,CPMSGLST7DEV
53 ;AC001; PUBLIC CPMSGLST8HD
54 PUBLIC sublist_cpmsg8
55 PUBLIC CPMSG8
56 PUBLIC CPMSG8_HW
57 ;AC001; PUBLIC CPMSG8_PR
58 PUBLIC CPMSG9,CPMSGLST9CP
59 PUBLIC CPMSG10
60 PUBLIC sublist_cpmsg10
61 ;AC001; PUBLIC CPMSGLST10FUN
62 ;AC001; PUBLIC CPMSG10_QUERY
63 ;AC001; PUBLIC CPMSG10_DES
64 ;AC001; PUBLIC CPMSG10_REFRESH
65 ;AC001; PUBLIC CPMSG10_SELECT
66 ;AC001; PUBLIC CPMSG10_GLOBAL
67 PUBLIC CPMSG12
68 PUBLIC CPMSG13
69 PUBLIC CPMSGLST13CP
70 PUBLIC CPMSGLST13TYP
71 ;AC001; PUBLIC CPMSG13_ACT
72 ;AC001; PUBLIC CPMSG13_SYS
73 PUBLIC CPMSG14
74 PUBLIC CPMSG15
75 PUBLIC CPMSG16
76 PUBLIC CPMSG17
77 PUBLIC sublist_CPMSG17
78 ;AC001; PUBLIC CPMSGLST17FUN
79 ;AC001; PUBLIC CPMSG17_QUERY
80 ;AC001; PUBLIC CPMSG17_PREP
81 ;AC001; PUBLIC CPMSG17_REFRESH
82 ;AC001; PUBLIC CPMSG17_ACT
83 ;AC001; PUBLIC CPMSG17_WRIT
84 PUBLIC CPMSG18
85 PUBLIC CPMSG19
86 PUBLIC CPMSG20
87 PUBLIC CPMSG21
88 PUBLIC dev_name_size ;used by invoke for msg srv
89 PUBLIC stat_dev_ptr ;used by invoke for msg srv
90 PUBLIC long_underline ;used by invoke for msg srv
91 PUBLIC five_char_underline ;used by invoke for msg srv
92 PUBLIC four_char_underline ;used by invoke for msg srv
93 PUBLIC row_ptr
94 PUBLIC status_for_device
95 PUBLIC notredpt
96 ;AC001; PUBLIC noretry
97 ;AC001; PUBLIC LEFT
98 ;AC001; PUBLIC RIGHT
99 PUBLIC row_type
100 PUBLIC lines_equal_msg ;used by analyze_and_invoke, "LINES=%1" definition
101 PUBLIC redcom
102 ;AC001; PUBLIC rightmost
103 ;AC001; PUBLIC leftmost
104 ;AC001; PUBLIC infinite
105 PUBLIC REDPT
106 PUBLIC PBAUD_PTR
107 ; PUBLIC BLINK_type
108 PUBLIC COLUMNS_ptr
109 PUBLIC COLUMNS_equal_msg
110 PUBLIC columns_type
111 PUBLIC delay_type
112 PUBLIC delay_ptr
113 PUBLIC rate_ptr
114 PUBLIC rate_type
115 PUBLIC function_not_supported
116 PUBLIC Required_font_not_loaded
117 PUBLIC ANSI_not_loaded
118 PUBLIC Baud_rate_required
119 PUBLIC RETRY_type_ptr
120 PUBLIC RETRY_equal
121 PUBLIC Baud_rate_required
122 PUBLIC not_supported_ptr
123 PUBLIC Illegal_device_ptr
124 PUBLIC syntax_error
125 PUBLIC syntax_error_ptr
126 PUBLIC rate_and_delay_together
127 PUBLIC CRLF
128 PUBLIC Invalid_switch
129 PUBLIC rightmost
130 PUBLIC leftmost
131 PUBLIC noretry
132 PUBLIC infinite
133 PUBLIC left
134 PUBLIC right
135 PUBLIC cpmsg8_pr
136 PUBLIC cpmsgxx_query
137 PUBLIC cpmsgxx_prep
138 PUBLIC cpmsgxx_select
139 PUBLIC cpmsgxx_refresh
140 PUBLIC cpmsg17_writ
141 PUBLIC cpmsg13_act
142 PUBLIC cpmsg13_sys
143
144 PRINTF_CODE ENDS
145 END