QL-SD driver 1.10

Nagging hardware related question? Post here!
User avatar
mk79
QL Wafer Drive
Posts: 1349
Joined: Sun Feb 02, 2014 10:54 am
Location: Esslingen/Germany
Contact:

Re: QL-SD driver 1.10

Post by mk79 »

Derek_Stewart wrote:
mk79 wrote:
Peter wrote:SD images can also are byteswapped sometimes, e.g. if SD-IDE converters are used with native hardware. Which is not unlikely for some Qubide or even Q40/Q60 setups.
Ah ok. Unlikely setup on a PC, but I understand. Well, even better that QPC can do both ;-)
... as well as sQLux, Q68
Ummm, no. "Both" in the sense of "byte-swapped" or not. As far as I'm aware this is a QPC-only feature.


User avatar
Peter
Font of All Knowledge
Posts: 2010
Joined: Sat Jan 22, 2011 8:47 am

Re: QL-SD driver 1.10

Post by Peter »

Q40/Q60 Linux can also deal with byteswapped filesystems, not that this would be of much help.
Personally I think byteswapped images should be corrected, not used. But given the practical reality this is a good QPC feature.


User avatar
XorA
Site Admin
Posts: 1368
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QL-SD driver 1.10

Post by XorA »

mk79 wrote:
Derek_Stewart wrote:
mk79 wrote:Ah ok. Unlikely setup on a PC, but I understand. Well, even better that QPC can do both ;-)
... as well as sQLux, Q68
Ummm, no. "Both" in the sense of "byte-swapped" or not. As far as I'm aware this is a QPC-only feature.
Nope, I implemented byte swapping in sQLux years ago.


User avatar
XorA
Site Admin
Posts: 1368
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QL-SD driver 1.10

Post by XorA »

XorA wrote:
mk79 wrote:
Derek_Stewart wrote: ... as well as sQLux, Q68
Ummm, no. "Both" in the sense of "byte-swapped" or not. As far as I'm aware this is a QPC-only feature.
Nope, I implemented byte swapping in sQLux years ago.
B*ll*cjs and never pushed that code :(


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

Re: QL-SD driver 1.10

Post by mk79 »

XorA wrote:B*ll*cjs and never pushed that code :(
:-D


Derek_Stewart
Font of All Knowledge
Posts: 3975
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: QL-SD driver 1.10

Post by Derek_Stewart »

XorA wrote:
mk79 wrote:
Derek_Stewart wrote: ... as well as sQLux, Q68
Ummm, no. "Both" in the sense of "byte-swapped" or not. As far as I'm aware this is a QPC-only feature.
Nope, I implemented byte swapping in sQLux years ago.
I am a little confused, the QUBide files from my QL-SD Interface, are read/write on Q68 using the QUB device, the BDI driver in Q-emulator and sqlux read the same file.

I probably do not know if bytes are flipped.
Last edited by Derek_Stewart on Fri Feb 25, 2022 7:12 pm, edited 1 time in total.


Regards,

Derek
User avatar
XorA
Site Admin
Posts: 1368
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QL-SD driver 1.10

Post by XorA »

mk79 wrote:
XorA wrote:B*ll*cjs and never pushed that code :(
:-D
Oh, I remember what happened, the BDI version of the QL-SD driver would not read any of the test QUBIDE files I had so i parked the code in a branch to investigate later. And later still has not occurred (and branch is on a machine that is no more).


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

Re: QL-SD driver 1.10

Post by mk79 »

XorA wrote:Oh, I remember what happened, the BDI version of the QL-SD driver would not read any of the test QUBIDE files I had so i parked the code in a branch to investigate later. And later still has not occurred (and branch is on a machine that is no more).
IIRC the BDI driver checks some bit in the master block to see if it's an IDE or SD image or some such and rejects the normal QubIDE images based on that.


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

Re: QL-SD driver 1.10

Post by mk79 »

Derek_Stewart wrote:
XorA wrote:
mk79 wrote:Ummm, no. "Both" in the sense of "byte-swapped" or not. As far as I'm aware this is a QPC-only feature.
Nope, I implemented byte swapping in sQLux years ago.
I am a little confused, the QUBide files from my QL-SD Interface, are read/write on Q68 using the QUB device, the BDI driver in Q-emulator and sqlux read the same file.

I probably do not know if bytes are flipped.
None of those are IDE devices, so no byte swapping is happening. You get that for example if you try to read a native QubIDE partition on a PC.


User avatar
Dave
SandySuperQDave
Posts: 2778
Joined: Sat Jan 22, 2011 6:52 am
Location: Austin, TX
Contact:

Re: QL-SD driver 1.10

Post by Dave »

Which raises the question: what would it take to have QubIDE be able to use the same .WIN files as QL-SD and everything else?


Post Reply