Page 7 of 33

Re: FPGA replacment for the ZX8301 ULA and more

Posted: Fri Oct 20, 2023 12:02 pm
by dilwyn
So it must have been only from Super Gold Card then. Part of the QDOS Official Secrets Act again.

$A1 is dec. 32 on a Super Gold Card in QDOS (JS ROM), indicating 68020 processor. $A7 is 0

I was obviously wrong about this, but I distinctly remember Stuart Honeyball telling me about this when I asked if there was a way to detect different processors etc. before SMSQE came along.

Very sorry. I will never bother answering questions again.

Re: FPGA replacment for the ZX8301 ULA and more

Posted: Fri Oct 20, 2023 12:25 pm
by Peter
dilwyn wrote: Fri Oct 20, 2023 12:02 pm Very sorry. I will never bother answering questions again.
Please don't be sorry, Dilwyn. Thanks to you and Tobias, I have learned something interesting. Also you have drawn attention to an important issue.
In my opinion, the best would be a little program which can run under all operatings systems and does not permanently occupy memory, in case of being run on a 128 KB QL.

Shame on me, the Q68 does not provide a direct identification in hardware, so some indirect check would be needed. E.g. the presence of the high resolution timer is unique.

Re: FPGA replacment for the ZX8301 ULA and more

Posted: Fri Oct 20, 2023 7:44 pm
by Derek_Stewart
Hi,

On the Q68, the SMSQ/E MACHINE function returns 18, so if SMSQ/E is used all is identified.

Minerva4Q68, like Minerva and other QDOS variants do not have a MACHINE extension, but there is a programme on the QL Homepage that can do this, whether this will help with identification of the version of QL hardware is unsure.

Maybe the QIMSI firmware, would have a function defined to return the version of QIMSI or QL-SD.

Re: FPGA replacment for the ZX8301 ULA and more

Posted: Fri Oct 20, 2023 10:31 pm
by janbredenbeek
Derek_Stewart wrote: Fri Oct 20, 2023 7:44 pm Minerva4Q68, like Minerva and other QDOS variants do not have a MACHINE extension, but there is a programme on the QL Homepage that can do this, whether this will help with identification of the version of QL hardware is unsure.
It's actually very easy to add this, I will put it on my to-do list.
Maybe the QIMSI firmware, would have a function defined to return the version of QIMSI or QL-SD.
AFAIK currently the only way is to test the ROM signon message at $C00A.

Re: FPGA replacment for the ZX8301 ULA and more

Posted: Sat Oct 21, 2023 12:16 am
by Peter
The QIMSI register QL_SND_WRITE always returns $51. Not perfect as a magic number, but at least independent from the ROM. I think we should go back on topic though.

Re: FPGA replacment for the ZX8301 ULA and more

Posted: Sat Nov 11, 2023 5:06 am
by M68008
dilwyn wrote: Thu Oct 19, 2023 9:40 pm
WHICH MACHINE AM I RUNNING ON?


...


630 =12,13: PRINT"Super Gold Card"
640 =16,17: PRINT"Falcon"
650 =17,18: PRINT"Q40"
655 =20,21: PRINT"SMSQmulator"
660 =24,25: PRINT"Atari TT 030"
670 =28,29: PRINT"QXL"
680 =30,31: PRINT"QPC"
690 =REMAINDER : PRINT"Unknown"
700 END SELect
710 IF machine_type && 1 : PRINT"Hermes or Blitter installed"
Btw, Q-emuLator uses machine ID 26 (I sent a SMSQ/e change for this to Wolfgang a couple of years ago)

Re: FPGA replacment for the ZX8301 ULA and more

Posted: Sat Nov 11, 2023 10:23 am
by Derek_Stewart
HI According to SMSQ/E Reference Manual, the MACHINE types are:

0: for all ordinary ST's without realtime-clock.
2: for Mega ST or ST's with realtime clock.
4: for Stacy.
6: for ordinary STE.
8: for Mega STE.
10: for GoldCard.
12: for SuperGoldCard.
16: for the Falcon 030.
17: for the Q40/Q60.
20: for SMSQmulator.
24: for the TT.
28: for the QXL.
30: for QPC

There seems an ommission on the Q68 and Q-emuLator

18: for Q68
26: for Q-emuLator

I will ask Wolfgang to update this.

Also the SBASIC/SuperBASIC Reference Manual Online version seems very out of date.

Re: FPGA replacment for the ZX8301 ULA and more

Posted: Sat Nov 11, 2023 6:41 pm
by NormanDunbar
Hi Derek.

I'll attempt to update the online manual soon. Thanks for the info.

Cheers,
Norm.

Re: FPGA replacment for the ZX8301 ULA and more

Posted: Sat Nov 11, 2023 7:50 pm
by NormanDunbar
NormanDunbar wrote: Sat Nov 11, 2023 6:41 pm I'll attempt to update the online manual soon. Thanks for the info.
EDIT. To correct the info.

Oh hum, I tried an update but the build failed as the OAuth on my GitHub hadn't been allowed access from ReadTheDocs. I fixed that and the build failed with another problem that is supposed to have been fixed. I've raised an issue.

Cheers,
Norm.

Re: FPGA replacment for the ZX8301 ULA and more

Posted: Mon Nov 13, 2023 1:51 pm
by NormanDunbar
This is now fixed. See main thread at viewtopic.php?p=53323#p53323 for details.

Cheers,
Norm.