Page 1 of 2

Re: QL emulation on Linux - is there anything mainstream ?

Posted: Sat Sep 11, 2021 8:58 am
by mk79
Best native solution is probably https://github.com/SinclairQL/sQLux

Apart from that people run QPC with WINE or SMSQmulator with the JRE.

Re: QL emulation on Linux - is there anything mainstream ?

Posted: Sat Sep 11, 2021 6:51 pm
by XorA
Brane2 wrote:
mk79 wrote:Best native solution is probably https://github.com/SinclairQL/sQLux
That one comes closest to working for me, thanks.
But there is nothing to install - make doesn't have install option.

So I have just copied sqlux to local bin directry.
But hten the snag is that it can't read ~/.uqlxrc, since it hasn't installed any.

So i've copied sqlux.ini to ~/.uqlxrc and tweaked existing options.
It looks like sqlux doesn't uderstand many of the default options from its own sqlux.ini/uqlxrc file.

After playing with that, I'm now at the point, where it almost starts with an error:
using Minerva ROM
Patching Boot Device mdv1 at 0x83ca
Video Driver wayland xres 3840 yres 2160
SDL_CreateWindow Error: Window is too large.
Interesting. I didn’t know SDL2 didn’t support 4K windows.

As for .ini file it understands all the options in the one in repo.

Re: QL emulation on Linux - is there anything mainstream ?

Posted: Sat Sep 11, 2021 7:34 pm
by mfro
QPCII works fine with Wine for me

Re: QL emulation on Linux - is there anything mainstream ?

Posted: Sat Sep 11, 2021 8:25 pm
by Derek_Stewart
Hi,

I use Linux Mint 19.3, which I have all QL emulators running:

Wine: QPC2, Qemulator, Qlay
Java: SMSQmulator
Compiled Linux: UQLX, sQLux
Dosbox: QPC1

UQLX sQLux, were compiled from the source code, with all depenancies satisfied, on Mint Linux and Raspberry Pi.

The Wine platform for QPC2 is very stable and with SMSQmulator is my main QL emulator use.

Re: QL emulation on Linux - is there anything mainstream ?

Posted: Sat Sep 11, 2021 10:34 pm
by Ruptor
Brane2 wrote:If it doesn't run wayland, it's useless to me. With all those government-funded crews rummaging around, anything non-hardened,non-selinux, non-wayland is useless.
Nothing is secure attached to the internet so if you want 100% secure you don't connect. The internet is irrelevant to the QL anyway so the obvious path is use a separate disconnected machine for QL emulations work.

Re: QL emulation on Linux - is there anything mainstream ?

Posted: Sat Sep 11, 2021 10:46 pm
by Derek_Stewart
HI,

i looked at Wayland a while back, but did not fancy thecwork involved in getting a working system running.

But on saying thst, I will have another look at it.

What do you recommend?

I domnot like Reddit...

Re: QL emulation on Linux - is there anything mainstream ?

Posted: Sat Sep 11, 2021 11:32 pm
by Derek_Stewart
Hi,

I think Gentoo is not for me.

Re: QL emulation on Linux - is there anything mainstream ?

Posted: Sun Sep 12, 2021 8:36 am
by XorA
XorA wrote:
Brane2 wrote:Errrm, WRT to sQLx, I managed to patch it to work now for me with wayland.

If anyone is interested:
--- a/SDL2screen.c
+++ b/SDL2screen.c
@@ -62,6 +62,7 @@

if (sdl_video_driver != NULL &&
(strcmp(sdl_video_driver, "x11") == 0) ||
+ (strcmp(sdl_video_driver, "wayland") == 0) ||
(strcmp(sdl_video_driver, "cocoa") == 0) ||
(strcmp(sdl_video_driver, "windows") == 0) && sdl_mode.w >= 800 &&
sdl_mode.h >= 600) {
Feel free to put in a github PR for that, or Ill incorporate it when I get round to it.
I haven't tried it, but probably the same fix should be applied to uQLx and during configuration, uQLx probably has to be configured with
--enable-sdl2
uQLx has no SDL support so that won't help!

Re: QL emulation on Linux - is there anything mainstream ?

Posted: Sun Sep 12, 2021 8:41 am
by XorA
Arse, something is wrong with the forum, I did not mean to delete your last post Brane2!

Re: QL emulation on Linux - is there anything mainstream ?

Posted: Sun Sep 12, 2021 10:20 am
by NormanDunbar
brane2 wrote:On top of that, air-gap won't help you with the stuff like EMI scan of your equioment and sniffing your parssword off your brain through RF:
Oh dear! Whatever next I wonder?