QXL.WIN (the domain name).

A place to discuss general QL issues.
User avatar
mk79
QL Wafer Drive
Posts: 1026
Joined: Sun Feb 02, 2014 10:54 am
Location: Esslingen/Germany
Contact:

Re: QXL.WIN (the domain name).

Postby mk79 » Wed Sep 08, 2021 11:29 pm

I just want to add that all native platforms have a WIN_CHECK command to actually check if a container file is continuous. Use that once to ensure your container is in one piece. Qx0 and Q68 could in theory also work with fragmented containers, but a) nobody has written the code for it and b) it would consume double the memory. The latter point is why for QL-SD this will never be an option anyway.


User avatar
Peter
QL Wafer Drive
Posts: 1341
Joined: Sat Jan 22, 2011 8:47 am

Re: QXL.WIN (the domain name).

Postby Peter » Wed Sep 08, 2021 11:45 pm

mk79 wrote:Qx0 and Q68 could in theory also work with fragmented containers, but a) nobody has written the code for it and b) it would consume double the memory.

And c) it would be slower.


User avatar
mk79
QL Wafer Drive
Posts: 1026
Joined: Sun Feb 02, 2014 10:54 am
Location: Esslingen/Germany
Contact:

Re: QXL.WIN (the domain name).

Postby mk79 » Thu Sep 09, 2021 8:17 am

It needs a few more milliseconds to read in the fat, but during actual operation it's just one additional table lookup per sector, which pales compared to the time it takes to actually read or write said sector. I don't think you could measure the difference.


User avatar
Peter
QL Wafer Drive
Posts: 1341
Joined: Sat Jan 22, 2011 8:47 am

Re: QXL.WIN (the domain name).

Postby Peter » Thu Sep 09, 2021 9:24 am

Not sure about that, as significant speed optimization was achieved by multisector operations.


User avatar
mk79
QL Wafer Drive
Posts: 1026
Joined: Sun Feb 02, 2014 10:54 am
Location: Esslingen/Germany
Contact:

Re: QXL.WIN (the domain name).

Postby mk79 » Thu Sep 09, 2021 11:16 am

It's all cluster based, so even worst case you can still read 8 or 16 sectors at once. But yeah, it's all speculation anyway, I don't intend to implement it ;)


User avatar
Peter
QL Wafer Drive
Posts: 1341
Joined: Sat Jan 22, 2011 8:47 am

Re: QXL.WIN (the domain name).

Postby Peter » Fri Sep 10, 2021 9:02 am

I also think it wouldn't be good to leave the QL/GC/SGC hardware behind - making it even more complicated to distinguish the requirements.
Worth considering might be a default check for fragmentation at every driver startup or card change, if it does not consume too much time.



Who is online

Users browsing this forum: Google [Bot] and 3 guests