summaryrefslogtreecommitdiff
path: root/v4.0/src/INC/PDB.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/INC/PDB.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/INC/PDB.INC')
-rw-r--r--v4.0/src/INC/PDB.INC51
1 files changed, 51 insertions, 0 deletions
diff --git a/v4.0/src/INC/PDB.INC b/v4.0/src/INC/PDB.INC
new file mode 100644
index 0000000..41fbd90
--- /dev/null
+++ b/v4.0/src/INC/PDB.INC
@@ -0,0 +1,51 @@
1; SCCSID = @(#)pdb.asm 1.1 85/04/10
2BREAK <Process data block>
3
4;
5; Process data block (otherwise known as program header)
6;
7
8FilPerProc EQU 20
9
10Process_data_block STRUC
11PDB_Exit_Call DW ? ; INT int_abort system terminate
12PDB_block_len DW ? ; size of execution block
13 DB ?
14PDB_CPM_Call DB 5 DUP (?) ; ancient call to system
15PDB_Exit DD ? ; pointer to exit routine
16PDB_Ctrl_C DD ? ; pointer to ^C routine
17PDB_Fatal_abort DD ? ; pointer to fatal error
18;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
19; C A V E A T P R O G R A M M E R ;
20; ;
21PDB_Parent_PID DW ? ; PID of parent (terminate PID)
22PDB_JFN_Table DB FilPerProc DUP (?)
23 ; indices into system table
24; ;
25; C A V E A T P R O G R A M M E R ;
26;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
27PDB_environ DW ? ; seg addr of environment
28;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
29; C A V E A T P R O G R A M M E R ;
30; ;
31PDB_User_stack DD ? ; stack of self during system calls
32PDB_JFN_Length DW ? ; number of handles allowed
33PDB_JFN_Pointer DD ? ; pointer to JFN table
34PDB_Next_PDB DD ? ; pointer to nested PDB's
35PDB_PAD1 DB 14h DUP (?)
36; ;
37; C A V E A T P R O G R A M M E R ;
38;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
39PDB_Call_system DB 5 DUP (?) ; portable method of system call
40;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
41; C A V E A T P R O G R A M M E R ;
42; ;
43PDB_PAD2 DB 7h DUP (?)
44; ;
45; C A V E A T P R O G R A M M E R ;
46;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
47Process_data_block ENDS
48
49PDB_InterCon EQU BYTE PTR PDB_PAD1 ; 2/12/KK
50PDB_Append EQU BYTE PTR PDB_PAD1+1 ; 2/12/KK
51 \ No newline at end of file