Q_Liberator malaise

Anything QL Software or Programming Related.
User avatar
BSJR
Trump Card
Posts: 223
Joined: Sun Oct 18, 2015 12:53 pm
Location: Amsterdam
Contact:

Re: Q_Liberator malaise

Post by BSJR »

Artificer wrote: Wed Jul 02, 2025 9:18 pm ...
SQRview remains a standalone. No error messages this time. Everything seems fine until an attempt to load a file causes it to lock up, interestingly SQRview does not have runtimes incorporated.

At the moment the Q604F runtimes are a major, major improvement.

Cheers and thanks
'
"So far this issue has been concentrating on QLib's "illegal" use of address bits. But as SQRview keeps falling over here, I wonder if other factors might be considered, apart from my programming skills.
One major component of SQRview is the DBAS engine for easier navigation through a picture directory. None of the other test subjects use this. Cold there be something similar at play here?
Does it lock up te same way with any file type?

SQRview has a config item to ignore DBAS so I wonder if a test with this item Off would make a difference.
Without reconfiguring, SQRview can also be started with "%D%" on the command line to toggle this On/Off.
Another test object could be SuQcess, where DBAS can not be ignored.

BSJR


Martin_Head
Aurora
Posts: 980
Joined: Tue Dec 17, 2013 1:17 pm

Re: Q_Liberator malaise

Post by Martin_Head »

Artificer wrote: Wed Jul 02, 2025 9:18 pm
qtrans was OK but slightly odd, in that it browses files, directories and execs files via FI2 but when asked to view a
file via its own internal viewer it hung up, otherwise it was OK.
Can you try this copy of QTrans.

It's not a fix. But it's a recompile, from a decompile of QTrans. With some debug messages added around the viewing of a file with the internal viewer. It will mess the screen up a bit, but it's only meant to see how far the program gets before it hangs in the Q60 with the cache on.

Test it first in QPC2 or the Q60 with the cache off, so you know what to expect to see. You can use the Q604F runtimes in QPC2.

I have included some screen shots of what to expect in QPC2.

Each message is followed by a PAUSE -1, so you need to hit a key to continue.

Hopefully it will help to point in the direction of the problem.
Attachments
Image2.png
Image4.png
Image5.png
qtran_debug.zip
(48 KiB) Downloaded 6 times


User avatar
Artificer
Trump Card
Posts: 160
Joined: Fri Nov 24, 2017 8:43 am

Re: Q_Liberator malaise

Post by Artificer »

BSJR wrote:
Another test object could be SuQcess, where DBAS can not be ignored.
Thanks for reminding me about SuQcess, all 3 versions of this that I have work perfectly with copyback on indicating that the DBAS file is not an issue with
SRQview. SuQcess is a lovely program with it's GD2 window.

Hello Martin,

I have screen shotted debug Qtrans. There are 3 .jpgs in the zip file.
Image 1 is debug_qtrans "raw" showing where it hangs while trying to display a text file in it's internal viewer.
Images 2 & 3 are debug_qtrans QEXECed showing that when helped by QEXEC it can pass through the point at which when "raw" it hangs
and display the same file as in image 1.

I look forward to hearing your findings from the code.
QTRNSDB.ZIP
(172.51 KiB) Downloaded 7 times
Cheers


User avatar
RalfR
QL Wafer Drive
Posts: 1206
Joined: Fri Jun 15, 2018 8:58 pm

Re: Q_Liberator malaise

Post by RalfR »

I thank everyone who takes the trouble to do this!


7000 4E75
Post Reply