From: Toni Wilen Date: Sat, 10 Feb 2024 16:47:56 +0000 (+0200) Subject: Add CIA IO ports to CIA debug output X-Git-Tag: 5200~22 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=6be68cef3945aec9b63811439d75dca44a338deb;p=francis%2Fwinuae.git Add CIA IO ports to CIA debug output --- diff --git a/cia.cpp b/cia.cpp index 7d9df9b4..ba21ad1f 100644 --- a/cia.cpp +++ b/cia.cpp @@ -2217,11 +2217,13 @@ void dumpcia(void) console_out_f(_T("A: CRA %02x CRB %02x ICR %02x IM %02x TA %04x (%04x) TB %04x (%04x)\n"), a->t[0].cr, a->t[1].cr, a->icr1, a->imask, a->t[0].timer - a->t[0].passed, a->t[0].latch, a->t[1].timer - a->t[1].passed, a->t[1].latch); - console_out_f(_T("TOD %06x (%06x) ALARM %06x %c%c CYC=%016llX\n"), + console_out_f(_T(" PRA %02x PRB %02x DDRA %02x DDRB %02x\n"), a->pra, a->prb, a->dra, a->drb); + console_out_f(_T(" TOD %06x (%06x) ALARM %06x %c%c CYC=%016llX\n"), a->tod, a->tol, a->alarm, a->tlatch ? 'L' : '-', a->todon ? '-' : 'S', get_cycles()); console_out_f(_T("B: CRA %02x CRB %02x ICR %02x IM %02x TA %04x (%04x) TB %04x (%04x)\n"), b->t[0].cr, b->t[1].cr, b->icr1, b->imask, b->t[0].timer - b->t[0].passed, b->t[0].latch, b->t[1].timer - b->t[1].passed, b->t[1].latch); - console_out_f(_T("TOD %06x (%06x) ALARM %06x %c%c\n"), + console_out_f(_T(" PRA %02x PRB %02x DDRA %02x DDRB %02x\n"), b->pra, b->prb, b->dra, b->drb); + console_out_f(_T(" TOD %06x (%06x) ALARM %06x %c%c\n"), b->tod, b->tol, b->alarm, b->tlatch ? 'L' : '-', b->todon ? '-' : 'S'); }