[hatari-devel] Re: XHDI extension proposal

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

> Bump XHDI protocol number version to 1.40

I'd prefer 2.00, considering that we are ages away from 1.30 now.

> New data type
> ULONGLONG 64-Bit, unsigned, motorola style: 63...0

Please ensure that any data types etc. do not ust work with GCC but also at
least with Pure C. Just like for the existing XHDI bindings and docs should
be provided. Just mentioning that because we should not just deal with the
MiNT world ;-).

> LONG XHReadWrite2 (UWORD major, UWORD minor, UWORD rwflag,
>                              ULONGLONG recno, UWORD count, void *buf);

The count should be at least ULONG.

> LONG XHGetCapacity2 (UWORD major, UWORD minor, ULONG *blocks,
>                                ULONG *blocksize, ULONGLONG* capacity);

blocks must be ULONGLONG * because whe also need 64 bit here.

> LONG XHInqDev3 (UWORD bios_device, UWORD *major, UWORD *minor,
>                            ULONGLONG *start_sector, BPB *bpb, ULONGLONG
> *blocks,
>                            char *partid);
> 

Take care

Uwe



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/