handle all 4 SIDs on Mega65, tape turbo SFX should play on both left and right channels

This commit is contained in:
FeralChild64 committed 2020-05-26 22:21:23 +02:00
1 parent 82b7e85b48
commit 31b3bc38c9
8 files changed
+61 -5

No files matched your search

+15 -2
View File
@@ -59,10 +59,12 @@ IOINIT:
// Now silence the SID chip(s), depending on the configuration - we want them silent ASAP
//
// First the standard chip (skip if it is covered by whole $D4XX range)
lda #$00
#if !CONFIG_MB_MEGA65
// First the standard chip (skip if it is covered by whole $D4XX range)
#if !CONFIG_SID_D4XX
sta SID_SIGVOL
#endif // !CONFIG_SID_D4XX
@@ -100,6 +102,17 @@ IOINIT:
#endif // CONFIG_SID_D4XX || CONFIG_SID_D5XX
#else
// Mega65 specific handling - it contains 4 SIDs
sta SID_SIGVOL + __SID_R1_OFFSET
sta SID_SIGVOL + __SID_R2_OFFSET
sta SID_SIGVOL + __SID_L1_OFFSET
sta SID_SIGVOL + __SID_L2_OFFSET
#endif // CONFIG_MB_MEGA65
//
// Now continue the CIAs initialization
//