summaryrefslogtreecommitdiff
path: root/v4.0/src/CMD/CHKDSK/CHKCHNG.INC
diff options
context:
space:
mode:
authorGravatar Mark Zbikowski2024-04-25 21:24:10 +0100
committerGravatar Microsoft Open Source2024-04-25 22:32:27 +0000
commit2d04cacc5322951f187bb17e017c12920ac8ebe2 (patch)
tree80ee017efa878dfd5344b44249e6a241f2a7f6e2 /v4.0/src/CMD/CHKDSK/CHKCHNG.INC
parentMerge pull request #430 from jpbaltazar/typoptbr (diff)
downloadms-dos-main.tar.gz
ms-dos-main.tar.xz
ms-dos-main.zip
MZ is back!HEADmain
Diffstat (limited to 'v4.0/src/CMD/CHKDSK/CHKCHNG.INC')
-rw-r--r--v4.0/src/CMD/CHKDSK/CHKCHNG.INC288
1 files changed, 288 insertions, 0 deletions
diff --git a/v4.0/src/CMD/CHKDSK/CHKCHNG.INC b/v4.0/src/CMD/CHKDSK/CHKCHNG.INC
new file mode 100644
index 0000000..46f7991
--- /dev/null
+++ b/v4.0/src/CMD/CHKDSK/CHKCHNG.INC
@@ -0,0 +1,288 @@
1.xlist
2;
3;
4
5; CHKDSK Version 2.0
6; Verifies and repairs MS-DOS disk directory.
7
8
9;REV 1.1 ARR
10; 05/21/82 Added rev number
11;REV 1.5 NP ARR
12; Mod by NANCYP to report on extents
13; Mod by AARONR to report volume ID
14;REV 2.0 ARR
15; Total rewrite for directories
16;REV 2.1 ARR
17; Added ^C and INT 24H handlers
18;REV 2.2 ARR
19; INTERNATIONAL support
20;REV 2.3 NP
21; Mod by NANCYP to use 2.0 system calls
22; and accept pathnames as parameters
23;REV 2.4 NP
24; PRINTF incorporated into CHKDSK
25; Modified to run as .EXE file
26;REV 3.0 ARR 8/30/83
27; Update for vers 2.5 of DOS
28; 16 bit FATS
29;REV 3.05 RS 10/11/84
30; Split into CHKDSK2.ASM for on-machine assembly.
31;REV 3.20 RS 9/26/85
32; Allow 0F0H as a valid DOS media descriptor byte - used for non-standard
33; media layouts.
34;
35;*****************************************************************************
36;* *
37;* Change list to CHKDSK modules *
38;* *
39;* Lines are tagged ANxxx for new, ACxxx for changed *
40;* --------------------------------------------------------------------------*
41;* 000 - DOS 4.00 Spec additions and DCR's thru unit/function test *
42;* Date: 8/3/87 Developer: MT *
43;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
44;* 001 - DOS 4.00 PTM P265 - Give 'Can't chkdsk subst drive" when running *
45;* hardfile. Using 1 based drive insted of 0 *
46;* Date: 8/17/87 Developer: Mark T. *
47;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
48;* 002 - DOS 4.00 PTM P251 - Hang when chkdsk default drive. Not setting up *
49;* drive fields correctly on default drive *
50;* Date: 8/14/87 Developer: Mark T. *
51;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
52;* *
53;* *
54;* *
55;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
56;* *
57;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
58;* 005 - DOS 4.00 DCR D166 - Enable 128k FAT *
59;* Date: 8/21/87 Developer: Bruce B. *
60;* general modifications are: reserve the rest of the program segment for the*
61;* stack, put the fat-table next after the end of the program seg, then *
62;* put the fatmap area next after the end of the fat-table. *
63;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
64;* 006 - DOS 4.00 ptm p097 - change calculation of total disk space *
65;* Date: 8/28/87 Developer: Bruce B. *
66;* modules - chkinit.sal, chkdsk2.sal *
67;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
68;* 007 - DOS 4.00 ptm p816 - files with length zero *
69;* Date: 8/21/87 Developer: Bruce B. *
70;* modules - chkproc.sal *
71;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
72;* 008 - DOS 4.00 ptm p872 - incorrect media size reported *
73;* Date: 9/10/87 Developer: Bruce B. *
74;* modules - chkinit.sal *
75;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
76;* 009 - DOS 4.00 ptm p1151- incorrect date and time *
77;* Date: 9/10/87 Developer: Bruce B. *
78;* modules - chkdsk1.sal *
79;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
80;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
81;* 010 - DOS 4.00 ptm p1158- incorrect disk size when disk is full *
82;* Date: 9/10/87 Developer: Bruce B. *
83;* modules - chkfat.sal *
84;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
85;* 011 - DOS 4.00 ptm p817 - cant check files *
86;* Date: 9/24/87 Developer: Bruce B. *
87;* modules - chkdsk1.sal *
88;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
89;* 012 - DOS 4.00 ptm p1223- month and day reversed *
90;* Date: 9/22/87 Developer: Bruce B. *
91;* modules - chkdsk1.sal *
92;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
93;* 013 - DOS 4.00 ptm p1238- not detect filesize <> number of clusters *
94;* Date: 9/25/87 Developer: Bruce B. *
95;* modules - chkproc.sal, chkdisk.sal *
96;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
97;* - DOS 4.00 ptm p1239- hangs when file has invalid ??? *
98;* Date: 9/25/87 Developer: Bruce B. *
99;* modules - chkproc.sal, chkdisk.sal *
100;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
101;* 014 - DOS 4.00 ptm p1240- not detect crosslinked files *
102;* Date: 9/25/87 Developer: Bruce B. *
103;* modules - chkproc.sal, chkfat.sal *
104;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
105;* - DOS 4.00 ptm p1241- hangs when trying to fix lost subdir *
106;* Date: 9/25/87 Developer: Bruce B. *
107;* modules - chkproc.sal, chkfat.sal *
108;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
109;* - DOS 4.00 ptm p1242- hangs when lost subdir found *
110;* Date: 9/25/87 Developer: Bruce B. *
111;* modules - chkproc.sal, chkfat.sal *
112;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
113;* 015 - DOS 4.00 ptm p1176 - not working for vdisk drives *
114;* Date: 10/1/87 Developer: Bruce B. *
115;* modules - chkinit.sal *
116;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
117;* 016 - DOS 4.00 ptm p1436 - not working for full disk with system files *
118;* Date: 10/2/87 Developer: Bruce B. *
119;* modules - chkproc.sal *
120;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
121;* - DOS 4.00 ptm p1437 - not working on vdisk *
122;* Date: 10/2/87 Developer: Bruce B. *
123;* modules - chkproc.sal *
124;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
125;* - DOS 4.00 ptm p1447 - chkdsk filenam --> invalid drive spec *
126;* Date: 10/2/87 Developer: Bruce B. *
127;* modules - chkproc.sal *
128;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
129;* 017 - DOS 4.00 ptm p1491 - invalid use of common msgs *
130;* Date: 10/5/87 Developer: Bruce B. *
131;* modules - chkdsk.skl chkmsg.inc *
132;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
133;* 018 - DOS 4.00 ptm p1507 - 'non_dos' instead of 'non-dos' *
134;* Date: 10/6/87 Developer: Bruce B. *
135;* modules - chkdsk.skl *
136;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
137;* 019 - DOS 4.00 ptm p1506 - '0 bytes would be freed' *
138;* Date: 10/6/87 Developer: Bruce B. *
139;* modules - *
140;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
141;* 020 - DOS 4.00 ptm p1556 - chkdsk allows 2 positional or keyword parms *
142;* Date: 10/8/87 Developer: Bruce B. *
143;* modules - chkparse.inc *
144;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
145;* 021 - DOS 4.00 ptm p1557 - displays invalid drive spec twice *
146;* Date: 10/8/87 Developer: Bruce B. *
147;* modules - chkinit.sal *
148;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
149;* 022 - DOS 4.00 ptm p1558 - divide overflow on invalid drive *
150;* Date: 10/8/87 Developer: Bruce B. *
151;* modules - chkinit.sal *
152;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
153;* 023 - DOS 4.00 ptm p1559 - abnormal results when int13 is bad *
154;* Date: 10/8/87 Developer: Bruce B. *
155;* modules - *
156;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
157;* 024 - DOS 4.00 ptm p1606 - no display of volume serial number *
158;* Date: 10/12/87 Developer: Bruce B. *
159;* modules - chkdsk2.sal, chkmsg.inc *
160;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
161;* 025 - DOS 4.00 ptm p1761 - doesnt work on zerod out cluster for dir *
162;* Date: 10/17/87 Developer: Bruce B. *
163;* modules - chkproc.sal *
164;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
165;* 026 - DOS 4.00 ptm p1842 - chkdsk accepts 2 filespec parms *
166;* Date: 10/20/87 Developer: Bruce B. *
167;* modules - chkinit.sal, chkparse.inc *
168;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
169;* 027 - DOS 4.00 ptm p2007 - test case 7 - chkdsk a: /v (invalid subdirs) *
170;* Date: 10/24/87 Developer: Bruce B. *
171;* modules - chkproc.sal *
172;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
173;* 028 - DOS 4.00 ptm p2029 - chkdsk cant exec for afs *
174;* Date: 10/26/87 Developer: Bruce B. *
175;* modules - chkexec.sal *
176;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
177;* 029 - DOS 4.00 ptm p2104 - chkdsk goes to drive a: on ctl-break *
178;* Date: 10/29/87 Developer: Bruce B. *
179;* modules - chkfat.sal *
180;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
181;* 030 - DOS 4.00 ptm p2323 - low memory check, correct free memory report *
182;* Date: 11/04/87 Developer: Bruce B. *
183;* modules - chkfat.sal, chkdsk2.sal *
184;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
185;* 031 - DOS 4.00 ptm p2495 - incorrect message for drive not ready *
186;* Date: 11/17/87 Developer: Bruce B. *
187;* modules - chkinit.sal *
188;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
189;* 032 - DOS 4.00 ptm p2648 - unformatted disk displays "invalid device type" *
190;* Date: 11/24/87 Developer: Bruce B. *
191;* modules - chkinit.sal *
192;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
193;* 033 - DOS 4.00 ptm p2781 - divide overflow on unformatted diskette *
194;* Date: 12/07/87 Developer: Bruce B. *
195;* modules - chkinit.sal *
196;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
197;* 034 - DOS 4.00 ptm p2975 - get psp done three times *
198;* Date: 12/20/87 Developer: Bruce B. *
199;* modules - chkinit.sal, chkdsk1.sal *
200;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
201;* 035 - DOS 4.00 ptm p3007 - chkdsk reports incorrect memory *
202;* Date: 12/28/87 Developer: Bruce B. *
203;* modules - chkinit.sal, chkdsk1.sal *
204;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
205;* 036 - DOS 4.00 ptm p3028 - include pathgen into pgm *
206;* Date: 01/12/88 Developer: Bruce B. *
207;* modules - all *
208;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
209;* 037 - DOS 4.00 ptm p3129 - chkdsk fails to build *
210;* Date: 01/14/88 Developer: Bruce B. *
211;* modules - chkdisp.asm *
212;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
213;* 038 - DOS 4.00 ptm p3130 - remove AFS from code *
214;* Date: 01/14/88 Developer: Bruce B. *
215;* modules - chkinit.sal, chkequ.inc, chkexec.sal *
216;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
217;* 039 - DOS 4.00 ptm p3360 - correct addressing of ctl-break handling *
218;* Date: 02/05/88 Developer: Bruce B. *
219;* modules - chkproc2.sal *
220;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
221;* 040 - DOS 4.00 ptm p3573 - pathgen parser and msg ret. *
222;* Date: 02/19/88 Developer: Bruce B *
223;* modules - chkdisp.asm, chkparse.inc *
224;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
225;* 041 - DOS 4.00 dcr d490 - change get media id call for same as os/2 1.0 *
226;* Date: 02/26/88 Developer: Bruce B *
227;* modules - chkdata.inc, chkdsk1.sal *
228;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
229;* 042 - DOS 4.00 ptm p3735 - chkdsk prints files to stderr, not stdout *
230;* Date: 03/04/88 Developer: Bruce B *
231;* modules - chkmsg.inc *
232;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
233;* 043 - DOS 4.00 ptm p3708 - chkdsk prints wrong message for network drive *
234;* Date: 03/07/88 Developer: Bruce B *
235;* modules - chkinit.sal *
236;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
237;* 044 - DOS 4.00 ptm p3840 - wrong message for newtork filename *
238;* Date: 03/14/88 Developer: Bruce B *
239;* modules - chkinit.sal *
240;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
241;* 045 - DOS 4.00 ptm p3876 - hang when .. entry erased and /f parameter *
242;* Date: 03/15/88 Developer: Bruce B *
243;* modules - chkproc.sal, chkdsk2.sal, chkmsg.inc, chkfat.sal *
244;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
245;* 046 - DOS 4.00 ptm p3923?- display invalid parm names *
246;* Date: 03/21/88 Developer: Bruce B *
247;* modules - chkinit.sal, chkmsg.inc *
248;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
249;* 047 - private build only- display lost cluster number *
250;* Date: 03/24/88 Developer: Bruce B *
251;* modules - chkfat.sal *
252;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
253;* 048 - DOS 4.00 PTM p4050 - wont recover . and .. entries *
254;* Date: 04/12/88 Developer: Bruce B *
255;* modules - many *
256;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
257;* 049 - DOS 4.00 PTM p4125 - chkdsk prints incorrect user file bytes *
258;* Date: 04/13/88 Developer: Bruce B. *
259;* modules - many *
260;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
261;* 050 - DOS 4.00 PTM p4571 - chkdsk and mem report diff ram under Windows *
262;* Date: 05/02/88 Developer: Bruce B. *
263;* modules - chkdsk1.sal *
264;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
265;* 051 - DOS 4.00 PTM p4571 - chkdsk does not recover lost clusters into files*
266;* Date: 05/05/88 Developer: Bruce B. *
267;* modules - chkfat.sal *
268;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
269;* 052 - DOS 4.00 PTM p4869 - handle MS ramdrive.sys *
270;* Date: 05/16/88 Developer: Bruce B. *
271;* modules - chkinit.sal *
272;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
273;* 053 - DOS 4.00 PTM p4924 - oops! do it right this time.... *
274;* Date: 05/19/88 Developer: Bruce B. *
275;* modules - chkinit.sal *
276;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
277;* 054 - DOS 4.00 PTM p4957 - both chkdsk & mem do avail mem incorrectly *
278;* Date: 05/24/88 Developer: Bruce B. *
279;* modules - chkdsk1.sal *
280;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
281;* 055 - DOS 4.00 PTM p5007 - wont handle '\' as 2nd byte of dbcs pair *
282;* Date: 06/01/88 Developer: Bruce B *
283;* modules - chkdsk1.sal, chkinit.sal *
284;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
285;* *
286;*****************************************************************************
287;* Note: This is file CHKCHNG.INC for updating purposes *
288;*****************************************************************************