Displaying 1 result from an estimated 1 matches for "copy_loop".
Did you mean:
  copy_lock
  
2002 Mar 28
0
memdisk.asm patch
...; apparently cli after int 15h below is not
sufficient:-(
+               ; we've got to mask hardware interrupts in PIC as well!
+               xor  eax,eax
+               in   al,21h
+               push eax
+               or   al,0xfe    ; leave timer on
+               out  21h,al
  .copy_loop:
                push esi
                push edi
***************
*** 420,425 ****
--- 427,434 ----
                jnz .copy_loop
                ; CF = 0
  .error:
+               pop eax
+               out 21h,al      ; restore hardware interrupt mask
                pop ebp
                po...