Page 34 of 34
Re: Q_Liberator malaise
Posted: Tue Sep 02, 2025 5:55 pm
by Peter
RalfR wrote: Tue Sep 02, 2025 3:38 am
Peter wrote: Sun Aug 31, 2025 9:38 pmAt the moment I use only QLib programs which already have a built-in in runtime
The solution is actually quite simple: simply load "QLib_run" in the boot program, then everything will work....
Not reliably, because there were different versions of "QLib_run". If the library is contained in the executable, I'm sure to have the right one.
Also I don't like to always load extensions that I may not always need, especially messy software like QLiberator.
Re: Q_Liberator malaise
Posted: Wed Sep 03, 2025 10:25 am
by Martin_Head
pjw wrote: Tue Sep 02, 2025 3:29 pm
It works a treat, Martin, at least on the program I tried it on. Thank you

The removal program appears to remove 114 bytes more than the size of the Qlib_run I just compiled into it. Is that normal?
Adding it again using your program restores the object to the "correct" size, ie 114 bytes less than the compiler managed.
Either way, the object program worked as it should.
I don't know offhand what the 114 bytes are. For my testing I have three programs that I have compiled twice, once with the runtimes included, and once without them.
Then after using one of my programs, I do a byte for byte comparison with it's opposite number to make sure they were exactly the same.
Re: Q_Liberator malaise
Posted: Sat Sep 06, 2025 10:52 am
by Martin_Head
At the risk of setting myself up...
Are there any other QLib utilities that are wanted? I don't mean improvements to QLib itself, but things like the add/remove runtimes programs.
Having said that, There is mention in the user manual on the subject of the 'Trace' option, of a possible 'debugger' for QLib programs. Is there any interest in one of these? What features would be wanted?
I think it would involve a replacement runtimes module.
Re: Q_Liberator malaise
Posted: Sat Sep 06, 2025 11:11 am
by dilwyn
A trace and debugger module allowing single stepping (as the manual suggested) would certainly be useful.
I see the manual hints that, for example, "TRACE occupies the first reserved entry in the QLIB_USE parameter list". If such "hooks" already exist in the code to some degree, it gives you a starting point as to how to go about implementing it.
Re: Q_Liberator malaise
Posted: Sat Sep 06, 2025 11:44 am
by RalfR
Trace would be great, of course. So far, I've always helped myself by inserting a PAUSE at certain points, but that's not so great either.
Re: Q_Liberator malaise
Posted: Sat Sep 06, 2025 7:42 pm
by NormanDunbar
A tracs and or debugger? Yes please!
Cheers,
Norm.