QL on the Raspberry Pi...?

Discussion and advice about emulating the QL on other machines.
User avatar
Sparrowhawk
Super Gold Card
Posts: 624
Joined: Wed Dec 15, 2010 12:33 pm
Location: @131072
Contact:

Re: QL on the Raspberry Pi...?

Post by Sparrowhawk »

Great stuff - now have issues with no existent paths, so it's reading the ini file correctly. I'll get those sorted over the weekend (should be working right now!)

Many thanks for your help :)


a.k.a. Jean-Yves
User avatar
Sparrowhawk
Super Gold Card
Posts: 624
Joined: Wed Dec 15, 2010 12:33 pm
Location: @131072
Contact:

Re: QL on the Raspberry Pi...?

Post by Sparrowhawk »

Success! :)
sqlux.png
sqlux2.png
sqlux2.png (8.49 KiB) Viewed 3271 times
I have a few more questions if you do not mind XorA:

1. How d I set the display to be 2x default (is that possible?)
2. Is there a way to swap mdv images while the emulator is running?
3. Just checking I have the latest version, as the runtime output says the version is 2018? I downloaded the source code from github - I assume latest is there?

Thanks again,
JY


a.k.a. Jean-Yves
User avatar
Sparrowhawk
Super Gold Card
Posts: 624
Joined: Wed Dec 15, 2010 12:33 pm
Location: @131072
Contact:

Re: QL on the Raspberry Pi...?

Post by Sparrowhawk »

I also now have SMSQmulator (Java 11 version) running. Very, very nice indeed.


a.k.a. Jean-Yves
User avatar
XorA
Site Admin
Posts: 1358
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QL on the Raspberry Pi...?

Post by XorA »

Sparrowhawk wrote:Success! :)
sqlux.png sqlux2.png

I have a few more questions if you do not mind XorA:

1. How d I set the display to be 2x default (is that possible?)
2. Is there a way to swap mdv images while the emulator is running?
3. Just checking I have the latest version, as the runtime output says the version is 2018? I downloaded the source code from github - I assume latest is there?

Thanks again,
JY
1. At the moment the window is dynamically resized I took out the zoom option as it was interfering with hidpi displays.
2. No
3. Yes, I’ll update that when I actually have it release ready.


User avatar
Sparrowhawk
Super Gold Card
Posts: 624
Joined: Wed Dec 15, 2010 12:33 pm
Location: @131072
Contact:

Re: QL on the Raspberry Pi...?

Post by Sparrowhawk »

Thanks for the info :)


a.k.a. Jean-Yves
tcat
Super Gold Card
Posts: 633
Joined: Fri Jan 18, 2013 5:27 pm
Location: Prague, Czech Republic

Re: QL on the Raspberry Pi...?

Post by tcat »

Hi,

Apologies, not my thread, but following discussion..

Wishing to catch up with recent sQLux development, thanks Graemme!
Realised needed two packages

Code: Select all

libsdl2-dev
libsld2-net-dev
I cannot run sQLux using existing config ~/.uqlxrc nor local sqlux.ini
While `uQLx' [uqlx-fork] picks it and runs normally.

Something not up to standard here, possibly.
S-O-S, many thanks.

Code: Select all

pi@raspberrypi:/usr/src/sQLux/build $ Using Config: ~/.uqlxrc
*** QL Emulator v0.50 ***
release 2018-10-28

Warning: could not find ROM image : No such file or directory
 - rom name /usr/local/lib/uqlx/romdir/tk2_ext 
Could not find expansion rom, exiting


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

Re: QL on the Raspberry Pi...?

Post by XorA »

tcat wrote:Hi,

Apologies, not my thread, but following discussion..

Wishing to catch up with recent sQLux development, thanks Graemme!
Realised needed two packages

Code: Select all

libsdl2-dev
libsld2-net-dev
I cannot run sQLux using existing config ~/.uqlxrc nor local sqlux.ini
While `uQLx' [uqlx-fork] picks it and runs normally.

Something not up to standard here, possibly.
S-O-S, many thanks.

Code: Select all

pi@raspberrypi:/usr/src/sQLux/build $ Using Config: ~/.uqlxrc
*** QL Emulator v0.50 ***
release 2018-10-28

Warning: could not find ROM image : No such file or directory
 - rom name /usr/local/lib/uqlx/romdir/tk2_ext 
Could not find expansion rom, exiting
Can you post the uqlxrc too?


tcat
Super Gold Card
Posts: 633
Joined: Fri Jan 18, 2013 5:27 pm
Location: Prague, Czech Republic

Re: QL on the Raspberry Pi...?

Post by tcat »

Here we go...

Code: Select all

ROMDIR = /usr/local/lib/uqlx/romdir
#SYSROM = minerva_rom
#SYSROM = min198_rom
SYSROM = js_rom
ROMIM = tk2_ext,0xc000
RAMTOP = 512
COLOUR = 1
REAL_WHITE = 1
FAST_START = 1
KEY_ON = 0
#XKEY_ON = 1
DO_GRAB = 1
PRINT = lpr
CPU_HOG = 0
#XKEY_ALT = Mode_switch   # use this to have AltGr as QDOS altkey
DEVICE = MDV1,/home/pi/mdv1/,qdos-like
DEVICE = MDV2,/home/pi/mdv2/,qdos-like
DEVICE = WIN1,/home/pi/,qdos-like
DEVICE = WIN2,/home/pi/,qdos-like
#DEVICE = FLP1,/dev/fd0,qdos-fs
DEVICE = RAM1,/tmp/.ram1-%x,clean,qdos-like
DEVICE = RAM2,/tmp/.ram2-%x,clean,qdos-like
DEVICE = RAM3,/tmp/.ram3-%x,clean,qdos-like
#DEVICE = RAM8,/tmp/.ram8-%x,clean,qdos-like
SER1 = /dev/ttyUSB0
SER2 = /dev/ttyUSB1


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

Re: QL on the Raspberry Pi...?

Post by XorA »

So I took out the load address on sQLux as it never worked on uQlx anyway.


Why it’s not printing that as part of the rom name is puzzling me. I’ll have to check later when on a computer.


tcat
Super Gold Card
Posts: 633
Joined: Fri Jan 18, 2013 5:27 pm
Location: Prague, Czech Republic

Re: QL on the Raspberry Pi...?

Post by tcat »

So I took out the load address on sQLux as it never worked on uQlx anyway.
Ah, actually removing the load address, did it!
Works.
Thanks
Last edited by tcat on Sun Feb 28, 2021 1:44 pm, edited 2 times in total.


Post Reply