QL on the Raspberry Pi...?

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

Re: QL on the Raspberry Pi...?

Postby Sparrowhawk » Fri Jan 22, 2021 4:01 pm

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
Gold Card
Posts: 357
Joined: Wed Dec 15, 2010 12:33 pm
Location: @131072
Contact:

Re: QL on the Raspberry Pi...?

Postby Sparrowhawk » Sat Jan 23, 2021 4:23 pm

Success! :)
sqlux.png
sqlux2.png
sqlux2.png (8.49 KiB) Viewed 611 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
Gold Card
Posts: 357
Joined: Wed Dec 15, 2010 12:33 pm
Location: @131072
Contact:

Re: QL on the Raspberry Pi...?

Postby Sparrowhawk » Sat Jan 23, 2021 5:28 pm

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


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

Re: QL on the Raspberry Pi...?

Postby XorA » Sat Jan 23, 2021 8:00 pm

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
Gold Card
Posts: 357
Joined: Wed Dec 15, 2010 12:33 pm
Location: @131072
Contact:

Re: QL on the Raspberry Pi...?

Postby Sparrowhawk » Sun Jan 24, 2021 12:11 pm

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

Postby tcat » Sun Feb 28, 2021 7:56 am

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
Aurora
Posts: 767
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QL on the Raspberry Pi...?

Postby XorA » Sun Feb 28, 2021 10:55 am

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

Postby tcat » Sun Feb 28, 2021 11:31 am

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
Aurora
Posts: 767
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QL on the Raspberry Pi...?

Postby XorA » Sun Feb 28, 2021 11:36 am

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

Postby tcat » Sun Feb 28, 2021 1:14 pm

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.



Who is online

Users browsing this forum: No registered users and 3 guests