sQLux v1.0 (The Xmas Turkey)

Discussion and advice about emulating the QL on other machines.
HullQLMan
ROM Dongle
Posts: 17
Joined: Wed Sep 30, 2015 9:00 pm

Re: sQLux v1.0 (The Xmas Turkey)

Post by HullQLMan »

badaman wrote: Sat Feb 03, 2024 2:56 pm I appreciate the good work being done with the sQLux emulator. Yesterday I compiled the latest version without problems on an old PC Asus EeePC 901 with Xubuntu 32bits.

Would it be possible to incorporate the Spanish keyboard into the emulator? This would be perfect for me and other people in Spain.

If I can help in any way to make it possible, I am available.
Morning, Is it easy to compile sQLux as I have never done it before? Does anyone have any hints/tips or instructions that made it easier?


User avatar
desin
Chuggy Microdrive
Posts: 54
Joined: Mon May 10, 2021 10:33 am

Re: sQLux v1.0 (The Xmas Turkey)

Post by desin »

Hello
for Linux / Debian
you can use this bash script

#!/bin/bash
# clone sources from Github
# compile and start sQLux
# dependencies
# build-essential cmake git libsdl2-dev

rm -r sQLux --interactive=never
git clone --recursive https://github.com/SinclairQL/sQLux.git
cd sQLux
cmake -B build/
cd ~/sQLux/build
make
cd ..
./build/sqlux --help
./build/sqlux

save as it sqluxbuild.sh

hope it helps

Markus

P.S. using a real UK or US keyboard helps a lot


User avatar
badaman
Over Heated PSU
Posts: 134
Joined: Sun Jan 12, 2020 12:18 pm
Location: Spain
Contact:

Re: sQLux v1.0 (The Xmas Turkey)

Post by badaman »

Interestingly, this didn't work for me in this case:

Code: Select all

 cmake -B build/
An error message said that the folder build did not have the file: CMakeLists.txt

Of course I was in the sQLux folder.

But I was able to build it in the same sQLux folder without the build directory.

Code: Select all

 cmake -B
Then, I compiled with make in the same folder.

It's not optimal, but it worked for me.


User avatar
badaman
Over Heated PSU
Posts: 134
Joined: Sun Jan 12, 2020 12:18 pm
Location: Spain
Contact:

Re: sQLux v1.0 (The Xmas Turkey)

Post by badaman »

Derek_Stewart wrote: Sun Feb 04, 2024 8:03 am Hi,

sQLux can have its keyboard setup in the squl.ini or .uqlux.rc file with th e entry:

KBD Select the keyboard language. Valid options are GB, DE and US. Defaults to US

Or is as Spanish is unsupported, get the Minerva Support Disk from the QL Homepage and load the Minerva Spanish Keyboard overlay on booting up Minerva.
I hadn't thought about using Minerva's keyboard settings. I'm going to try it.
Of course this excludes other ROMs, but it is a step forward to having ES keyboard integration in the emulator.


HullQLMan
ROM Dongle
Posts: 17
Joined: Wed Sep 30, 2015 9:00 pm

Re: sQLux v1.0 (The Xmas Turkey)

Post by HullQLMan »

desin wrote: Sun Feb 04, 2024 10:36 am Hello
for Linux / Debian
you can use this bash script

#!/bin/bash
# clone sources from Github
# compile and start sQLux
# dependencies
# build-essential cmake git libsdl2-dev

rm -r sQLux --interactive=never
git clone --recursive https://github.com/SinclairQL/sQLux.git
cd sQLux
cmake -B build/
cd ~/sQLux/build
make
cd ..
./build/sqlux --help
./build/sqlux

save as it sqluxbuild.sh

hope it helps

Markus

P.S. using a real UK or US keyboard helps a lot
Thank you very much. Bit more fun for me as I will be building it for MAC (Intel and ARM) ! Unless any one has already done it?


Exile
ROM Dongle
Posts: 38
Joined: Sat Jan 15, 2022 8:55 pm

Re: sQLux v1.0 (The Xmas Turkey)

Post by Exile »

Bit more fun for me as I will be building it for MAC (Intel and ARM) ! Unless any one has already done it?
I think @XorA uses a mac for sQLux development? There are these instructions in the sQLux Readme:

https://github.com/SinclairQL/sQLux?tab ... ding-macos

@badaman I worked with XorA to add the GB keyboard support a couple of years ago (shamelessly copying the model already established for the German keyboard :-)).

A new keyboard map is created by defining the differences compared to the base US keyboard. The model for GB and DE can be seen in SDL2screen.c starting on line 759. The challenge to add Spanish support is knowing what the differences are without having access to a Spanish keyboard. Would you be able to help to define the differences?


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

Re: sQLux v1.0 (The Xmas Turkey)

Post by XorA »

Just be aware this bug has been file https://github.com/SinclairQL/sQLux/issues/40

So alternative keyboard layouts may currently be broken, I havent had time to look at it as I've been busy with sQLay3 MDV code!


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

Re: sQLux v1.0 (The Xmas Turkey)

Post by Derek_Stewart »

Hi,

I have been doing some testing on previous versions of sQLux, it seems that on the Master repository is affected.

The KDB option works on v1.0.4, v1.0.5, v1.0.6


Regards,

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

Re: sQLux v1.0 (The Xmas Turkey)

Post by Derek_Stewart »

Hi,

The problem has been fixed by XorA.

I must thank XorA, for the hard work involved in tracking the problem down.


Regards,

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

Re: sQLux v1.0 (The Xmas Turkey)

Post by XorA »

Derek_Stewart wrote: Tue Feb 06, 2024 11:46 pm Hi,

The problem has been fixed by XorA.

I must thank XorA, for the hard work involved in tracking the problem down.
Wasnt hard, anyone with a basic knowledge of C could have found I missed some mappings.

I dont notice because Macs all come with USA keyboards even in UK!


Post Reply