Hi ECM,

> https://sourceforge.net/p/freedos/svn/1835/log/?path=/kernel/trunk/boot/boot32lb.asm
> -- also last change 2004. Note that this requires a 386 and doesn't
> check for it. My take on a FAT32 boot sector loader allows to load
> FreeDOS KERNEL.SYS too, but automatically detects either CHS or LBA and
> is supposed to work even on 8086:
> https://hg.ulukai.org/ecm/ldosboot/file/3b98bf84db45/boot32.asm (It
> requires part of it be installed to the FSINFO sector, which is how it
> can do so much more.)

That is exactly the difference: It was an interesting challenge to
put the whole boot sector into one sector :-) I believe that CHS
FAT32 version even works for 8086, while LBA FAT32 needed 386? :-)

Note that Windows would use the second sector only for FSINFO and
uses the THIRD sector for additional code for booting, so I wonder
why you prefer the FSINFO sector for it? When not used, the third
sector just contains the 55 aa magic. All three sectors have that.

> https://sourceforge.net/p/freedos/svn/1835/log/?path=/kernel/trunk/boot/oemboot.asm
> -- last change 2009, but not by me
> 
> https://sourceforge.net/p/freedos/svn/1481/log/?path=/kernel/branches/UNSTABLE/boot/oemboot.asm
> -- last change 2005
> 
> https://sourceforge.net/p/freedos/svn/1835/log/?path=/kernel/trunk/boot/boot.asm
> -- last change 2009, not by me

Yeah at some point you had the choice between more fancy and more
classic versions not only for the kernel but also for SYS. This
should probably be documented better.

The big question hidden behind the original thread subject, which
was "Re: FreeDOS 1.3-RC3 News!" is: Which of the boot sectors and
filesystem types and kernel versions and FreeCOM versions EXACTLY
were the ones which failed to work on (real or virtual) 8086 PC :-)

Regards, Eric

PS: On real hardware, you can have EMS, but not XMS on CPU before 286!



_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to