diff options
| author | 2024-04-25 21:24:10 +0100 | |
|---|---|---|
| committer | 2024-04-25 22:32:27 +0000 | |
| commit | 2d04cacc5322951f187bb17e017c12920ac8ebe2 (patch) | |
| tree | 80ee017efa878dfd5344b44249e6a241f2a7f6e2 /v4.0/src/INC/PDB.INC | |
| parent | Merge pull request #430 from jpbaltazar/typoptbr (diff) | |
| download | ms-dos-main.tar.gz ms-dos-main.tar.xz ms-dos-main.zip | |
Diffstat (limited to 'v4.0/src/INC/PDB.INC')
| -rw-r--r-- | v4.0/src/INC/PDB.INC | 51 |
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 | ||
| 2 | BREAK <Process data block> | ||
| 3 | |||
| 4 | ; | ||
| 5 | ; Process data block (otherwise known as program header) | ||
| 6 | ; | ||
| 7 | |||
| 8 | FilPerProc EQU 20 | ||
| 9 | |||
| 10 | Process_data_block STRUC | ||
| 11 | PDB_Exit_Call DW ? ; INT int_abort system terminate | ||
| 12 | PDB_block_len DW ? ; size of execution block | ||
| 13 | DB ? | ||
| 14 | PDB_CPM_Call DB 5 DUP (?) ; ancient call to system | ||
| 15 | PDB_Exit DD ? ; pointer to exit routine | ||
| 16 | PDB_Ctrl_C DD ? ; pointer to ^C routine | ||
| 17 | PDB_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 | ; ; | ||
| 21 | PDB_Parent_PID DW ? ; PID of parent (terminate PID) | ||
| 22 | PDB_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 | ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----; | ||
| 27 | PDB_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 | ; ; | ||
| 31 | PDB_User_stack DD ? ; stack of self during system calls | ||
| 32 | PDB_JFN_Length DW ? ; number of handles allowed | ||
| 33 | PDB_JFN_Pointer DD ? ; pointer to JFN table | ||
| 34 | PDB_Next_PDB DD ? ; pointer to nested PDB's | ||
| 35 | PDB_PAD1 DB 14h DUP (?) | ||
| 36 | ; ; | ||
| 37 | ; C A V E A T P R O G R A M M E R ; | ||
| 38 | ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----; | ||
| 39 | PDB_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 | ; ; | ||
| 43 | PDB_PAD2 DB 7h DUP (?) | ||
| 44 | ; ; | ||
| 45 | ; C A V E A T P R O G R A M M E R ; | ||
| 46 | ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----; | ||
| 47 | Process_data_block ENDS | ||
| 48 | |||
| 49 | PDB_InterCon EQU BYTE PTR PDB_PAD1 ; 2/12/KK | ||
| 50 | PDB_Append EQU BYTE PTR PDB_PAD1+1 ; 2/12/KK | ||
| 51 | \ No newline at end of file | ||