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 »

Dave wrote: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?
Somebody with a lot of knowledge and a lot of time at his hands ;) Hey, Wolfgang has retired and got a QL-VGA from me for his original QL, so he definitely has one, maybe if somebody gives him a QubIDE he'll do it :-P But yes, QubIDE is the sore point that's still missing in unifying all the different platforms. I have one QubIDE here in theory but currently no time for it.


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

Re: QL-SD driver 1.10

Post by Peter »

Dave wrote: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?
IDE is just a simplification compared to SD card. I wrote the initial driver code for both IDE and SD card on Qxx and QL, also the FAT32 stuff, and can really see no problem except usage of assembler language (which is really not my strength).

Q40/Q60 SMSQ/E already supports the IDE bus to access QLWA images. Wolfgang and me worked this out to use SD cards via SD-IDE converters on our Q60s. It works with harddisk or CompactFlash as well. It would probably take not much more than some address changes and code re-organization to make the Q40/Q60 code usable for QubIDE also. But why waste precious development time for QubIDE, now that QL-SD exists? On hardware with a decent 16 bit IDE bus it would make sense for speed reasons, in comparison with the SPI-interface used by QL-SD. But the 8 bit QL bus is the bottleneck anyway.


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 »

Funny you should mention that. This is a 16-bit implementation.

That said, I'm getting well and truly stuck into my road trip now, and this is probably my last day of reliable internet access. I'll be around, on and off, and come out the other side around the 17th or 18th?


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

Re: QL-SD driver 1.10

Post by Peter »

Dave wrote:Funny you should mention that. This is a 16-bit implementation.
Then it is not QubIDE. Have a nice road trip.


prime
Trump Card
Posts: 192
Joined: Fri Feb 18, 2011 8:58 pm

Re: QL-SD driver 1.10

Post by prime »

Hi all,

Just spotted a possible error / bytes that could be saved.

In file hd_ckrdy_asm the following code seems to be unreachable.

Code: Select all

hcrw_err
	moveq	#err.mchk,d0		; error return
	bra.s	hcrw_exit
It would save a few bytes if it was not needed and deleted...

Cheers.

Phill.


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 »

Cool, thanks.


Post Reply