mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-21 23:16:39 +00:00
Improve SSI263 (PR #939)
New class for SSI263 (2 instances per MB/Phasor card) - support 2nd SSI263 at $Cn20 connected to 6522-A (at $Cn00) Switch from one-shot phoneme playback to ring-buffer Use a new dedicated ring-buffer (distinct from the AY8910 ring buffer) Gets rid of: SSI263Thread, the 2 events, and the 64 voices Support the 2-bit Duration b7:6 of phoneme register for both SC01 & SSI263 (to fix #929) Updated save-state Updated IRQ logging (output cycle & 6522 source)
This commit is contained in:
+7
-1
@@ -436,7 +436,13 @@ static __forceinline void IRQ(ULONG& uExecutedCycles, BOOL& flagc, BOOL& flagn,
|
||||
UINT uExtraCycles = 0; // Needed for CYC(a) macro
|
||||
CYC(7)
|
||||
#if defined(_DEBUG) && LOG_IRQ_TAKEN_AND_RTI
|
||||
LogOutput("IRQ\n");
|
||||
std::string irq6522;
|
||||
MB_Get6522IrqDescription(irq6522);
|
||||
const char* pSrc = (g_bmIRQ & 1) ? irq6522.c_str() :
|
||||
(g_bmIRQ & 2) ? "SPEECH" :
|
||||
(g_bmIRQ & 4) ? "SSC" :
|
||||
(g_bmIRQ & 8) ? "MOUSE" : "UNKNOWN";
|
||||
LogOutput("IRQ (%08X) (%s)\n", (UINT)g_nCycleIrqStart, pSrc);
|
||||
#endif
|
||||
CheckSynchronousInterruptSources(7, uExecutedCycles);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user