Re: [hatari-devel] Hatari and OUTSIDE (virtual memory manager) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Hatari and OUTSIDE (virtual memory manager)
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Wed, 3 Oct 2018 08:07:42 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1538546862; 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=aOk5GdRv6rkYU+Dc/IMNBA6+fJ0/4qdbv3JbeGtAXyk=; b=YdgD4Zvi+XluPKW0bOklITiDhQfqHeTi2QdcF7fTM/VIoMVD7flW784rFVBb1xJMc/ h8QV7QSfd6nwLegcZojBtM3GwpNHXyfauVbizjSJJyFEzq4wkjyTJYLLo9hZNlogE20h Yk08hzIM/ekdhWNQKC6Dvb1z8AYrhXvSBoqWYXnl7Ii1qMgMEb9MCu+kQhieVrK2G4Ai WoW7AEGWdS2uVnWA6t6R0Pj57ZUSy6axECDaAce9jBXVhVsRsE9oeKns6TbJ3L4lFrWK NCvFQd2v1P8VwM3kvjgcbSsS1cZ5Rm8syUWwWy0b9gjAhGE+nNObVi7onzDivn0tki4X Sh3w==
Hi,
> The reason for this, though, is that Uwe's OUTSIDE.IMG contains an
> invalid file system. The C: drive on it has 16 bit FAT entries, but only
> 1003 clusters. The FAT filesystem specification unequivocally states:
> "There is no such thing as a FAT16 volume that has less than 4085
> clusters". EmuTOS's file system code adheres to the specification,
> decides -- based on the number of clusters -- that this must be a FAT12
> filesystem and consequently fails to properly read files (such as
> OUTCONF.APP) from it.
>
> This neither an issue with Hatari nor with EmuTOS but with the disk image.
Even though this may formally be correct it may not be the best approach for
GEM/BGM partitions, as we can see with this image and AHDI (or other drivers).
HDDRIVER, by the way, signals a 12 bit FAT for *DOS compatible* partitions
of type 0x01 with less than 4085 clusters, but a 16 bit FAT for GEM/BGM
partitions of the same size. For floppy disks in USB floppy disk or LS-120
drives the situation is more tricky because the medium inserted may or
may not have a partition table. If there is none, deriving the FAT format
from the number of sectors has worked fine for me, in order to support
regular floppy disks in these drives.
Best regards
Uwe