Re: [Ql-Users] New QPC release ?

2019-04-08 Thread Marcel Kilgus via Ql-Users
pjwitte via Ql-Users wrote:
> DMEDIUM_TYPE returns -1 on DOS devices (the underlying iof.xinf call
> suggests: IOI_FTYP $2C Byte Format type (1=qdos, 2=msdos etc) but -1 
> is arguable..)

Oh, that actually is a bug. It's supposed to be 2 of course. I have
translated the code into C last weekend and thus already fixed it
without even knowing that it was broken.

> The other relates to iof.xinf directly, but that is not wired up to 
> any DMEDIUM_ command, namely:
> IOI_HDRL $28 Long File header length (per file storage overhead) - 
> which returns 512b on DOS, while all other devices return 64b. The 
> inconsistency here is that 512b doesnt relate to the actual file 
> header size, as I always assumed was the intention..

Looks like the structure is somehow offset by some bytes, as that is
also supposed to be 64.

I was thinking more about the line of DMEDIUM_RDONLY and
DMEDIUM_REMOVE. This is a bit more difficult to check but I think I
got the most common cases now at least.

Marcel

___
QL-Users Mailing List


Re: [Ql-Users] New QPC release ?

2019-04-08 Thread pjwitte via Ql-Users
What seems to be the problem? To me the only "problem" seems to be one 
or two small inconsistencies:


DMEDIUM_TYPE returns -1 on DOS devices (the underlying iof.xinf call 
suggests: IOI_FTYP $2C Byte Format type (1=qdos, 2=msdos etc) but -1 
is arguable..)


The other relates to iof.xinf directly, but that is not wired up to 
any DMEDIUM_ command, namely:
IOI_HDRL $28 Long File header length (per file storage overhead) - 
which returns 512b on DOS, while all other devices return 64b. The 
inconsistency here is that 512b doesnt relate to the actual file 
header size, as I always assumed was the intention..


Those two points also differ from SMSQmulator's NFA device, which 
returns the "expected" values, ie 2 and 64, respectively.


Just my penny's worth..
Per

On 06/04/2019 12:55, François Van Emelen via Ql-Users wrote:

Hi,

There seems to be a new release of QPC2 in the pipeline.

It would be very useful if someone would/could debug the 
'DMEDIUM_XXX' functions.


Have a fine day,

François Van Emelen



___
QL-Users Mailing List



___
QL-Users Mailing List

Re: [Ql-Users] New QPC release ?

2019-04-08 Thread François Van Emelen via Ql-Users

Op 7/04/2019 om 23:22 schreef Marcel Kilgus via Ql-Users:

François Van Emelen via Ql-Users wrote:

There seems to be a new release of QPC2 in the pipeline.

It has been in the pipeline for the last 2 years... but yeah, it's
much further along now.


It would be very useful if someone would/could debug the 'DMEDIUM_XXX'
functions.

If you refer to the DOS device then someone must be me then. But this
is not a bug. It's maybe a missing feature, but one that is amazingly
difficult to pull off correctly for very little gain. I might try
halve-assing it though.

Marcel


___
QL-Users Mailing List


Thanks for your reply.

François Van Emelen


___
QL-Users Mailing List