Skip to content

Commit

Permalink
update COMSPEC when user is asked for command processor
Browse files Browse the repository at this point in the history
  • Loading branch information
boeckmann committed Aug 11, 2024
1 parent 9806dd9 commit 281bf6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drbio/biosinit.asm
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,6 @@ dos_r50:
call config_start ; get free memory
call config ; read and process CONFIG.SYS
call config_end ; relocate DOS code and free memory
call add_comspec_to_env ; append COMSPEC to config environment

mov ax,(MS_X_OPEN*256)+2 ; Open for Write
mov dx,offset idle_dev ; Get the IDLE Device Name#
Expand Down Expand Up @@ -515,6 +514,7 @@ dos_r70:
push cs
pop es
load_e10:
call add_comspec_to_env ; append / update COMSPEC in config env
mov ax,(MS_X_EXEC * 256)+0 ; Exec the Command Processor
mov bx,offset exec_env ; Get the Parameter Block Address
mov dx,offset shell ; and the Command Processor
Expand Down

0 comments on commit 281bf6c

Please sign in to comment.