summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tms9900/tms9900.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/tms9900/tms9900.cpp')
-rw-r--r--src/devices/cpu/tms9900/tms9900.cpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/devices/cpu/tms9900/tms9900.cpp b/src/devices/cpu/tms9900/tms9900.cpp
index c7719cef76e..de0621bb6bd 100644
--- a/src/devices/cpu/tms9900/tms9900.cpp
+++ b/src/devices/cpu/tms9900/tms9900.cpp
@@ -2746,15 +2746,22 @@ void tms99xx_device::alu_int()
}
/**************************************************************************/
+
+/*
+ The minimum number of cycles applies to a command like STWP R0.
+*/
uint32_t tms99xx_device::execute_min_cycles() const
{
- return 2;
+ return 8;
}
-// TODO: Compute this value, just a wild guess for the average
+/*
+ The maximum number of cycles applies to a DIV command, depending on the
+ data to be divided, and the mode of adressing.
+*/
uint32_t tms99xx_device::execute_max_cycles() const
{
- return 10;
+ return 124;
}
uint32_t tms99xx_device::execute_input_lines() const