]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
New DMA debugger event for special cases.
authorToni Wilen <twilen@winuae.net>
Sat, 14 May 2016 15:58:15 +0000 (18:58 +0300)
committerToni Wilen <twilen@winuae.net>
Sat, 14 May 2016 15:58:15 +0000 (18:58 +0300)
debug.cpp
include/debug.h

index 26c0313791a80e1639d33288b4ef11e3bf8c25fb..7c83cdf67808597e151128a430da0958fb4a4cf8 100644 (file)
--- 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;
index 4439d0370592c110fb53d4382736ae886ca228f8..8bb15b8142e73aa432e5a08cfcec050446231ae5 100644 (file)
@@ -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