FPGA replacment for the ZX8301 ULA and more
Re: FPGA replacment for the ZX8301 ULA and more
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.
$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.
--
All things QL - https://dilwyn.qlforum.co.uk/index.html
All things QL - https://dilwyn.qlforum.co.uk/index.html
Re: FPGA replacment for the ZX8301 ULA and more
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.
-
- Font of All Knowledge
- Posts: 4005
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: FPGA replacment for the ZX8301 ULA and more
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.
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.
Regards,
Derek
Derek
- janbredenbeek
- Super Gold Card
- Posts: 635
- Joined: Wed Jan 21, 2015 4:54 pm
- Location: Hilversum, The Netherlands
Re: FPGA replacment for the ZX8301 ULA and more
It's actually very easy to add this, I will put it on my to-do list.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.
AFAIK currently the only way is to test the ROM signon message at $C00A.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
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
Btw, Q-emuLator uses machine ID 26 (I sent a SMSQ/e change for this to Wolfgang a couple of years ago)dilwyn wrote: ↑Thu Oct 19, 2023 9:40 pmWHICH 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"
-
- Font of All Knowledge
- Posts: 4005
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: FPGA replacment for the ZX8301 ULA and more
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.
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.
Regards,
Derek
Derek
- NormanDunbar
- Forum Moderator
- Posts: 2284
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Leeds, West Yorkshire, UK
- Contact:
Re: FPGA replacment for the ZX8301 ULA and more
Hi Derek.
I'll attempt to update the online manual soon. Thanks for the info.
Cheers,
Norm.
I'll attempt to update the online manual soon. Thanks for the info.
Cheers,
Norm.
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
- NormanDunbar
- Forum Moderator
- Posts: 2284
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Leeds, West Yorkshire, UK
- Contact:
Re: FPGA replacment for the ZX8301 ULA and more
EDIT. To correct the info.NormanDunbar wrote: ↑Sat Nov 11, 2023 6:41 pm I'll attempt to update the online manual soon. Thanks for 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.
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
- NormanDunbar
- Forum Moderator
- Posts: 2284
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Leeds, West Yorkshire, UK
- Contact:
Re: FPGA replacment for the ZX8301 ULA and more
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.