summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tms9900/tms9980a.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/tms9900/tms9980a.cpp')
-rw-r--r--src/devices/cpu/tms9900/tms9980a.cpp34
1 files changed, 7 insertions, 27 deletions
diff --git a/src/devices/cpu/tms9900/tms9980a.cpp b/src/devices/cpu/tms9900/tms9980a.cpp
index 67212697f0e..9f5d058705b 100644
--- a/src/devices/cpu/tms9900/tms9980a.cpp
+++ b/src/devices/cpu/tms9900/tms9980a.cpp
@@ -67,13 +67,13 @@
Logging (also see tms9900.cpp)
*/
-#define LOG_OP (1U<<1) // Current instruction
-#define LOG_MEM (1U<<6) // Memory access
-#define LOG_INT (1U<<8) // Interrupts
-#define LOG_ADDRESSBUS (1U<<11) // Address bus operation
+#define LOG_OP (1U << 1) // Current instruction
+#define LOG_MEM (1U << 2) // Memory access
+#define LOG_INT (1U << 3) // Interrupts
+#define LOG_ADDRESSBUS (1U << 4) // Address bus operation
// Minimum log should be warnings
-#define VERBOSE ( LOG_GENERAL )
+#define VERBOSE (LOG_GENERAL)
#include "logmacro.h"
@@ -95,17 +95,6 @@ tms9981_device::tms9981_device(const machine_config &mconfig, const char *tag, d
{
}
-/*
- External connections
-*/
-void tms9980a_device::resolve_lines()
-{
- // Resolve our external connections
- m_external_operation.resolve();
- m_clock_out_line.resolve();
- m_holda_line.resolve();
-}
-
uint16_t tms9980a_device::read_workspace_register_debug(int reg)
{
int temp = m_icount;
@@ -280,7 +269,7 @@ void tms9980a_device::acquire_instruction()
/*
The minimum number of cycles applies to a command like STWP R0.
*/
-uint32_t tms9980a_device::execute_min_cycles() const
+uint32_t tms9980a_device::execute_min_cycles() const noexcept
{
return 12;
}
@@ -289,20 +278,11 @@ uint32_t tms9980a_device::execute_min_cycles() const
The maximum number of cycles applies to a DIV command, depending on the
data to be divided, and the mode of adressing.
*/
-uint32_t tms9980a_device::execute_max_cycles() const
+uint32_t tms9980a_device::execute_max_cycles() const noexcept
{
return 136;
}
-uint32_t tms9980a_device::execute_input_lines() const
-{
- return 8;
-}
-
-// clocks to cycles, cycles to clocks = id
-// execute_default_irq_vector = 0
-// execute_burn = nop
-
// device_disasm_interface overrides
std::unique_ptr<util::disasm_interface> tms9980a_device::create_disassembler()
td>ay8910: another batch of MCFG removal (nw) Ivan Vangelista2018-11-081-4/+4 * misc device finder / private members (nw) (#3681) David Haywood2018-06-211-25/+26 * Remove emupal.h from emu.h (nw) AJR2018-06-131-0/+1 * as if millions of this pointers suddenly cried out in terror, and were sudden... Vas Crabb2018-06-081-5/+5 * Removed DRIVER_INIT-related macros, made driver init entry in GAME/COMP/CONS ... MooglyGuy2018-05-131-3/+3 * dsp16: fix condition mask in disassembler (nw) Vas Crabb2018-05-091-1/+1 * Streamline machine configuration macros - everyone's a device edition. Vas Crabb2018-05-061-8/+8 * Address maps macros removal, pass 1 [O. Galibert] Olivier Galibert2018-03-141-24/+27 * API change: Memory maps are now methods of the owner class [O. Galibert] Olivier Galibert2018-02-121-4/+7 * API Change: Machine configs are now a method of the owner class, and the prot... Olivier Galibert2018-01-171-1/+2 * Revert "Revert "Merge branch 'master' of https://github.com/mamedev/mame"" Firehawke2017-12-131-1/+1 * Revert "Merge branch 'master' of https://github.com/mamedev/mame" Firehawke2017-12-131-1/+1 * get rid of legacy BITSWAP* (nw) Vas Crabb2017-12-131-1/+1 * Rename AS_DECRYPTED_OPCODES to AS_OPCODES [O. Galibert] Olivier Galibert2017-07-031-1/+1 * Move static data out of devices into the device types. This is a significant... Vas Crabb2017-05-141-1/+1 * Self-registering devices prep: Vas Crabb2017-02-271-1/+3 * NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-15/+15 * Cleanups and version bumpmame0173 Miodrag Milanovic2016-04-271-4/+1 * improve some naming (nw) David Haywood2016-04-121-1/+1 * segacrpt is also a device, again reduced some duplication (nw) David Haywood2016-04-121-24/+21 * reverting: Miodrag Milanovic2016-01-201-1/+1 * tags are now strings (nw) Miodrag Milanovic2016-01-161-1/+1 * modernized bookkeeping manager (nw) Miodrag Milanovic2016-01-101-1/+1 * overrides in drivers (nw) Miodrag Milanovic2015-12-061-3/+3