Explorar el Código

* fixed "nil pointer assignment" error in huge memory model

git-svn-id: trunk@31502 -
nickysn hace 10 años
padre
commit
1264eaf8c6
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      rtl/msdos/prt0comn.asm

+ 5 - 0
rtl/msdos/prt0comn.asm

@@ -491,8 +491,13 @@ int_number:
 %ifndef __TINY__
         global FPC_CHECK_NULLAREA
 FPC_CHECK_NULLAREA:
+%ifdef __HUGE__
+        mov ax, DGROUP
+        mov es, ax
+%else
         push ds
         pop es
+%endif
         xor di, di
         mov cx, 32
         mov al, 1