UQLX with BDI / QL-SD support

Discussion and advice about emulating the QL on other machines.
User avatar
XorA
Super Gold Card
Posts: 703
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: UQLX with BDI / QL-SD support

Postby XorA » Sat Jan 16, 2021 2:46 pm

mk79 wrote:
XorA wrote:Thread resurrection, but I guess there will not be an official release of uQLx with this in before my beard reaches my knees.
One caveat: the new QL-SD drivers don't support the BDI format anymore, it is all QLWA now.


Yes but sneakilly I can use the same support for qubide cards too :-D

My QL-SD also doesnt have updated rom!


User avatar
mk79
Aurora
Posts: 860
Joined: Sun Feb 02, 2014 10:54 am
Location: Esslingen/Germany
Contact:

Re: UQLX with BDI / QL-SD support

Postby mk79 » Sat Jan 16, 2021 8:34 pm

XorA wrote:My QL-SD also doesnt have updated rom!
Wow, okay. I tried to unzip the Minerva sources using this driver once. Gave up after many wasted hours.


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

Re: UQLX with BDI / QL-SD support

Postby Peter » Sat Jan 16, 2021 11:17 pm

mk79 wrote:
XorA wrote:Thread resurrection, but I guess there will not be an official release of uQLx with this in before my beard reaches my knees.
One caveat: the new QL-SD drivers don't support the BDI format anymore, it is all QLWA now.

The BDI interface has nothing to do with the filesystem used inside the image. It's just a simple, general interface for block devices under a QL emulator and could be used for QLWA as well as Qubide or anything else. Both Qemulator and UQLX support it. Sorry for reading this too late, is any sourcecode still needed?

By the way, no QL-SD hardware driver would run under UQLX anyway, be it QLWA (new) or Qubide (old) filesystem. The BDI interface does not emulate an SD card.

And it could be that the Qubide-derived BDI driver for UQLX/Qemulator is more reliable than the old QL-SD driver, as the low-level stuff is not in there.


User avatar
XorA
Super Gold Card
Posts: 703
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: UQLX with BDI / QL-SD support

Postby XorA » Sat Jan 16, 2021 11:45 pm

Peter wrote:
mk79 wrote:
XorA wrote:Thread resurrection, but I guess there will not be an official release of uQLx with this in before my beard reaches my knees.
One caveat: the new QL-SD drivers don't support the BDI format anymore, it is all QLWA now.

The BDI interface has nothing to do with the filesystem used inside the image. It's just a simple, general interface for block devices under a QL emulator and could be used for QLWA as well as Qubide or anything else. Both Qemulator and UQLX support it. Sorry for reading this too late, is any sourcecode still needed?

By the way, no QL-SD hardware driver would run under UQLX anyway, be it QLWA (new) or Qubide (old) filesystem. The BDI interface does not emulate an SD card.

And it could be that the Qubide-derived BDI driver for UQLX/Qemulator is more reliable than the old QL-SD driver, as the low-level stuff is not in there.


I have just pushed my implementation to the sQLux github and it seems to be working. I havent given it heavy testing though. I put the BDI interface at the same address as used in Qemulator.

Where would I get this Qubide-derived BDI driver to test with? Ive been using the driver in the QLSD starter pack from dilwyn's site.


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

Re: UQLX with BDI / QL-SD support

Postby Peter » Sun Jan 17, 2021 10:14 am

XorA wrote:Where would I get this Qubide-derived BDI driver to test with? Ive been using the driver in the QLSD starter pack from dilwyn's site.

That is the right place. You should also get the sources and the BDI specification there. For native driver development it was acctually quite helpful to have a defined interface on the native side of the emulation. The first target filesystem wasn't even Qubide, but the relatively little known QL-HD, which I used to develop QL-SD in the first place.

(QLWA has been tested for over 25 years and is now open source, so it makes little sense to still use QL-HD. But what I liked about that driver was that it's partially written in C. That allwowed me to pioneer and test the general SDHC and FAT32 support on which the later QL-SD and Q68 drivers were based.)



Who is online

Users browsing this forum: No registered users and 1 guest