From 505ec70d1553ffcadb3b4a9a93459f303a42af62 Mon Sep 17 00:00:00 2001 From: AJR Date: Sat, 3 Aug 2019 00:14:50 -0400 Subject: [PATCH] upd7810: Fix breakpoints; add notes --- src/devices/cpu/upd7810/upd7810.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/devices/cpu/upd7810/upd7810.cpp b/src/devices/cpu/upd7810/upd7810.cpp index c2e5c3952a8..54bc5e3757e 100644 --- a/src/devices/cpu/upd7810/upd7810.cpp +++ b/src/devices/cpu/upd7810/upd7810.cpp @@ -8,6 +8,10 @@ * This work is based on the * "NEC Electronics User's Manual, April 1987" * + * NEC called this MCU family "μCOM-87" or "87AD" (7810 and up). It is + * not to be confused with the later and incompatible 78K family, though + * its architectural influence is acknowledged. + * * NS20030115: * - fixed INRW_wa() * - TODO: add 7807, differences are listed below. @@ -1903,9 +1907,9 @@ void upd7810_device::execute_run() { int cc; + PPC = PC; debugger_instruction_hook(PC); - PPC = PC; RDOP(OP); /*