summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
author mamehaze <140764005+mamehaze@users.noreply.github.com>2023-10-13 15:05:38 +0100
committer GitHub <noreply@github.com>2023-10-13 10:05:38 -0400
commitfa84d2ba677ee09e4e9a6ee81e958b7a74b8b66d (patch)
tree475e0ed2d652bc040482027a7bf8aaf1f94cc8b4 /src/devices
parenta8f561b03e74982723ac5a3bc4af5ae45d16ff6d (diff)
nmk/ddealer.cpp: replace MCU simulation in ddealer with emulated NMK-110 MCU (also tdragon1, hachamf, hachamfa in nmk16.cpp) [Sergio Galiano, Recreativos Piscis, David Haywood, hammy] (#11584)
* replace MCU simulation in ddealer with emulated NMK-110 MCU [Sergio Galiano, Recreativos Piscis, David Haywood, hammy] * hooked up MCU for tdragon1 too * added the nmk-113 dump to hachamf and hachamfa, this appears to be a multipurpose MCU, as it has multiple program paths depending on a port. * one of the config options in the 113 MCU is for Thunder Dragon, even if we use the 110 * 113 can also be used with Double Dealer in a specific config * flip ddealer.cpp to more permissive license, with agreement from copyright holders * load the 215 binary too, even if for emulation purposes it seems unimportant --------- Co-authored-by: DAVIDNEW\admin <hazemamewip@hotmail.com>
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/cpu/tlcs90/tlcs90.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/devices/cpu/tlcs90/tlcs90.cpp b/src/devices/cpu/tlcs90/tlcs90.cpp
index 0616f68a5cb..a6acf14cd66 100644
--- a/src/devices/cpu/tlcs90/tlcs90.cpp
+++ b/src/devices/cpu/tlcs90/tlcs90.cpp
@@ -16,6 +16,9 @@
#include "tlcs90.h"
#include "tlcs90d.h"
+#define VERBOSE 0
+#include "logmacro.h"
+
ALLOW_SAVE_TYPE(tlcs90_device::e_mode); // allow save_item on a non-fundamental type
@@ -2721,7 +2724,7 @@ void tlcs90_device::t90_start_timer(int i)
m_timer[i]->adjust(period, i, period);
- logerror("%04X: CPU Timer %d started at %f Hz\n", m_pc.w.l, i, 1.0 / period.as_double());
+ LOG("%04X: CPU Timer %d started at %f Hz\n", m_pc.w.l, i, 1.0 / period.as_double());
}
void tlcs90_device::t90_start_timer4()
@@ -2743,14 +2746,14 @@ void tlcs90_device::t90_start_timer4()
m_timer[4]->adjust(period, 4, period);
- logerror("%04X: CPU Timer 4 started at %f Hz\n", m_pc.w.l, 1.0 / period.as_double());
+ LOG("%04X: CPU Timer 4 started at %f Hz\n", m_pc.w.l, 1.0 / period.as_double());
}
void tlcs90_device::t90_stop_timer(int i)
{
m_timer[i]->adjust(attotime::never, i);
- logerror("%04X: CPU Timer %d stopped\n", m_pc.w.l, i);
+ LOG("%04X: CPU Timer %d stopped\n", m_pc.w.l, i);
}
void tlcs90_device::t90_stop_timer4()