QL on the Raspberry Pi...?

Discussion and advice about emulating the QL on other machines.
User avatar
TMD2003
ROM Dongle
Posts: 34
Joined: Sat Oct 10, 2020 12:18 pm

QL on the Raspberry Pi...?

Postby TMD2003 » Sun Oct 18, 2020 10:11 pm

Again, this may appear to be a noobish question, so bear with me.

I have an original-model (2012) Raspberry Pi, the one with two USB ports and... not a lot going for it. And I'm not terribly familiar with these sub-computer systems (as we might call them), other than them being ARM-based bare boards that can run some form of Linux. My Pi is old enough that it could only run Raspbian up to a version released circa mid-2016, any newer than that and it really struggles.

Pis are usually seen as being suitable for retro-computing, and I'd assume that something like uQLx could potentially run through Raspbian. I think, though, if I could ever get that working, it'd be slower than treacle running down a very gentle slope in a Siberian winter*. I haven't tried RetroPie on it yet, even though I'll probably get around to that at some stage...

...and the reason for the delay is because, back in my regular haunt of Spectrum-ville, there exists ZXBaremulator. It emulates a 48K model, 128K and +2A without needing any other operating system - no RetroPie, no Raspian, nowt - and it works very effectively, even on a 2012 Pi. Furthermore, I just found myself looking at a thread that referred to the QL on a Mister system - which is one of those Pi-like sub-computers (isn't it?) - so the thought occurs, might a bare-metal QL emulator for the Pi be possible - or does one exist anyway, that I was unaware of?

It'd be a slightly strange experience as I do have a CRT TV, though the composite output on the Pi only puts out a black and white picture to that TV. To my main LED TV, it's in colour whether it's coming through the composite or HDMI, which tells me it's the TV that's acting odd, not the Pi, and that's good to know.


* Note that I can't take credit for that... but it is derived from a review of my Spectrum meisterwerk from earlier this year!


Spectribution: Dr. Jim's Sinclair computing pages.
Features my own programs, modified type-ins, RZXs, character sets & UDGs, and QL type-ins... so far!
User avatar
janbredenbeek
Gold Card
Posts: 408
Joined: Wed Jan 21, 2015 4:54 pm
Location: Hilversum, The Netherlands

Re: QL on the Raspberry Pi...?

Postby janbredenbeek » Mon Oct 19, 2020 11:49 pm

I have a Raspberry Pi model 3B which runs the ARM v7 version of uqlx successfully at a speed about 100 times the original QL.
Have no idea though whether it works on the original Pi. I suspect it will be somewhat slower but still faster than a BBQL.

Jan


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

Re: QL on the Raspberry Pi...?

Postby NormanDunbar » Tue Oct 20, 2020 4:10 pm

I remember Tobias' version of uQLx running happily on my Raspberry Pi, V1B, with 256 RAMs. I bought mine just before they upgraded to 512 RAMs.

Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals - https://www.amazon.co.uk/Arduino-Softwa ... 1484257898, https://www.apress.com/gb/book/9781484257890
User avatar
tofro
Font of All Knowledge
Posts: 2063
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: QL on the Raspberry Pi...?

Postby tofro » Tue Oct 20, 2020 4:30 pm

uqlx actually runs quite well on the original RPI. For the intended application, however, there's a significant flaw: uqlx doesn't really emulate MODE 8 on the emulated QL.

Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Derek_Stewart
Font of All Knowledge
Posts: 2062
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: QL on the Raspberry Pi...?

Postby Derek_Stewart » Tue Oct 20, 2020 11:12 pm

Hi,

I compiled sQLux on a Raspberry PI Zero v1.2, which was slow, but worked okay.

The emulator runs better on faster RPIs

tofro wrote:uqlx actually runs quite well on the original RPI. For the intended application, however, there's a significant flaw: uqlx doesn't really emulate MODE 8 on the emulated QL.

Tobias


Can you write the commands in the UQLX C source to give Mode 8 graphics?


Regards,

Derek
User avatar
XorA
Super Gold Card
Posts: 646
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QL on the Raspberry Pi...?

Postby XorA » Thu Oct 29, 2020 6:29 pm

uQlx is currently the goto emulator on pi0/1.

I started a new Linux job and haven’t had time to fix sQLux yet.


User avatar
Pr0f
Super Gold Card
Posts: 703
Joined: Thu Oct 12, 2017 9:54 am

Re: QL on the Raspberry Pi...?

Postby Pr0f » Mon Nov 02, 2020 11:07 am

I just saw that - resisting urge not to buy one - as I don't have an immediate need for it, but then I am sure I can find one.

Have to Pi4 boards already for 2 projects I have already - CAR PC GPS/Head unit extension, and a platform for HI quality camera and telescope control, so I can leave the scope setup outside, and sit inside on my laptop and stargaze in the warm :-)


User avatar
Ruptor
Trump Card
Posts: 205
Joined: Fri Dec 20, 2019 2:23 pm

Re: QL on the Raspberry Pi...?

Postby Ruptor » Mon Nov 02, 2020 1:07 pm

:|
RalfR wrote:What a nice idea, the PI 400 with a keyboard:
A QL using a better chip 35 years later I think and It could boot uQlx to be a QL. :) Will it have membrane problems in 30 years?


User avatar
RalfR
Gold Card
Posts: 490
Joined: Fri Jun 15, 2018 8:58 pm

Re: QL on the Raspberry Pi...?

Postby RalfR » Mon Nov 02, 2020 5:47 pm

Ruptor wrote:Will it have membrane problems in 30 years?
Of course but just if QDOS, Minerva or SMSQ was run :D :D



Who is online

Users browsing this forum: No registered users and 2 guests