Subversion Repositories SvarDOS

Rev

Rev 1178 | Rev 1713 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1178 Rev 1593
Line 101... Line 101...
101
call REVERT_REDIR_IF_ANY
101
call REVERT_REDIR_IF_ANY
102
 
102
 
103
; redirect stdin and/or stdout if required
103
; redirect stdin and/or stdout if required
104
call REDIR_INOUTFILE_IF_REQUIRED
104
call REDIR_INOUTFILE_IF_REQUIRED
105
 
105
 
106
; should I executed command.com or a pre-set application?
106
; should I execute command.com or a pre-set application?
107
or [EXECPROG], byte 0
107
cmp [EXECPROG], byte 0
108
jz EXEC_COMMAND_COM
108
jz EXEC_COMMAND_COM
109
 
109
 
110
; TODO: perhaps I should call the DOS SetPSP function here? But if I do, the
110
; TODO: perhaps I should call the DOS SetPSP function here? But if I do, the
111
;       int 21h, ah=50h call freezes...
111
;       int 21h, ah=50h call freezes...
112
;mov ah, 0x50           ; DOS 2+ -- Set PSP
112
;mov ah, 0x50           ; DOS 2+ -- Set PSP