From: Toni Wilen Date: Sat, 14 May 2016 15:58:15 +0000 (+0300) Subject: New DMA debugger event for special cases. X-Git-Tag: 3300~34 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=2ae0b5a0648850921b465213dd48f50649230b72;p=francis%2Fwinuae.git New DMA debugger event for special cases. --- diff --git a/debug.cpp b/debug.cpp index 26c03137..7c83cdf6 100644 --- a/debug.cpp +++ b/debug.cpp @@ -1643,6 +1643,8 @@ static void decode_dma_record (int hpos, int vpos, int toggle, bool logfile) l3[cl2++] = 'I'; if (dr->evt & DMA_EVENT_INTREQ) l3[cl2++] = 'i'; + if (dr->evt & DMA_EVENT_SPECIAL) + l3[cl2++] = 'X'; _stprintf (l5 + cl, _T("%08X"), cycles + (vpos * maxhpos + (hpos + cnt)) * CYCLE_UNIT); if (i < cols - 1 && h < maxh - 1) { l1[cl + col - 1] = 32; diff --git a/include/debug.h b/include/debug.h index 4439d037..8bb15b81 100644 --- a/include/debug.h +++ b/include/debug.h @@ -154,6 +154,7 @@ struct dma_rec #define DMA_EVENT_CPUIRQ 32 #define DMA_EVENT_INTREQ 64 #define DMA_EVENT_COPPERWANTED 128 +#define DMA_EVENT_SPECIAL 256 #define DMARECORD_REFRESH 1 #define DMARECORD_CPU_I 2