summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/nsc810.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/nsc810.cpp')
-rw-r--r--src/devices/machine/nsc810.cpp15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/devices/machine/nsc810.cpp b/src/devices/machine/nsc810.cpp
index fbf4f060800..74965d07812 100644
--- a/src/devices/machine/nsc810.cpp
+++ b/src/devices/machine/nsc810.cpp
@@ -14,7 +14,7 @@
#include "emu.h"
#include "nsc810.h"
-#define VERBOSE 1
+#define VERBOSE 0
#include "logmacro.h"
@@ -56,6 +56,19 @@ void nsc810_device::device_start()
m_timer[0] = timer_alloc(FUNC(nsc810_device::timer_tick<0>), this);
m_timer[1] = timer_alloc(FUNC(nsc810_device::timer_tick<1>), this);
+
+ save_item(NAME(m_portA_latch));
+ save_item(NAME(m_portB_latch));
+ save_item(NAME(m_portC_latch));
+ save_item(NAME(m_ddrA));
+ save_item(NAME(m_ddrB));
+ save_item(NAME(m_ddrC));
+ save_item(NAME(m_mode));
+ save_item(NAME(m_timer_mode));
+ save_item(NAME(m_timer_counter));
+ save_item(NAME(m_timer_base));
+ save_item(NAME(m_timer_running));
+ save_item(NAME(m_ramselect));
}
void nsc810_device::device_reset()