mirror of https://github.com/FDOS/kernel.git
(From Arkady) Avoid "shr cx,4" (it doesn't work on the 8088)
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@869 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
7eb9514377
commit
2aa4789bfc
|
@ -137,9 +137,10 @@ kernel_start:
|
||||||
mov ax,cs
|
mov ax,cs
|
||||||
mov dx,__InitTextStart wrt HMA_TEXT
|
mov dx,__InitTextStart wrt HMA_TEXT
|
||||||
%ifdef WATCOM
|
%ifdef WATCOM
|
||||||
mov cx,dx
|
mov si,dx
|
||||||
shr cx,4
|
mov cl,4
|
||||||
add ax,cx
|
shr si,cl
|
||||||
|
add ax,si
|
||||||
%endif
|
%endif
|
||||||
mov ds,ax
|
mov ds,ax
|
||||||
mov cx,-2 + init_end wrt INIT_TEXT
|
mov cx,-2 + init_end wrt INIT_TEXT
|
||||||
|
|
Loading…
Reference in New Issue