Page 21 of 26

Re: sQLux v1.0 (The Xmas Turkey)

Posted: Sun Feb 04, 2024 9:33 am
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?

Re: sQLux v1.0 (The Xmas Turkey)

Posted: Sun Feb 04, 2024 10:36 am
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

Re: sQLux v1.0 (The Xmas Turkey)

Posted: Sun Feb 04, 2024 12:04 pm
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.

Re: sQLux v1.0 (The Xmas Turkey)

Posted: Sun Feb 04, 2024 12:06 pm
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.

Re: sQLux v1.0 (The Xmas Turkey)

Posted: Sun Feb 04, 2024 3:15 pm
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?

Re: sQLux v1.0 (The Xmas Turkey)

Posted: Mon Feb 05, 2024 9:42 pm
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?

Re: sQLux v1.0 (The Xmas Turkey)

Posted: Mon Feb 05, 2024 9:53 pm
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!

Re: sQLux v1.0 (The Xmas Turkey)

Posted: Tue Feb 06, 2024 9:54 am
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

Re: sQLux v1.0 (The Xmas Turkey)

Posted: Tue Feb 06, 2024 11:46 pm
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.

Re: sQLux v1.0 (The Xmas Turkey)

Posted: Tue Feb 06, 2024 11:48 pm
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!