Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- DOS 5.0 Ref. - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

struc Load
 ldEnvironment  dw ?    ; Environment-block segment
 ldCommandTail  dd ?    ; Address of command tail
 ldFCB_1        dd ?    ; Address of default FCB #1
 ldFCB_2        dd ?    ; Address of default FCB #2
 ldCSIP         dd ?    ; Starting code address (filled by DOS)
 ldSSSP         dd ?    ; Starting stack address (filled by DOS)
ends                    ; = 22d bytes

;       ; ldEnvironment
;       if 0000h, parent's environment block is duplicated to child,
;       else segment of memory block containing child's environment.
;
;       ; ldCommandTail
;       Pointer to the command tail that DOS copies to the child
;       program's PSP, offset 0080h.
;       Any redirection of standard files must be accomplished by the
;       parent program. Including redirection characters (< > |) does
;       not redirect files.
;       Refer to PSP for format requirements.
;
;       ; ldFCB_1, ldFCB_2
;       Pointer to the 2 default FCBs that DOS copies to the child
;       program's PSP, offset 5Ch and 6Ch, respectively.
;
;       ; ldCSIP
;       32-bit address of the entry point of the loaded program.
;       
;       ; ldSSSP
;       32-bit address of the start of the stack for the loaded
;       program.

See Also: 4B01h PSP

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson