Tar file size: 10240 bytes
Tgz file size:  1531 bytes

-rw-r--r-- ekot/Отсутствует 512 2004-04-13 21:19:58 freeboot.bin
-rw-r--r-- ekot/Отсутствует 512 2004-04-13 20:43:06 xpboot.bin
-rw-r--r-- ekot/Отсутствует 641 2004-04-13 21:45:16 freedos_flash.txt

32x255x32 geometry,
mformat -t 32 -h 255 -s 32 -H 32 w:
4 sec/clust, FAT16, 32 hidden, 1 reserved, 512 root dir ents, 255 sec/fat,
drive 0 (are you sure?), reserved 0, 261088 sectors, ...

XPBOOT is an IO/MSDOS loader (MS boot sector)
FREEBOOT is a FreeDOS KERNEL loader (FreeDOS)...

ndisasm -o 0x7c00 freeboot.bin | less
Stored drive number is 00. Did you use the newest version of FreeDOS SYS?
Comes with FreeDOS kernel 2033.
Take care, it is possible that especially the FAT32 boot sector may use an
hardcoded drive number 0x80. The hidden ... count has to describe the
distance MBR -> start of partition (true for primary partitions in general)
if you want to use LBA booting. If your BIOS supports LBA, the boot sector
will default to using it. As far as I can tell, your xpboot sector prefers
using LBA if available, too.


Oh... just saw: FreeDOS boot sector avoids LBA if drive number is 0.
So I hope your other parameters work out okay there. You may want to
check the source code boot*.asm which is included in the kernel 2033
source code as well and which compiles with NASM.

The call at 7d60 uses DX:AX as sector number input etc., so:
Make sure to use a modern boot sector (-> SYS) version which
calculates some important variables at boot time based on the
BPB information which you probably already checked. Older versions
needed extra information to be adjusted by SYS. If the boot sector
fails to get the proper values, it will fail to find the root directory
or the kernel and freeze.

Eric


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freedos-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to