QL on the Raspberry Pi...?

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

Re: QL on the Raspberry Pi...?

Postby mk79 » Thu Nov 05, 2020 6:45 pm

NormanDunbar wrote:And ARM assembly is just weird. (Dons flameproof suit.....)
Anybody still writing that much assembler is mad in any case, no matter the processor But it allowed me to do many tricks that are simply impossible to express in a higher language, so this is one of the very few cases where even the best compiler cannot beat a human.

That's more than a long time, that's serious dedication. And thanks for all you have done over the years, without QPC, I'd have no QLing.
So in part people have to thank me for the all the stuff you do for the community, hehe :-P No, thanks Norman, glad to hear it.

Cheers, Marcel


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

Re: QL on the Raspberry Pi...?

Postby NormanDunbar » Thu Nov 05, 2020 6:50 pm

mk79 wrote:So in part people have to thank me for the all the stuff you do for the community, hehe :-P


Compared to you, I do nothing.

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
mk79
Aurora
Posts: 958
Joined: Sun Feb 02, 2014 10:54 am
Location: Esslingen/Germany
Contact:

Re: QL on the Raspberry Pi...?

Postby mk79 » Thu Nov 05, 2020 6:50 pm

XorA wrote:Sorry I missed the smiley I meant to put on the statement as I know youve detailed that before.
:-) I usually cannot remember what I wrote or told people, so I don‘t expect most people to remember either ;)
The DirectX/Windows APIs would not be my worry on that as wine project is also a linkable library so there is a native linux ARM implementation of those.
Ah, I forgot about that option, good point.


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 » Thu Nov 26, 2020 11:18 am

XorA wrote:uQlx is currently the goto emulator on pi0/1.

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

SQLux has had some improvements lately on Pi. On Pi0/1 devices it seems to be running well outside of x11 if people want to play. Bugs can be reported on the GitHub.


Sent from my iPhone using Tapatalk


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 11:29 am

XorA wrote:SQLux has had some improvements lately on Pi. On Pi0/1 devices it seems to be running well outside of x11 if people want to play. Bugs can be reported on the GitHub.


Hi, I just tried compiling this on my Pi400 but the SDL2 libs are not installed. Could you let me know which libs need to be installed?

Code: Select all

apt search sdl2
gave me a load, none of which seemed quite right?

Note: I'm running Ubuntu MATE, not Raspian, in case that makes a difference

Thanks


a.k.a. Jean-Yves !
User avatar
NormanDunbar
Forum Moderator
Posts: 1545
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: QL on the Raspberry Pi...?

Postby NormanDunbar » Fri Jan 22, 2021 12:08 pm

Try this search:

Code: Select all

apt search libSDL2

.... lots of output here.


I think, if I remember correctly, you need these installed for 64 and 32 bit development (compiling) and also for running the application:

Code: Select all

i   libsdl2-2.0-0                   - Simple DirectMedia Layer                 
i A libsdl2-2.0-0:i386              - Simple DirectMedia Layer                 
i   libsdl2-dev                     - Simple DirectMedia Layer development files


That's what I've got installed anyway.

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
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 » Fri Jan 22, 2021 1:55 pm

Code: Select all

 libsdl2-dev


Is the essential package!


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 3:52 pm

Many thanks, libs installed ans sQLx built :) (Ubuntu MATE 20.10 64 bit).

I have copied the .uqlxrc from the uQLx repo, and added it to the dir in which I place dthe built binary. However, when I launch it, I get:

Code: Select all

ubuntu@ubuntu:/opt/sqlux$ ls -al
total 348
drwxr-xr-x 2 ubuntu ubuntu   4096 Jan 22 15:50 .
drwxr-xr-x 4 root   root     4096 Jan 22 10:49 ..
-rw-r--r-- 1 ubuntu ubuntu    836 Jan 22 15:45 .uqlxrc
-rwxr-xr-x 1 ubuntu ubuntu 340608 Jan 22 15:32 sqlux
ubuntu@ubuntu:/opt/sqlux$ ./sqlux
ERROR: did not locate config file
ubuntu@ubuntu:/opt/sqlux$



Content of file is:

Code: Select all

SYSROM = js_rom
ROMIM = tk2_rom,0xc000
ROMDIR = ~/qm/romdir/
RAMTOP = 16384
DEVICE = MDV1,~/qm/qldata/,qdos-like
DEVICE = MDV2,~/qm/qlsoft/,qdos-like
DEVICE = FLP1,~/qm/DiskImage2,qdos-fs
DEVICE = FLP2,~/qm/DiskImage,qdos-fs
DEVICE = FLP3,~/qm/DiskImage3,qdos-fs
DEVICE = WIN1,~/
DEVICE = WIN2,/
DEVICE = WIN3,~/PiQ/
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 = RAM4,/tmp/.ram4-%x/,clean,qdos-like
DEVICE = RAM5,/tmp/.ram5-%x/,clean,qdos-like
DEVICE = RAM6,/tmp/.ram6-%x/,clean,qdos-like
DEVICE = RAM7,/tmp/.ram7-%x/,clean,qdos-like
DEVICE = RAM8,/tmp/.ram8-%x/,clean,qdos-like
DEVICE = CD1            /* remove 'CD' device from QPAC entries */
DEVICE = MS1
COLOUR = 0

PRINT = lpr
CPU_HOG = 0      /* nice and friendly */
FAST_START = 1



I have created the ~/qm directories and placed the roms I listed in the above file in the ~/qm//romdir/ directory

Any further help gratefully received


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 » Fri Jan 22, 2021 3:53 pm

PS - I also tried without the leading period on the .uqlxrc file


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 » Fri Jan 22, 2021 3:54 pm

Sparrowhawk wrote:Many thanks, libs installed ans sQLx built :) (Ubuntu MATE 20.10 64 bit).

I have copied the .uqlxrc from the uQLx repo, and added it to the dir in which I place dthe built binary. However, when I launch it, I get:

Code: Select all

ubuntu@ubuntu:/opt/sqlux$ ls -al
total 348
drwxr-xr-x 2 ubuntu ubuntu   4096 Jan 22 15:50 .
drwxr-xr-x 4 root   root     4096 Jan 22 10:49 ..
-rw-r--r-- 1 ubuntu ubuntu    836 Jan 22 15:45 .uqlxrc
-rwxr-xr-x 1 ubuntu ubuntu 340608 Jan 22 15:32 sqlux
ubuntu@ubuntu:/opt/sqlux$ ./sqlux
ERROR: did not locate config file
ubuntu@ubuntu:/opt/sqlux$



Content of file is:


If you are putting the file in the same directory as the where you execute from then call it sqlux.ini

.uqlxrc is the legacy name and goes in $HOME

It will also search $HOME for .sqluxrc



Who is online

Users browsing this forum: No registered users and 3 guests