[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] chainloader: patch in BPB's sectors_per_track and num_heads
From: |
Daniel Kiper |
Subject: |
Re: [PATCH] chainloader: patch in BPB's sectors_per_track and num_heads |
Date: |
Mon, 5 Mar 2018 17:54:57 +0100 |
User-agent: |
Mutt/1.3.28i |
On Thu, Feb 01, 2018 at 03:51:55PM +0100, C. Masloch wrote:
>
> These fields must reflect the ROM-BIOS's geometry for CHS-based
> loaders to correctly load their next stage. Most loaders do not
> query the ROM-BIOS (Int13.08), relying on the BPB fields to hold
> the correct values already.
>
> Tested with lDebug booted in qemu via grub2's
> FreeDOS direct loading support, refer to
> https://bitbucket.org/ecm/ldosboot + https://bitbucket.org/ecm/ldebug
> (For this test, lDebug's iniload.asm must be assembled with
> -D_QUERY_GEOMETRY=0 to leave the BPB values provided by grub.)
>
> Signed-off-by: C. Masloch <address@hidden>
Reviewed-by: Daniel Kiper <address@hidden>
If there are no objections I will apply this in a week or so.
Daniel
PS Please CC me next time.