]> wirehaze git hosting - MS-DOS.git/blob - v4.0/src/INC/MSHEAD.ASM

wirehaze git hosting

MZ is back!
[MS-DOS.git] / v4.0 / src / INC / MSHEAD.ASM
1 ; SCCSID = @(#)mshead.asm 1.1 85/04/10
2 ; TITLE MSHEAD.ASM -- MS-DOS DEFINITIONS
3 PAGE
4 ; MS-DOS High-performance operating system for the 8086 version 1.28
5 ; by Microsoft MSDOS development group:
6 ; TP (Ret.)
7 ; AR
8 ; NP (Parenting)
9 ; MZ
10 ; CP (BIOS) (ret.)
11
12 ; ****************** Revision History *************************
13 ; >> EVERY change must noted below!! <<
14 ;
15 ; 0.34 12/29/80 General release, updating all past customers
16 ; 0.42 02/25/81 32-byte directory entries added
17 ; 0.56 03/23/81 Variable record and sector sizes
18 ; 0.60 03/27/81 Ctrl-C exit changes, including register save on user stack
19 ; 0.74 04/15/81 Recognize I/O devices with file names
20 ; 0.75 04/17/81 Improve and correct buffer handling
21 ; 0.76 04/23/81 Correct directory size when not 2^N entries
22 ; 0.80 04/27/81 Add console input without echo, Functions 7 & 8
23 ; 1.00 04/28/81 Renumber for general release
24 ; 1.01 05/12/81 Fix bug in `STORE'
25 ; 1.10 07/21/81 Fatal error trapping, NUL device, hidden files, date & time,
26 ; RENAME fix, general cleanup
27 ; 1.11 09/03/81 Don't set CURRENT BLOCK to 0 on open; fix SET FILE SIZE
28 ; 1.12 10/09/81 Zero high half of CURRENT BLOCK after all (CP/M programs don't)
29 ; 1.13 10/29/81 Fix classic "no write-through" error in buffer handling
30 ; 1.20 12/31/81 Add time to FCB; separate FAT from DPT; Kill SMALLDIR; Add
31 ; FLUSH and MAPDEV calls; allow disk mapping in DSKCHG; Lots
32 ; of smaller improvements
33 ; 1.21 01/06/82 HIGHMEM switch to run DOS in high memory
34 ; 1.22 01/12/82 Add VERIFY system call to enable/disable verify after write
35 ; 1.23 02/11/82 Add defaulting to parser; use variable escape character Don't
36 ; zero extent field in IBM version (back to 1.01!)
37 ; 1.24 03/01/82 Restore fcn. 27 to 1.0 level; add fcn. 28
38 ; 1.25 03/03/82 Put marker (00) at end of directory to speed searches
39 ; 1.26 03/03/82 Directory buffers searched as a circular queue, current buffer
40 ; is searched first when possible to minimize I/O
41 ; 03/03/82 STORE routine optimized to tack on partial sector tail as
42 ; full sector write when file is growing
43 ; 03/09/82 Multiple I/O buffers
44 ; 03/29/82 Two bugs: Delete all case resets search to start at beginning
45 ; of directory (infinite loop possible otherwise), DSKRESET
46 ; must invalidate all buffers (disk and directory).
47 ; 1.27 03/31/82 Installable device drivers
48 ; Function call 47 - Get pointer to device table list
49 ; Function call 48 - Assign CON AUX LIST
50 ; 04/01/82 Spooler interrupt (INT 28) added.
51 ; 1.28 04/15/82 DOS retructured to use ASSUMEs and PROC labels around system
52 ; call entries. Most CS relative references changed to SS
53 ; relative with an eye toward putting a portion of the DOS in
54 ; ROM. DOS source also broken into header, data and code pieces
55 ; 04/15/82 GETDMA and GETVECT calls added as 24 and 32. These calls
56 ; return the current values.
57 ; 04/15/82 INDOS flag implemented for interrupt processing along with
58 ; call to return flag location (call 29)
59 ; 04/15/82 Volume ID attribute added
60 ; 04/17/82 Changed ABORT return to user to a long ret from a long jump to
61 ; avoid a CS relative reference.
62 ; 04/17/82 Put call to STATCHK in dispatcher to catch ^C more often
63 ; 04/20/82 Added INT int_upooler into loop ^S wait
64 ; 04/22/82 Dynamic disk I/O buffer allocation and call to manage them
65 ; call 49.
66 ; 04/23/82 Added GETDSKPTDL as call 50, similar to GETFATPT(DL), returns
67 ; address of DPB
68 ; 04/29/82 Mod to WRTDEV to look for ^C or ^S at console input when
69 ; writting to console device via file I/O. Added a console
70 ; output attribute to devices.
71 ; 04/30/82 Call to en/dis able ^C check in dispatcher Call 51
72 ; 04/30/82 Code to allow assignment of func 1-12 to disk files as well
73 ; as devices.... pipes, redirection now possible
74 ; 04/30/82 Expanded GETLIST call to 2.0 standard
75 ; 05/04/82 Change to INT int_fatal_abort callout int HARDERR. DOS SS
76 ; (data segment) stashed in ES, INT int_fatal_abort routines must
77 ; preserve ES. This mod so HARDERR can be ROMed.
78 ; 1.29 06/01/82 Installable block and character devices as per 2.0 spec
79 ; 06/04/82 Fixed Bug in CLOSE regarding call to CHKFATWRT. It got left
80 ; out back about 1.27 or so (oops). ARR
81 ; 1.30 06/07/82 Directory sector buffering added to main DOS buffer queue
82 ; 1.40 06/15/82 Tree structured directories. XENIX Path Parser MKDIR CHDIR
83 ; RMDIR Xenix calls
84 ; 1.41 06/13/82 Made GETBUFFR call PLACEBUF
85 ; 1.50 06/17/82 FATs cached in buffer pool, get FAT pointer calls disappear
86 ; Frees up lots of memory.
87 ; 1.51 06/24/82 BREAKDOWN Revised to do EXACT one sector read/write through
88 ; system buffers
89 ; 1.52 06/30/82 OPEN, CLOSE, READ, WRITE, DUP, DUP2, LSEEK implemented
90 ; 1.53 07/01/82 OPEN CLOSE mod for Xenix calls, saves and gets remote dir
91 ; 1.54 07/11/82 Function calls 1-12 make use of new 2.0 PDB. Init code
92 ; changed to set file handle environment.
93 ; 2.00 08/01/82 Number for IBM release
94 ; 01/19/83 No environ bug in EXEC
95 ; 01/19/83 MS-DOS OEM INT 21 extensions (SET_OEM_HANDLER)
96 ; 01/19/83 Performance bug fix in cooked write to NUL
97 ; 01/27/83 Growcnt fixed for 32-bits
98 ; 01/27/83 Find-first problem after create
99 ; 2.01 02/17/83 International DOS
100 ; 2.10 03/09/83 Start of NETWORK support
101 ; New Buffer structure
102 ; New Sytem file table structure
103 ; FCB moved to internal representation
104 ; DOS re-organized
105 ; 2.11 04/21/83 Continuation of 2.10, preliminary Network
106 ; device interface.
107 ; 2.50 09/12/83 More network stuff
108 ;
109 ; *************************************************************
110
111 INCLUDE DOSSYM.INC
112 INCLUDE DEVSYM.INC
113
114 Break <SEGMENT DECLARATIONS>
115
116 ; The following are all of the segments used. They are declared in the order
117 ; that they should be placed in the executable
118
119 ;
120 ; segment ordering for MSDOS
121 ;
122
123 include dosseg.asm
124
125 AsmVar <Installed>
126
127 START SEGMENT BYTE PUBLIC 'START'
128 ASSUME CS:DOSGROUP,DS:NOTHING,ES:NOTHING,SS:NOTHING
129 JMP near ptr DOSINIT
130 START ENDS
131
132 LAST SEGMENT PARA PUBLIC 'LAST'
133 Extrn DOSINIT:NEAR
134 LAST ENDS