Subversion Repositories SvarDOS

Rev

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

Rev 517 Rev 519
Line 155... Line 155...
155
    /* redirect the stdout handle */
155
    /* redirect the stdout handle */
156
    mov bx, [oldstdout] /* dst handle */
156
    mov bx, [oldstdout] /* dst handle */
157
    mov cx, 1           /* src handle (1=stdout) */
157
    mov cx, 1           /* src handle (1=stdout) */
158
    mov ah, 0x46        /* redirect a handle */
158
    mov ah, 0x46        /* redirect a handle */
159
    int 0x21
159
    int 0x21
-
 
160
    /* close old handle (in bx already) */
-
 
161
    mov ah, 0x3e
-
 
162
    int 0x21
160
    mov [oldstdout], 0xffff
163
    mov [oldstdout], 0xffff
161
    DONE:
164
    DONE:
162
  }
165
  }
163
}
166
}