GideonZ / 1541ultimate

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

ARM2SID FM not playing FM on FW > 1.22 #124

Closed berrydejager closed 4 years ago

berrydejager commented 4 years ago

When using the FW 1.22 on a 1.3 Elite board the FM is playing correct (SID1=$D400, SID2=$DF00) while running FM-YAM Demo Casu Quo by Xentax.

Upgrading to FW >1.22 prevents the FM synthesis from playing sounds.

Hardware used: U64 Elite v1.3 ARM2SID +FM

GideonZ commented 4 years ago

Does this also apply to 1.26?

On Fri, Dec 13, 2019, 22:52 Berry de Jager notifications@github.com wrote:

When using the FW 1.22 on a 1.3 Elite board the FM is playing correct (SID1=$D400, SID2=$DF00) while running FM-YAM Demo Casu Quo by Xentax https://csdb.dk/release/?id=160488.

Upgrading to FW >1.22 prevents the FM synthesis from playing sounds.

Hardware used: U64 Elite v1.3 ARM2SID +FM https://www.retrocomp.cz/produkt?id=20

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GideonZ/1541ultimate/issues/124?email_source=notifications&email_token=ACUFDSI4C3V3I6WAL2GFCO3QYP7ZTA5CNFSM4J2WSJR2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IAOCSEA, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUFDSJL5BG2K2WWEMF3WWDQYP7ZTANCNFSM4J2WSJRQ .

berrydejager commented 4 years ago

Yes, the 1.26 has the same not-playing-FM-behaviour. Also confirmed on FB

chrisblown commented 4 years ago

Yes, I'm experiencing the same problem on 1.26 on my U64 (v1.2a) with ARM2SID +FM

GideonZ commented 4 years ago

I ordered an ARM2SID+FM and got a confirmation that it is on its way. Once I received it, I will investigate it further.

On Sat, Jan 4, 2020, 11:04 chrisblown notifications@github.com wrote:

Yes, I'm experiencing the same problem on 1.26 on my U64 (v1.2a) with ARM2SID +FM

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GideonZ/1541ultimate/issues/124?email_source=notifications&email_token=ACUFDSOQJMBFL4I27GQCBT3Q4BNL3A5CNFSM4J2WSJR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEICUZCA#issuecomment-570772616, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUFDSKPW2XG64DAHIICXCLQ4BNL3ANCNFSM4J2WSJRQ .

berrydejager commented 4 years ago

When defining the second sid at $DF40, the FM works again, also with the new 1.26 firmware.

Case closed!

GideonZ commented 4 years ago

Cool.. These are the best kinds of problems, that are solved all by themselves. I still would need to know why it worked on 1.22, while the address range was set to $DF00 ONLY. Maybe it was a bug in 1.22 that made it work?

berrydejager commented 4 years ago

More info on the YM3812 and its $DF40 addressing: http://c64.xentax.com/index.php/15-testing-ym3812-register-write-timing

chrisblown commented 4 years ago

Thx I'll try it out.. though I swear I tried various addresses with mirror off and on.. If you don't mind what are your exact settings?

GideonZ commented 4 years ago

I know that mirroring only works in the D400-D7FF range. However, setting the external address line to A5, mirroring on $20 will be turned on. In other words, if DF40 is selected, and A5 is set as external address split, DF60 is enabled as well. According to the link, DF60 is used for status readback.

So, the setting should be: DF40 + Split on A5.

Gideon

On Sun, Jan 19, 2020 at 11:50 AM markusC64 notifications@github.com wrote:

An educated guess: The mentioned settings from firmware 1.22 sounds like "no mirroing, only the given address (size $20). And with newer firmware, automirroring might be turned on (not mentioned), and setting the 2nd sid to $df40 makes automirroring not to include $df40 for the first sid.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GideonZ/1541ultimate/issues/124?email_source=notifications&email_token=ACUFDSMOVNBNQZKTBBRUUX3Q6QV63A5CNFSM4J2WSJR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJKPBCI#issuecomment-575991945, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUFDSJ2NPZI45YHSMJQELTQ6QV63ANCNFSM4J2WSJRQ .

chrisblown commented 4 years ago

Confirmed $DF40 working here too. Although the YM feature isn't detected it works.

GideonZ commented 4 years ago

If it is not detected, you probably have not set the Split on A5, as mentioned before. This enables the range DF60-DF7F, which is required for reading the status register.

On Sun, Jan 19, 2020 at 12:31 PM chrisblown notifications@github.com wrote:

Confirmed $DF40 working here too. Although the YM feature isn't detected it works.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GideonZ/1541ultimate/issues/124?email_source=notifications&email_token=ACUFDSN7NNNX6SVUI6JRV53Q6Q2X5A5CNFSM4J2WSJR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJKP32I#issuecomment-575995369, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUFDSPAP7BQPLGD6D73PELQ6Q2X5ANCNFSM4J2WSJRQ .

SquireOfGothos commented 4 years ago

Just to clarify there is another setting under 'C64 and Cartridge Settings called Map Ultimate Audio $DF20-DFFF' that needs to be disabled for FM to work.