Minerva4Q68 v1.70 released

Anything QL Software or Programming Related.
User avatar
Peter
Font of All Knowledge
Posts: 2478
Joined: Sat Jan 22, 2011 8:47 am

Re: Minerva4Q68 v1.70 released

Post by Peter »

Hi Jan,
janbredenbeek wrote: Sat Aug 02, 2025 10:37 pm Thanks to Mark Swift, I fixed another long-standing bug that affects 68020+ processors. On these processors, the SSP would get a wrong value of $28482 instead of $28480 because the RTE instruction works differently. I'm not able to test this because I have no 68020+ equipment to test, but I'm curious about the result.
Can this fix be tested on a SuperGoldCard or is it patched there by the boot ROM?
Every improvement toward 68020+ is good news, maybe the QL60 can benefit.
janbredenbeek wrote: Sat Aug 02, 2025 10:37 pm I've also succeeded in extracting the Q68 SD card driver from the SMSQ/E source, but so far I haven't been able to get it working on Minerva.
This sounds very difficult. Wolfgang must have had similar issues when he originally did that. A somewhat easier approach might be to use the QL-SD driver and replace only the low level routines.

Thanks for your impressive work!
Peter


User avatar
janbredenbeek
Super Gold Card
Posts: 690
Joined: Wed Jan 21, 2015 4:54 pm
Location: Hilversum, The Netherlands
Contact:

Re: Minerva4Q68 v1.70 released

Post by janbredenbeek »

Peter wrote: Sun Aug 03, 2025 2:06 pm Hi Jan,
janbredenbeek wrote: Sat Aug 02, 2025 10:37 pm Thanks to Mark Swift, I fixed another long-standing bug that affects 68020+ processors. On these processors, the SSP would get a wrong value of $28482 instead of $28480 because the RTE instruction works differently. I'm not able to test this because I have no 68020+ equipment to test, but I'm curious about the result.
Can this fix be tested on a SuperGoldCard or is it patched there by the boot ROM?
Every improvement toward 68020+ is good news, maybe the QL60 can benefit.
Mark has reported this, see https://github.com/janbredenbeek/Minerva4Q68/issues/2. AFAIK it's not fixed by the SGC ROM.
Peter wrote: Sun Aug 03, 2025 2:06 pm
janbredenbeek wrote: Sat Aug 02, 2025 10:37 pm I've also succeeded in extracting the Q68 SD card driver from the SMSQ/E source, but so far I haven't been able to get it working on Minerva.
This sounds very difficult. Wolfgang must have had similar issues when he originally did that. A somewhat easier approach might be to use the QL-SD driver and replace only the low level routines.
The SMSQ/E driver relies on the THING system, which is, by default, not present in Minerva. It might also rely on other SMSQ/E-specific features.
Porting the QL-SD driver might be an option; it contains some BASIC commands like WIN_DRIVE, WIN_USE and WIN_CHECK which are not present in the current driver. On the other hand, CARD_INIT is missing which is something of a surprise as QL-SD supported two SD drives like the Q68?


Post Reply