fix syscall gateway not preserving DS on entry

This commit is contained in:
Nero 2021-01-13 18:36:12 +00:00
parent 440187c2a8
commit 3056d659fa

View File

@ -91,6 +91,7 @@ int21: push ds
push word [cs:bx]
; restore user data and launch ret chain
mov bx, [PSPBX]
mov ds, [PSPDS]
ret
err: mov ah, 0xFF