In <[EMAIL PROTECTED]> H. Peter Anvin ([EMAIL PROTECTED]) wrote:
HA> Khimenko Victor wrote:
>>>
>> > We have noticed.  You may note that kernels > 1 MB warn that they can
>> > no longer be booted by the kernel boot sector.
>>
>> And why it was done this way, BTW ? Fix is not that hard. Perhaps they should
>> say that you can not boot them with loadlin and GRUB as well ?
>>

HA> LOADLIN doesn't use it.

Yeah. Of course. This part of loadlin's source is only my imagination:
-- src/loadlin.asm --
;             --------------------------------
;                        within this as loaded from "zImage"
              org     01F4h
kernel_size   dw      ?  ; size of kernel-part in the image-file
                         ; (in 16 byte units, rounded up)
[skipped]
                            ; now loading the kernel
        mov      bx,fhandle
        movzx    ecx,kernel_size
        shl      ecx,4
        mov      di,kernel_load_frame
        movzx    edi,di
        shl      edi,4
        mov      print_dots,2
        call     read_handle   ; read the kernel
        call     print_crlf
        mov      print_dots,0
        call     print_crlf
        jc       err_io
        add      eax,15
        and      al,0f0h
        cmp      eax,ecx
        jnz      fileopened_wrong
                           ; ok, all is read into memory
        DosCall  DOS_CLOSE_FILE
[skipped]
-- cut --






Reply via email to