QL emulation on Linux - is there anything mainstream ?

Discussion and advice about emulating the QL on other machines.
User avatar
mk79
QL Wafer Drive
Posts: 1349
Joined: Sun Feb 02, 2014 10:54 am
Location: Esslingen/Germany
Contact:

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

Post 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.


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

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

Post 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.


mfro
ROM Dongle
Posts: 5
Joined: Sun Jun 13, 2021 7:38 am

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

Post by mfro »

QPCII works fine with Wine for me


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

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

Post 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.


Regards,

Derek
User avatar
Ruptor
Gold Card
Posts: 418
Joined: Fri Dec 20, 2019 2:23 pm
Location: London

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

Post 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.


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

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

Post 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...


Regards,

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

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

Post by Derek_Stewart »

Hi,

I think Gentoo is not for me.


Regards,

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

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

Post 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!


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

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

Post by XorA »

Arse, something is wrong with the forum, I did not mean to delete your last post Brane2!


User avatar
NormanDunbar
Forum Moderator
Posts: 2251
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

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

Post 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?


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Post Reply