Page 1 of 2

Source for most recent QL-SD

Posted: Sun Feb 20, 2022 2:30 pm
by prime
Hi all,

Is there an archive somewhere of the QL-SD rom source code, I have the source to an erlier release but see that it has been updated since then.

Cheers.

Phill.

Re: Source for most recent QL-SD

Posted: Sun Feb 20, 2022 2:36 pm
by mk79
It‘s contained in the SMSQ/E source code. The latest will come out with the next SMSQ/E, which will be released soon

Re: Source for most recent QL-SD

Posted: Sun Feb 20, 2022 6:02 pm
by prime
mk79 wrote:It‘s contained in the SMSQ/E source code. The latest will come out with the next SMSQ/E, which will be released soon
It is? Oh that's changed since the last archive I had in 2014 :)

Can the rob be built independently of the rest of SMSQ/E for use on a standard QL?

Cheers.

Phill.

Source for most recent QL-SD

Posted: Sun Feb 20, 2022 6:09 pm
by mk79
prime wrote:
mk79 wrote:It‘s contained in the SMSQ/E source code. The latest will come out with the next SMSQ/E, which will be released soon
It is? Oh that's changed since the last archive I had in 2014 :)
Oh, that‘s the old QubIDE based driver then. The current version is based on the SMSQ WIN driver.
Can the rob be built independently of the rest of SMSQ/E for use on a standard QL?
Sure. I suggest using QMake. Files are in dv3_qlsd.

Marcel

Re: Source for most recent QL-SD

Posted: Sun Feb 20, 2022 6:59 pm
by prime
mk79 wrote: Oh, that‘s the old QubIDE based driver then. The current version is based on the SMSQ WIN driver.
Right so deffo worth upgrading.
Can the rob be built independently of the rest of SMSQ/E for use on a standard QL?
Sure. I suggest using QMake. Files are in dv3_qlsd.
[/quote]
Excellent, now just got to remember how I did this before, was using an emulator under Windows and cross building the ROM.

The reason I want to do this is that I have a version of the QL-SD which I have built onto an expansion card along with a respin of the Trump card (using 512K static RAMS and a CPLD for logic).
This version uses a standard memory mapped port for communicating with the SPI hardware, so I'll need to slightly change the low level access routines.

Once this is all done, I plan to release the whole lot on my GitHub, but want to get the SD code updated first.

Cheers.

Phill.

Re: Source for most recent QL-SD

Posted: Mon Feb 21, 2022 10:21 am
by Peter
mk79 wrote:The current version is based on the SMSQ WIN driver.
Can the rob be built independently of the rest of SMSQ/E for use on a standard QL?
Sure. I suggest using QMake. Files are in dv3_qlsd.
Still the full SMSQ/E sources are required, as the files needed for the QL-SD driver are scattered all around.
I was interested to isolate the files needed for QL-SD to get things more compact and a better overview, but don't want to fork the sources just for that.
Maybe an automated script that pulls out the required files would be a nice solution, but I have no time for it soon.

Re: Source for most recent QL-SD

Posted: Mon Feb 21, 2022 11:47 pm
by Derek_Stewart
mk79 wrote:
prime wrote:
mk79 wrote:It‘s contained in the SMSQ/E source code. The latest will come out with the next SMSQ/E, which will be released soon
It is? Oh that's changed since the last archive I had in 2014 :)
Oh, that‘s the old QubIDE based driver then. The current version is based on the SMSQ WIN driver.
Can the rob be built independently of the rest of SMSQ/E for use on a standard QL?
Sure. I suggest using QMake. Files are in dv3_qlsd.

Marcel
I looked at the QL-SD source code in dv3_qlsd can QMAKE compile the QL-SD driver code as a ROM or LRESPR file?

The file dv3_qlsd_txt implies this can be done.

Re: Source for most recent QL-SD

Posted: Tue Feb 22, 2022 12:03 am
by mk79
Derek_Stewart wrote:I looked at the QL-SD source code in dv3_qlsd can QMAKE compile the QL-SD driver code as a ROM or LRESPR file?

The file dv3_qlsd_txt implies this can be done.
Maybe the filenames "rom_link" and "respr_link" give you a hint.

Re: Source for most recent QL-SD

Posted: Tue Feb 22, 2022 10:11 am
by prime
Hi all,
I've now got Qmake installed on my QPC setup, so I execute with :

ex win1_qmake_qmake;"\C dev8_dv3_qlsd_rom"

Qmake starts minimized (is there a way to get it to start windowed?). When I maximize it and hit Do I get an error :

"Error: win1_prog_gst_QMac not found"

Not supprising as it's not there? I have qmac installed in win1_assembler_qmac How can I change this?
Is there a config file for qmake to tell it where to find the assembler / linker etc, I'm asuming the above not found instance is the baked in one.

Cheers.

Phill.

Re: Source for most recent QL-SD

Posted: Tue Feb 22, 2022 10:29 am
by Derek_Stewart
mk79 wrote:
Derek_Stewart wrote:I looked at the QL-SD source code in dv3_qlsd can QMAKE compile the QL-SD driver code as a ROM or LRESPR file?

The file dv3_qlsd_txt implies this can be done.
Maybe the filenames "rom_link" and "respr_link" give you a hint.
Hi Marcel,

I was going to extract the dv3_qlsd directory and alter the link files to compile the code.

I just thought QMAKE did it.

QMAKE is probably one of the last QL applications I bought, to comply with the SMSQ/E source compilation, stated in the Style Guide, but it went free... Still a good piece of software.