fix psp/setdta corrupting DS

This commit is contained in:
Nero 2021-01-21 22:30:35 +00:00
parent 1ec84fc411
commit 4530866130

View File

@ -49,11 +49,11 @@ getdd: push es
; set DTA ptr
; IN es:bx far ptr
setdta: push es
setdta: push ds
mov ds, [curpsp]
mov [PSPDTA], bx
mov [PSPDTA+2], es
pop es
pop ds
; get DTA ptr
; OUT es:bx far ptr