FPGA replacment for the ZX8301 ULA and more

Nagging hardware related question? Post here!
Post Reply
User avatar
dilwyn
Mr QL
Posts: 2778
Joined: Wed Dec 01, 2010 10:39 pm

Re: FPGA replacment for the ZX8301 ULA and more

Post 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.


User avatar
Peter
Font of All Knowledge
Posts: 2029
Joined: Sat Jan 22, 2011 8:47 am

Re: FPGA replacment for the ZX8301 ULA and more

Post 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.


Derek_Stewart
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

Post 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.


Regards,

Derek
User avatar
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

Post 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.


User avatar
Peter
Font of All Knowledge
Posts: 2029
Joined: Sat Jan 22, 2011 8:47 am

Re: FPGA replacment for the ZX8301 ULA and more

Post 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.


User avatar
M68008
Trump Card
Posts: 230
Joined: Sat Jan 29, 2011 1:55 am
Contact:

Re: FPGA replacment for the ZX8301 ULA and more

Post 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)


Derek_Stewart
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

Post 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.


Regards,

Derek
User avatar
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

Post by NormanDunbar »

Hi Derek.

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.
User avatar
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

Post 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.


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.
User avatar
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

Post by NormanDunbar »

This is now fixed. See main thread at viewtopic.php?p=53323#p53323 for details.

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.
Post Reply