Preserve DI in call_nls (fixes problem reported by Eduardo)

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1004 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2004-07-24 23:54:23 +00:00
parent 56682a5656
commit 7d0a83c800

View File

@ -412,6 +412,7 @@ _call_nls:
push bp push bp
mov bp, sp mov bp, sp
push si push si
push di
mov al, [bp + 4] ; subfct mov al, [bp + 4] ; subfct
mov ah, 0x14 mov ah, 0x14
mov si, [bp + 6] ; nlsinfo mov si, [bp + 6] ; nlsinfo
@ -428,6 +429,7 @@ _call_nls:
jz nostore jz nostore
mov [bp], bx mov [bp], bx
nostore: nostore:
pop di
pop si pop si
pop bp pop bp
ret ret