Q_Liberator malaise
- Mark Swift
- Bent Pin Expansion Port
- Posts: 86
- Joined: Fri Jul 18, 2014 9:13 am
- Location: Blackpool, Lancs, UK
- Contact:
Re: Q_Liberator malaise
Hi all,
I hesitate to post untested code, but I am unlikely to get time to check this on my own hardware this weekend.
It's a patcher program which inserts code that flushes the data and instruction caches before suspicious instructions.
It does this by appending some routines to the end of the file, which I expect some code won't like.
Suspect code can be listed in a DATA statement at line 1100.
The example code "4EB13800", is the "jsr $00(a1,d3.l)" instruction that tofro suspected here
I find this a useful reference if I want to quickly hand code instead of assemble.
I don't know if it will fix anything, but if not it might be a useful starting point.
BTW, once patched there's no going back so make sure you keep your originals safe.
I hesitate to post untested code, but I am unlikely to get time to check this on my own hardware this weekend.
It's a patcher program which inserts code that flushes the data and instruction caches before suspicious instructions.
It does this by appending some routines to the end of the file, which I expect some code won't like.
Suspect code can be listed in a DATA statement at line 1100.
The example code "4EB13800", is the "jsr $00(a1,d3.l)" instruction that tofro suspected here
I find this a useful reference if I want to quickly hand code instead of assemble.
I don't know if it will fix anything, but if not it might be a useful starting point.
BTW, once patched there's no going back so make sure you keep your originals safe.
-
- Font of All Knowledge
- Posts: 4706
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: Q_Liberator malaise
HI:
Miracle Systems had a projected product called QXL Gold, which connected a Super Gold Card to a QXL, the project never came to sale, and Stuart Honeyball, was always a little evasive on the details of the hardware.
Back on topic:
But maybe a simpler project would be to build an existing 68040-68060 adapter on the QXL. But the problem of the QLliberator Cache Mode would still be a problem.
So is the lack of COPYBACK Cache mode on the 68060 attributed to the SMSQ/E operating system, or the Qliberator Runtimes.
SMSQ/E source code is commented, so we should know understand it, but the disassembly of QLIB_RUN is not, I can start commenting the disassembly. As all the SMSQ/E technical documentation is now available.
Miracle Systems had a projected product called QXL Gold, which connected a Super Gold Card to a QXL, the project never came to sale, and Stuart Honeyball, was always a little evasive on the details of the hardware.
Back on topic:
But maybe a simpler project would be to build an existing 68040-68060 adapter on the QXL. But the problem of the QLliberator Cache Mode would still be a problem.
So is the lack of COPYBACK Cache mode on the 68060 attributed to the SMSQ/E operating system, or the Qliberator Runtimes.
SMSQ/E source code is commented, so we should know understand it, but the disassembly of QLIB_RUN is not, I can start commenting the disassembly. As all the SMSQ/E technical documentation is now available.
Regards,
Derek
Derek
Re: Q_Liberator malaise
I ran the program once with the current Q_Liberator runtimes, here is the result:Mark Swift wrote: Sat Jan 18, 2025 1:10 am Hi all,
I hesitate to post untested code, but I am unlikely to get time to check this on my own hardware this weekend.
It's a patcher program which inserts code that flushes the data and instruction caches before suspicious instructions.
It does this by appending some routines to the end of the file, which I expect some code won't like.
Loading win1_system_qlib_run
Code len 10552
Preparing cpush code patch at 10560
Suspect code found at 1198
Creating new code patch at 10634
Patched code len 10644
Saving ram1_test_run
The patched runtimes run without problems (in QPC!).
I also tried it with my own editor just to try a program without linked runtimes:
Loading win1_sedit63_obj
Code len 70488
Preparing cpush code patch at 70496
Nothing to do
QLib_obj itself also wasn't patched.
7000 4E75
Re: Q_Liberator malaise
QLiberator. My problem with SMSQ/E is just that it did not default to copyback after 2.98p - thereby concealing the QLiberator malaise for decades at the cost of crippling the Q60 to half speed.Derek_Stewart wrote: Sat Jan 18, 2025 7:08 am So is the lack of COPYBACK Cache mode on the 68060 attributed to the SMSQ/E operating system, or the Qliberator Runtimes.
Re: Q_Liberator malaise
Hi Mark,
I'm in the process of building a new Q60 for someone to have a more in-depth look eventually.
In the short term that means I lack time to test myself.
All the best
Peter
Many thanks! Great that you have a go!Mark Swift wrote: Sat Jan 18, 2025 1:10 am I hesitate to post untested code, but I am unlikely to get time to check this on my own hardware this weekend.
I'm in the process of building a new Q60 for someone to have a more in-depth look eventually.
In the short term that means I lack time to test myself.
All the best
Peter
Re: Q_Liberator malaise
Has anyone tested this yet? Especially those with a Qx0 who are so eager for a solution. It should take no more than minutes to get an answer and yet we are still waiting to hear..Mark Swift wrote: Sat Jan 18, 2025 1:10 am Hi all,
I hesitate to post untested code, but I am unlikely to get time to check this on my own hardware this weekend.
It's a patcher program which inserts code that flushes the data and instruction caches before suspicious instructions.
It does this by appending some routines to the end of the file, which I expect some code won't like.
cpushaid.zip
Suspect code can be listed in a DATA statement at line 1100.
The example code "4EB13800", is the "jsr $00(a1,d3.l)" instruction that tofro suspected here
I find this a useful reference if I want to quickly hand code instead of assemble.
I don't know if it will fix anything, but if not it might be a useful starting point.
BTW, once patched there's no going back so make sure you keep your originals safe.
Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
Re: Q_Liberator malaise
Yes, I, it's higher up. Of course I can't test this on a Qx0 (just QPC), I don't have one. But it can be tested there by Derek, Mark or Tobias.pjw wrote: Sun Jan 19, 2025 2:10 pmHas anyone tested this yet? Especially those with a Qx0 who are so eager for a solution. It should take no more than minutes to get an answer and yet we are still waiting to hear..
7000 4E75
-
- Font of All Knowledge
- Posts: 4706
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: Q_Liberator malaise
Hi
I have 4 Q60 boards, that have minor startup faults,I will get this repaired and be able to help with the testing.
I have 4 Q60 boards, that have minor startup faults,I will get this repaired and be able to help with the testing.
Regards,
Derek
Derek
-
- Font of All Knowledge
- Posts: 4706
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: Q_Liberator malaise
Hi
Ralf asked in a PM, about is a Config Block entry to Enable/Disable MMU for Qliberator.
I have all the issues of SMSQ/E going back to v2.92 for the Q40. I had a look at the old SMSQ/E Q40.ROM files, to see when this Config Block entry was added. The Q40 the MMU config block option first appear in SMSQ/E v2.95.
SMSQ/E was handled over to Marcel at SMSQ/E v2.99, so the MMU config switch was probably done by Tony Tebby, so any information may not have been handled over.
I will have read the early documents again.
Ralf asked in a PM, about is a Config Block entry to Enable/Disable MMU for Qliberator.
I have all the issues of SMSQ/E going back to v2.92 for the Q40. I had a look at the old SMSQ/E Q40.ROM files, to see when this Config Block entry was added. The Q40 the MMU config block option first appear in SMSQ/E v2.95.
SMSQ/E was handled over to Marcel at SMSQ/E v2.99, so the MMU config switch was probably done by Tony Tebby, so any information may not have been handled over.
I will have read the early documents again.
Regards,
Derek
Derek
Re: Q_Liberator malaise
Im aware that you tested the program, but not its material effects. That is the issue now,RalfR wrote: Sun Jan 19, 2025 2:19 pmYes, I, it's higher up. Of course I can't test this on a Qx0 (just QPC), I don't have one. But it can be tested there by Derek, Mark or Tobias.pjw wrote: Sun Jan 19, 2025 2:10 pmHas anyone tested this yet? Especially those with a Qx0 who are so eager for a solution. It should take no more than minutes to get an answer and yet we are still waiting to hear..
Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen