diff options
Diffstat (limited to 'src/devices/cpu/tms9900/tms9980a.cpp')
-rw-r--r-- | src/devices/cpu/tms9900/tms9980a.cpp | 34 |
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() |