summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sm510/sm500.h
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2017-06-24 16:21:24 +0200
committer hap <happppp@users.noreply.github.com>2017-06-24 16:21:53 +0200
commitc7301ced32518749d1b550cf40eb4fc4abf01fff (patch)
tree3d0594be11ce2d25db7ab32866628bfb2bf659a7 /src/devices/cpu/sm510/sm500.h
parent9814aba49eef1c6a810eac4349d2ed4763abdc0f (diff)
sm5*: update notes (nw)
Diffstat (limited to 'src/devices/cpu/sm510/sm500.h')
-rw-r--r--src/devices/cpu/sm510/sm500.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/devices/cpu/sm510/sm500.h b/src/devices/cpu/sm510/sm500.h
index 57b89202c3b..e09ef52147d 100644
--- a/src/devices/cpu/sm510/sm500.h
+++ b/src/devices/cpu/sm510/sm500.h
@@ -16,7 +16,7 @@
// I/O ports setup
-// ..
+// see sm510.h for ACL, K, R, alpha, beta
// pinout reference
@@ -81,14 +81,18 @@ protected:
virtual offs_t disasm_disassemble(std::ostream &stream, offs_t pc, const u8 *oprom, const u8 *opram, u32 options) override;
virtual void execute_one() override;
virtual void get_opcode_param() override;
+
+ virtual void reset_vector() override { do_branch(0, 0xf, 0); }
+ virtual void wakeup_vector() override { do_branch(0, 0, 0); }
int m_o_mask; // number of 4-bit O pins minus 1
u8 m_ox[9]; // W' latch, max 9
- u8 m_o[9]; // W latch(O outputs)
- u8 m_cn; // CN(digit select)
- u8 m_mx; // m'(digit DP select)
- u8 m_cb; // CB(PC high bit buffer)
- bool m_rsub; // R(in subroutine)
+ u8 m_o[9]; // W latch
+ u8 m_cn;
+ u8 m_mx;
+ u8 m_cb;
+ u8 m_s;
+ bool m_rsub;
void shift_w();
u8 get_digit();