From 7fda86ce6f325af21027864abe351ad37b9c64d4 Mon Sep 17 00:00:00 2001 From: AJR Date: Wed, 5 Jul 2023 18:59:17 -0400 Subject: ncr53c90: Improve logging --- src/devices/machine/ncr53c90.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/devices/machine/ncr53c90.cpp b/src/devices/machine/ncr53c90.cpp index 935ad3df145..73ebf10ab27 100644 --- a/src/devices/machine/ncr53c90.cpp +++ b/src/devices/machine/ncr53c90.cpp @@ -1179,6 +1179,7 @@ void ncr53c90_device::dma_set(int dir) void ncr53c90_device::dma_w(uint8_t val) { + LOGMASKED(LOG_FIFO, "dma_w 0x%02x fifo_pos %d tcounter %d (%s)\n", val, fifo_pos, tcounter, machine().describe_context()); fifo_push(val); decrement_tcounter(); check_drq(); @@ -1355,6 +1356,8 @@ void ncr53c94_device::dma16_w(u16 data) return; } + LOGMASKED(LOG_FIFO, "dma16_w 0x%04x fifo_pos %d tcounter %d (%s)\n", data, fifo_pos, tcounter, machine().describe_context()); + // push two bytes into fifo fifo[fifo_pos++] = data; fifo[fifo_pos++] = data >> 8; -- cgit v1.2.3