Page 3 of 8
Re: QL on the Raspberry Pi...?
Posted: Thu Nov 05, 2020 6:45 pm
by mk79
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

No, thanks Norman, glad to hear it.
Cheers, Marcel
Re: QL on the Raspberry Pi...?
Posted: Thu Nov 05, 2020 6:50 pm
by NormanDunbar
mk79 wrote:So in part people have to thank me for the all the stuff you do for the community, hehe

Compared to you, I do nothing.
Cheers,
Norm.
Re: QL on the Raspberry Pi...?
Posted: Thu Nov 05, 2020 6:50 pm
by mk79
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.
Re: QL on the Raspberry Pi...?
Posted: Thu Nov 26, 2020 11:18 am
by XorA
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
Re: QL on the Raspberry Pi...?
Posted: Fri Jan 22, 2021 11:29 am
by Sparrowhawk
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?
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
Re: QL on the Raspberry Pi...?
Posted: Fri Jan 22, 2021 12:08 pm
by NormanDunbar
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.
Re: QL on the Raspberry Pi...?
Posted: Fri Jan 22, 2021 1:55 pm
by XorA
Is the essential package!
Re: QL on the Raspberry Pi...?
Posted: Fri Jan 22, 2021 3:52 pm
by Sparrowhawk
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
Re: QL on the Raspberry Pi...?
Posted: Fri Jan 22, 2021 3:53 pm
by Sparrowhawk
PS - I also tried without the leading period on the .uqlxrc file
Re: QL on the Raspberry Pi...?
Posted: Fri Jan 22, 2021 3:54 pm
by XorA
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