fix syscall gateway not preserving DS on entry
This commit is contained in:
parent
440187c2a8
commit
3056d659fa
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue