Am Mon, 17 Aug 2020 13:03:01 +0300
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
While doing tos-boot Hatari tests for next EmuTOS release, I noticed
a bug in Hatari.
When using SCSI drive with "--fast-boot on" option, boot drive is A:,
not C:.
Thomas, because there can be multiple drives, and
one doesn't necessarily use drive zero, is this
correct fix, or should something more complicated
be done:
----------------------------------------
--- a/src/floppy.c
+++ b/src/floppy.c
@@ -174,7 +174,7 @@ void Floppy_GetBootDrive(void)
if (!ConfigureParams.HardDisk.bBootFromHardDisk)
return;
- if (ACSI_EMU_ON || ConfigureParams.Ide[0].bUseDevice)
+ if (ACSI_EMU_ON || ConfigureParams.Ide[0].bUseDevice ||
ConfigureParams.Scsi[0].bUseDevice)
{
nBootDrive = 2; /* Drive C */
}
----------------------------------------
?
I think you could boot from any SCSI disk, not only from the first one.
So it likely would be better to check all SCSI disks here.