> 
> 5. SYS C: /FORCE:CHS
> 
> 
> And that boots without problem on the Pocket386!
> 
> 
> Also: you asked about FDISK /XO output. It reports "W95B INT LBA
> FAT32" in the upper left corner. This is running FDISK 1.3.15.
> 

Well, this is good on the one hand, but bad on the other. It means that the 
system (supposedly) supports LBA access, but the FAT32 LBA loader for a reason 
yet unknown to me fails to boot the thing. LBA in general seems to be working. 
Otherwise FDISK would also fail in one way or another.

Have to think about what might be the cause. Looking at the source of FAT32 LBA 
loader, it passes the disk access packet to the BIOS by pushing it onto the 
stack and setting SI=SP, instead of reserving some space for it in its data 
area. Not exactly sure that this is a good idea, as it makes this susceptible 
to stack corruption, depending on how the BIOS mishandles the packet.

https://github.com/FDOS/kernel/blob/c0127001908405d30d90f1755ad10c1b59ea8c90/boot/boot32lb.asm#L384

The BIOS may also trash some registers...

Anyone a suggestion?



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

Reply via email to