fix psp/setdta corrupting DS
This commit is contained in:
parent
1ec84fc411
commit
4530866130
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user