GideonZ / 1541ultimate

Official GIT archive of 1541 ultimate II sources
GNU General Public License v3.0
177 stars 45 forks source link

Sid detection #72

Open MichaelTroelsen opened 5 years ago

MichaelTroelsen commented 5 years ago

Is there anyway to detect ultisid on a Ultimate64/UltimateII+ from assembler in the same way that it can be done with other SIDs? ARMsid and SwindSID Ultimate allow setting $D41D, $D41E, $D41F with the value "SID" You can then read the value back from the same registers to determine if a ARMSID or SwindSID Ultimate is installed. FPGA sid use a simular princip by setting $D419 and D41A with a magic cookie. You can then read the value back from the $D41e and $D41F to determine if a FPGASID is installed.

Would it be possible to implement this? I would also like for it to be possible to read the SIDtype (6581/8580).

I have written a small program for this. https://csdb.dk/release/?id=176909

GideonZ commented 5 years ago

Detection on the Ultimate-64 would be possible. However, it is not possible on the U2+, because there the UltiSid is never read.