[Freemint-list] XHDI extension proposal

Peter Slegg p.slegg at scubadivers.co.uk
Fri Mar 3 00:56:58 MSK 2017


> Date: Fri, 17 Feb 2017 13:46:01 +0100
> From: Adam Klobukowski <adamklobukowski at gmail.com>
> Subject: [Freemint-list] XHDI extension proposal
> To: freemint-list at atariforge.org, emutos-devel at lists.sourceforge.net,
>     hatari-devel <hatari-devel at lists.tuxfamily.org>, aranym at lists.bobek.cz
> Cc: Uwe Seimet <Uwe.Seimet at seimet.de>
> Message-ID:
>     <CAJSB6HNFc+gn6WJH0WovAZzoc=XoCBbkr-AhHZZicyKGtXEQYw at mail.gmail.com>
> Hello
>
> I'd like to propose an extension to XHDI protocol to handle sector numbers
> bigger then 32 bit (64bit).
>
> Uwe Seimet expressed his interest, so if we could come to an agreement on
> that, there is a chance we'll get it in Hddriver update soon :)
>
> see original XHDI doc here: http://hddriver.seimet.de/downloads/xhdi-130.zip
>
> Proposal:
>
> Bump XHDI protocol number version to 1.40
>
> New data type
> ULONGLONG 64-Bit, unsigned, motorola style: 63...0
>
> LONG XHReadWrite2 (UWORD major, UWORD minor, UWORD rwflag,
>                              ULONGLONG recno, UWORD count, void *buf);
>
> Like XHReadWrite, just a change of type of recono
>
>
> LONG XHGetCapacity2 (UWORD major, UWORD minor, ULONG *blocks,
>                                ULONG *blocksize, ULONGLONG* capacity);
>
> Like XHGetCapacity, just aditional parameter, ponter to ULONGLONG where it
> will put the capacity. Returns the same capacity if it fits 32 LONG or -1
> if it does not.
>
> LONG XHInqDev3 (UWORD bios_device, UWORD *major, UWORD *minor,
>                            ULONGLONG *start_sector, BPB *bpb, ULONGLONG
> *blocks,
>                            char *partid);
>
> Like XHInqDev2, just changes the type of start_sector and blocks.
>


Would this mean that, in theory, ntfs could be supported ?


Peter






More information about the Freemint-list mailing list