Subversion Repositories SvarDOS

Rev

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

Rev 1847 Rev 1863
Line 180... Line 180...
180
    owner = MK_FP(envseg, 0);
180
    owner = MK_FP(envseg, 0);
181
    owner[0] = 0;
181
    owner[0] = 0;
182
    owner[1] = 0;
182
    owner[1] = 0;
183
  }
183
  }
184
 
184
 
185
  /* set CTRL+BREAK handler to rmod */
185
  /* set CTRL+BREAK and CRITERR handlers to rmod */
186
  _asm {
186
  _asm {
187
    push ax
187
    push ax
188
    push dx
188
    push dx
189
    push ds
189
    push ds
190
    mov ax, 0x2523
-
 
-
 
190
 
191
    mov ds, rmodseg
191
    mov ds, rmodseg
-
 
192
 
-
 
193
    mov ax, 0x2523
192
    mov dx, RMOD_OFFSET_BRKHANDLER
194
    mov dx, RMOD_OFFSET_BRKHANDLER
193
    int 0x21
195
    int 0x21
-
 
196
 
-
 
197
    mov ax, 0x2524
-
 
198
    mov dx, RMOD_OFFSET_CRITHANDLER
-
 
199
    int 0x21
-
 
200
 
194
    pop ds
201
    pop ds
195
    pop dx
202
    pop dx
196
    pop ax
203
    pop ax
197
  }
204
  }
198
 
205