Re: [hatari-devel] Fast-boot option and SCSI |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Fast-boot option and SCSI
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Sun, 30 Aug 2020 20:01:40 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1598810501; s=strato-dkim-0002; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=TzflAmpc4BGbDG48bPvWBGEqzM5UJXzj89rKpCVjc3w=; b=YWEWdj438sTfM53ygLrNjAN/zeu8qC4pU3DNTc7YF/7D4V9wxKcsS/ZQNPsp31i6gV hLpjpZXEpI9H7BIGJFJp6Bx7mhiX6oxTjaH2G7zy68TKt0qJRJVk3dI+5yeWI/lVccVi hZmEbId7FjhzwrSvjBTkUVmsdL3cL4nWALi3Fds48FyL1IqBWgRcVx+JODHYILVOCnrn O5oVvbWOopyVSjXBURjEtCbTUo432z/QeD/5IFEYd/LlYX/SOdFUDKtqAetjdNh2coog nr+dY+NwhryY/TALsA7G18v3JwLLhDyrScErDUtpOLbOuPSoc0VaiLq/aUBYCfGELhZl /iug==
Hi,
Yes, TOS (at least an unpatched TOS) can only boot from the first IDE drive,
whereas it can boot from any ACSI and SCSI drive. The IDE drive is checked
for a bootable root sector first, followed by the 8 SCSI drives, followed by
the 8 ACSI drives. Of course, unpatched TOS versions can only boot from
those interface types (IDE, SCSI, ACSI) supported by the respective TOS. The
device type does not matter, i.e. TOS would also be able to boot from a
SCSI CD-ROM drive with 512 bytes per sector if this drive had the right
filesystem layout instead of ISO format. (Very old CD-ROM drives support
this sector size.)
TOS cannot boot from drives that have more than 512 physical bytes per
sector.
Best regards
Uwe
> Hi,
>
> On 8/30/20 1:43 AM, Thomas Huth wrote:
> > 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.
>
> What about IDE, can one boot only from the first IDE drive?
>
>
> - Eero
>
>