fix syscall gateway not preserving DS on entry
This commit is contained in:
parent
440187c2a8
commit
3056d659fa
@ -91,6 +91,7 @@ int21: push ds
|
|||||||
push word [cs:bx]
|
push word [cs:bx]
|
||||||
; restore user data and launch ret chain
|
; restore user data and launch ret chain
|
||||||
mov bx, [PSPBX]
|
mov bx, [PSPBX]
|
||||||
|
mov ds, [PSPDS]
|
||||||
ret
|
ret
|
||||||
|
|
||||||
err: mov ah, 0xFF
|
err: mov ah, 0xFF
|
||||||
|
Loading…
Reference in New Issue
Block a user