Disable interrupts before storing IVTs and fix the 8086 kernel.

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1336 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2007-06-17 21:20:50 +00:00
parent a4bc22884c
commit 4d7fc0f7ed

View File

@ -200,9 +200,15 @@ reloc_call_int19_handler:
mov ds,ax
mov si,100h
mov cx,5
cli
nextitem: lodsb
mov di,ax
%ifdef I86
shl di,1
shl di,1
%else
shl di,2
%endif
movsw
movsw
loop nextitem