Search found 996 matches

by Martin_Head
Sat Aug 02, 2025 11:34 am
Forum: Software & Programming
Topic: Q_Liberator malaise
Replies: 313
Views: 55669

Re: Q_Liberator malaise


But it falls apart with the cache on. I don't know why this happens.

Think of the cache as a lookup table.

You have a cacheline referenced by address so if you had

X = 0x1000XXXX
Y = 0x0000XXXX

Then even though XXXX is the same on both the cache has two different copies. So if you write ...
by Martin_Head
Fri Aug 01, 2025 11:47 am
Forum: Software & Programming
Topic: Q_Liberator malaise
Replies: 313
Views: 55669

Re: Q_Liberator malaise


As I understand it so far, the problem lies in the Q_ERR mechanism and also in the handling of integer FOR loops.

So any program that doesn't use either should work?


QLiberator uses the top 3 bits of the 'value' long word pointer in name table entries as flags.

One bit flags that this name ...
by Martin_Head
Mon Jul 21, 2025 10:59 am
Forum: Software & Programming
Topic: Q_Liberator malaise
Replies: 313
Views: 55669

Re: Q_Liberator malaise


Ideally, to my mind, would be to devise a different scheme for doing this that would work transparently for all systems and without slowing things down by having to test for CPU type and flushing caches..

Any thoughts? Anyone?


The new Q_ERR is probably not noticeably slower than the original ...
by Martin_Head
Sun Jul 20, 2025 10:59 am
Forum: Software & Programming
Topic: Q_Liberator malaise
Replies: 313
Views: 55669

Re: Q_Liberator malaise

The original Q_ERR plays the same game as FOR in the runtimes. Where it uses a bit in the name table, value pointer, as a flag. Which seems to upset the Q60 cache.

This flag marks a name table entry as being handled by Q_ERR_ON. Q_ERR maintains a list of small bits of code that convert each ...
by Martin_Head
Fri Jul 18, 2025 2:53 pm
Forum: Software & Programming
Topic: Q_Liberator malaise
Replies: 313
Views: 55669

Re: Q_Liberator malaise

And here's with normal runtimes
Image9.png
Image11.png
Image10.png
by Martin_Head
Fri Jul 18, 2025 2:51 pm
Forum: Software & Programming
Topic: Q_Liberator malaise
Replies: 313
Views: 55669

Re: Q_Liberator malaise



I have done the same patch for SQRview. It's just a shot in the dark to see if it fixes the problems with SQRview

Same as before LRESPR QERR601B_bin first

I don't know what you did to SQRview but I wonder if this will work.
Versions 1.01 & 1.02 have the old ('94) QLib_ext built in, so any ...
by Martin_Head
Thu Jul 17, 2025 5:02 pm
Forum: Software & Programming
Topic: Q_Liberator malaise
Replies: 313
Views: 55669

Re: Q_Liberator malaise


Hi Martin,
Thanks for your work and the rapid turnaround of a new software test.
Unfortunately I am again away from home and the Q60 and so I won't be able to test and report back until a week on Monday.

Cheers


I have done the same patch for SQRview. It's just a shot in the dark to see if it ...
by Martin_Head
Thu Jul 17, 2025 11:13 am
Forum: Software & Programming
Topic: Q_Liberator malaise
Replies: 313
Views: 55669

Re: Q_Liberator malaise

Try this.
qtrans2DB4.zip
(56.19 KiB) Downloaded 11 times
This is the original 'bodged' version of QTrans2. In which I have patched all the Q_ERR... keyword definitions to Q_XXX..

This is to 'disable' the built in Q_ERR keywords. Before EXECing the program, LRESPR the QERR601B_bin file to add the replacement Q_ERR keywords.
by Martin_Head
Thu Jul 17, 2025 8:51 am
Forum: Software & Programming
Topic: Q_Liberator malaise
Replies: 313
Views: 55669

Re: Q_Liberator malaise


I have found time to test qtrans2DB3A and qtrans2DB3B on my Q60.
The DB3A version when using the internal viewer stops at line 18232 with the program hanging as before. No channel open to the chosen file.

TheDB3B version steps through all the debugs steps and displays the chosen file. The file ...
by Martin_Head
Tue Jul 15, 2025 2:17 pm
Forum: Software & Programming
Topic: Q_Liberator malaise
Replies: 313
Views: 55669

Re: Q_Liberator malaise

Tried doing a build of QTrans2 again with the replacement Q_ERR commands.

And today it all went fine. I don't know what I was doing wrong yesterday.

Here are two versions of QTrans2. The DB3A has the new Q_ERR, without any data cache flush. And DB3B has the data cache flush.

I don't know if the ...