DOS 3.30 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
2.6 KiB

5 years ago
  1. ; SCCSID = @(#)pdb.asm 1.1 85/04/10
  2. BREAK <Process data block>
  3. ;
  4. ; Process data block (otherwise known as program header)
  5. ;
  6. FilPerProc EQU 20
  7. Process_data_block STRUC
  8. PDB_Exit_Call DW ? ; INT int_abort system terminate
  9. PDB_block_len DW ? ; size of execution block
  10. DB ?
  11. PDB_CPM_Call DB 5 DUP (?) ; ancient call to system
  12. PDB_Exit DD ? ; pointer to exit routine
  13. PDB_Ctrl_C DD ? ; pointer to ^C routine
  14. PDB_Fatal_abort DD ? ; pointer to fatal error
  15. ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
  16. ; C A V E A T P R O G R A M M E R ;
  17. ; ;
  18. PDB_Parent_PID DW ? ; PID of parent (terminate PID)
  19. PDB_JFN_Table DB FilPerProc DUP (?)
  20. ; indices into system table
  21. ; ;
  22. ; C A V E A T P R O G R A M M E R ;
  23. ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
  24. PDB_environ DW ? ; seg addr of environment
  25. ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
  26. ; C A V E A T P R O G R A M M E R ;
  27. ; ;
  28. PDB_User_stack DD ? ; stack of self during system calls
  29. PDB_JFN_Length DW ? ; number of handles allowed
  30. PDB_JFN_Pointer DD ? ; pointer to JFN table
  31. PDB_Next_PDB DD ? ; pointer to nested PDB's
  32. PDB_PAD1 DB 14h DUP (?)
  33. ; ;
  34. ; C A V E A T P R O G R A M M E R ;
  35. ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
  36. PDB_Call_system DB 5 DUP (?) ; portable method of system call
  37. ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
  38. ; C A V E A T P R O G R A M M E R ;
  39. ; ;
  40. PDB_PAD2 DB 7h DUP (?)
  41. ; ;
  42. ; C A V E A T P R O G R A M M E R ;
  43. ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
  44. Process_data_block ENDS