Subversion Repositories SvarDOS

Rev

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

Rev 1870 Rev 1871
Line 487... Line 487...
487
mov dx, [0x18]   ; original stdin and stdout (from the JFT)
487
mov dx, [0x18]   ; original stdin and stdout (from the JFT)
488
push dx
488
push dx
489
 
489
 
490
; overwrite the original process stdin and stdout with stderr, in case stdout
490
; overwrite the original process stdin and stdout with stderr, in case stdout
491
; or stdin was redirected.
491
; or stdin was redirected.
492
mov dl, [0x1f]   ; the process stderr (3rd entry of the JFT in original PSP)
492
mov dl, [0x1a]   ; the process stderr (3rd entry of the JFT in original PSP)
493
mov dh, dl
493
mov dh, dl
494
mov [0x18], dx
494
mov [0x18], dx
495
 
495
 
496
; set DS to myself so I can reach (and display) my messages
496
; set DS to myself so I can reach (and display) my messages
497
push cs
497
push cs