]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Add CIA IO ports to CIA debug output
authorToni Wilen <twilen@winuae.net>
Sat, 10 Feb 2024 16:47:56 +0000 (18:47 +0200)
committerToni Wilen <twilen@winuae.net>
Sat, 10 Feb 2024 16:47:56 +0000 (18:47 +0200)
cia.cpp

diff --git a/cia.cpp b/cia.cpp
index 7d9df9b4698a4e97c49ad03f52b2e424cb4790a5..ba21ad1fa21c1043cf585a9f244ed243cc807efc 100644 (file)
--- 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');
 }