Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | |||
back2root:ibm-pc-ms-dos:hardware:informations:program_segment_prefix [2023/01/16 17:54] – créée - modification externe 127.0.0.1 | back2root:ibm-pc-ms-dos:hardware:informations:program_segment_prefix [2024/08/13 11:26] (Version actuelle) – [PSP - DOS Program Segment Prefix Layout] frater | ||
---|---|---|---|
Ligne 5: | Ligne 5: | ||
{{tablelayout? | {{tablelayout? | ||
^ Offset | ^ Offset | ||
- | | 00 | word | CP/M like exit code, always contains machine code [[back2root: | + | | 00 | word | CP/M like exit code, always contains machine code [[back2root: |
| 02 | word | top of memory in segment (paragraph) form | | | 02 | word | top of memory in segment (paragraph) form | | ||
| 04 | byte | reserved for DOS, usually 0 | | | 04 | byte | reserved for DOS, usually 0 | | ||
| 05 | 5 bytes | machine code instruction long call to the DOS function dispatcher (obsolete CP/M) | | | 05 | 5 bytes | machine code instruction long call to the DOS function dispatcher (obsolete CP/M) | | ||
| 06 | word | .COM programs bytes available in segment (CP/ | | 06 | word | .COM programs bytes available in segment (CP/ | ||
- | | 0A | dword | [[back2root: | + | | 0A | dword | [[back2root: |
- | | 0E | dword | [[back2root: | + | | 0E | dword | [[back2root: |
- | | 12 | dword | [[back2root: | + | | 12 | dword | [[back2root: |
| 16 | word | parent process segment addr (Undoc. DOS 2.x+) COMMAND.COM has a parent id of zero, or its own PSP | | | 16 | word | parent process segment addr (Undoc. DOS 2.x+) COMMAND.COM has a parent id of zero, or its own PSP | | ||
| 18 | 20 bytes | file handle array (Undocumented DOS 2.x+); if handle array element is FF then handle is available. Network redirectors often indicate remotes files by setting these to values between 80-FE. | | 18 | 20 bytes | file handle array (Undocumented DOS 2.x+); if handle array element is FF then handle is available. Network redirectors often indicate remotes files by setting these to values between 80-FE. |