Browse Source

* fixed bug in FPC_INTR and FPC_MSDOS

git-svn-id: branches/i8086@24046 -
nickysn 12 years ago
parent
commit
9b79c52f32
1 changed files with 2 additions and 0 deletions
  1. 2 0
      rtl/msdos/prt0.asm

+ 2 - 0
rtl/msdos/prt0.asm

@@ -27,6 +27,7 @@ FPC_INTR:
 	push bx
 	push bx
 	push cx
 	push cx
 	push si
 	push si
+        push dx
 	push ds
 	push ds
 	mov si, dx
 	mov si, dx
 	mov ax, word [si + 16]
 	mov ax, word [si + 16]
@@ -74,6 +75,7 @@ int_number:
 	mov word [si + 18], ax
 	mov word [si + 18], ax
 	
 	
 	pop ds
 	pop ds
+        pop dx
 	pop si
 	pop si
 	pop cx
 	pop cx
 	pop bx
 	pop bx