wok rev 22204

linld: 8086 may load zImage (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 11 12:29:56 2019 +0100 (2019-11-11)
parents f3a4853e3eef
children b08bcbd8a085
files linld/stuff/src/_BEG.ASM
line diff
     1.1 --- a/linld/stuff/src/_BEG.ASM	Mon Nov 11 12:01:54 2019 +0100
     1.2 +++ b/linld/stuff/src/_BEG.ASM	Mon Nov 11 12:29:56 2019 +0100
     1.3 @@ -134,7 +134,7 @@
     1.4                  ;js      no_vcpi
     1.5                  mov     ah,46h          ; get version
     1.6                  int     67h
     1.7 -                cmp     al,40h          ; version must be >= 4.0
     1.8 +                cmp     ax,40h          ; version must be >= 4.0
     1.9                  jl      no_vcpi		; btw check ax.15
    1.10  ; Check vcpi manager status
    1.11                ;;mov     ax,5A01h        ; ALLOCATE RAW PAGES
    1.12 @@ -179,7 +179,7 @@
    1.13  		mov	eax,80000001h	; Extended Processor Info and Feature Bits
    1.14  		cpuid
    1.15  		ifdef	NO386
    1.16 -		mov	dl,-1
    1.17 +		mov	dl,-1		; set 386 flag
    1.18  		db	66h		; mov [_cpu_features],edx
    1.19  @@no_cpuid:
    1.20  		mov	[word _cpu_features],dx	; dl != 0