From: Toni Wilen Date: Sat, 26 Nov 2022 17:42:01 +0000 (+0200) Subject: DMA debugger cpu instruction/data field X-Git-Tag: 41000~58 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=a29b6a7b4b442bbe065693ba4699437bc4bf8f36;p=francis%2Fwinuae.git DMA debugger cpu instruction/data field --- diff --git a/debug.cpp b/debug.cpp index d1acf8a2..18cfa1ee 100644 --- a/debug.cpp +++ b/debug.cpp @@ -2308,17 +2308,24 @@ static bool get_record_dma_info(struct dma_rec *dr, int hpos, int vpos, TCHAR *l if (r != 0xffff) { if (r & 0x1000) { if ((r & 0x0100) == 0x0000) - _tcscpy (l2, _T("CPU-R ")); + _tcscpy(l2, _T("CPU-R ")); else if ((r & 0x0100) == 0x0100) - _tcscpy (l2, _T("CPU-W ")); + _tcscpy(l2, _T("CPU-W ")); if ((r & 0xff) == 4) { l2[5] = 'L'; longsize = 4; } - if ((r & 0xff) == 2) + if ((r & 0xff) == 2) { l2[5] = 'W'; - if ((r & 0xff) == 1) + } + if ((r & 0xff) == 1) { l2[5] = 'B'; + } + if (br) { + l2[6] = 'D'; + } else { + l2[6] = 'I'; + } } else { if (chcnt >= 0) { if (regsize == 3)