Subversion Repositories SvarDOS

Rev

Rev 1861 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1861 Rev 1862
Line 152... Line 152...
152
 
152
 
153
    /* if DR-DOS env is at seg 0x60 then overwrite my own env in PSP with this.
153
    /* if DR-DOS env is at seg 0x60 then overwrite my own env in PSP with this.
154
     * Seg 0x60 is used since https://github.com/SvarDOS/edrdos/issues/88 and
154
     * Seg 0x60 is used since https://github.com/SvarDOS/edrdos/issues/88 and
155
     * it is safe to be used as it won't be overwritten */
155
     * it is safe to be used as it won't be overwritten */
156
    cmp ax, 0x60
156
    cmp ax, 0x60
157
    jne FAIL
157
    ja FAIL
158
    mov bx, 0x2C         /* environment segment field in my PSP */
158
    mov bx, 0x2C         /* environment segment field in my PSP */
159
    mov [bx], ax
159
    mov [bx], ax
160
 
160
 
161
    FAIL:
161
    FAIL:
162
    pop es
162
    pop es