Subversion Repositories SvarDOS

Rev

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

Rev 479 Rev 537
Line 131... Line 131...
131
    owner = MK_FP(envseg, 0);
131
    owner = MK_FP(envseg, 0);
132
    owner[0] = 0;
132
    owner[0] = 0;
133
    owner[1] = 0;
133
    owner[1] = 0;
134
  }
134
  }
135
 
135
 
-
 
136
  /* set CTRL+BREAK handler to rmod */
-
 
137
  _asm {
-
 
138
    push ax
-
 
139
    push dx
-
 
140
    push ds
-
 
141
    mov ax, 0x2523
-
 
142
    mov ds, rmodseg
-
 
143
    mov dx, RMOD_OFFSET_BRKHANDLER
-
 
144
    int 0x21
-
 
145
    pop ds
-
 
146
    pop dx
-
 
147
    pop ax
-
 
148
  }
-
 
149
 
136
  /* prepare result (rmod props) */
150
  /* prepare result (rmod props) */
137
  res = MK_FP(rmodseg, 0x100 + rmodcore_len);
151
  res = MK_FP(rmodseg, 0x100 + rmodcore_len);
138
  _fmemset(res, 0, sizeof(*res));  /* zero out */
152
  _fmemset(res, 0, sizeof(*res));  /* zero out */
139
  res->rmodseg = rmodseg;          /* rmod segment */
153
  res->rmodseg = rmodseg;          /* rmod segment */
140
  res->inputbuf[0] = 128;          /* input buffer for INT 0x21, AH=0Ah*/
154
  res->inputbuf[0] = 128;          /* input buffer for INT 0x21, AH=0Ah*/