diff options
| author | 2016-04-27 08:13:59 +0200 | |
|---|---|---|
| committer | 2016-04-27 08:13:59 +0200 | |
| commit | cfee536f22f032c7ead65075f73cc6fd8549e68b (patch) | |
| tree | f4b4703dd0295571684456c19668f508b3ddcb3a /src/devices/cpu/sm510 | |
| parent | be8159d01eaa7533e7758bf07384501dbc6214f3 (diff) | |
Cleanups and version bumpmame0173
Diffstat (limited to 'src/devices/cpu/sm510')
| -rw-r--r-- | src/devices/cpu/sm510/sm500.h | 4 | ||||
| -rw-r--r-- | src/devices/cpu/sm510/sm500op.cpp | 1 | ||||
| -rw-r--r-- | src/devices/cpu/sm510/sm510.cpp | 4 | ||||
| -rw-r--r-- | src/devices/cpu/sm510/sm510d.cpp | 6 | ||||
| -rw-r--r-- | src/devices/cpu/sm510/sm511core.cpp | 2 |
5 files changed, 8 insertions, 9 deletions
diff --git a/src/devices/cpu/sm510/sm500.h b/src/devices/cpu/sm510/sm500.h index aaf083c293a..0743632609d 100644 --- a/src/devices/cpu/sm510/sm500.h +++ b/src/devices/cpu/sm510/sm500.h @@ -39,7 +39,7 @@ O46 47 | | 14 K3 O36 48 | * | 13 K2 |________________________________________________/ - 1 2 3 4 5 6 7 8 9 10 11 12 + 1 2 3 4 5 6 7 8 9 10 11 12 O26 O16 R4 R3 R2 R1 GND _T bt al ACL K1 note: bt = beta symbol, al = alpha symbol */ @@ -57,7 +57,7 @@ protected: // opcode handlers virtual void op_lb() override; virtual void op_incb() override; - + virtual void op_comcb(); virtual void op_ssr(); virtual void op_trs(); diff --git a/src/devices/cpu/sm510/sm500op.cpp b/src/devices/cpu/sm510/sm500op.cpp index bb0bc6f043b..ee4571b4e76 100644 --- a/src/devices/cpu/sm510/sm500op.cpp +++ b/src/devices/cpu/sm510/sm500op.cpp @@ -92,4 +92,3 @@ void sm500_device::op_comcn() } // Test instructions - diff --git a/src/devices/cpu/sm510/sm510.cpp b/src/devices/cpu/sm510/sm510.cpp index a602e611d99..b5eb56ab24f 100644 --- a/src/devices/cpu/sm510/sm510.cpp +++ b/src/devices/cpu/sm510/sm510.cpp @@ -3,7 +3,7 @@ /* Known chips: (* means not emulated yet) - + Sharp SM510 MCU family: - SM510: 2.7Kx8 ROM, 128x4 RAM(32x4 for LCD) - SM511: 4Kx8 ROM, 128x4 RAM(32x4 for LCD), melody controller @@ -16,7 +16,7 @@ - *SM530: x - *SM531: x - *KB1013VK1-2: Soviet-era clone of SM500, minor differences - + References: - 1990 Sharp Microcomputers Data Book - 1996 Sharp Microcomputer Databook diff --git a/src/devices/cpu/sm510/sm510d.cpp b/src/devices/cpu/sm510/sm510d.cpp index 7c78c33b318..ba765a716e2 100644 --- a/src/devices/cpu/sm510/sm510d.cpp +++ b/src/devices/cpu/sm510/sm510d.cpp @@ -26,14 +26,14 @@ enum e_mnemonics mRM, mSM, mPRE, mSME, mRME, mTMEL, mSKIP, mCEND, mIDIV, mDR, mDTA, - + // SM500-specific mCOMCB, mRTN, mRTNS, mSSR, mTR, mTRS, mADDC, mPDTW, mTW, mDTW, mATS, mEXKSA, mEXKFA, mRMF, mSMF, mCOMCN, mTA, mTM2, mTG, - + // KB1013VK1-2 aliases mLC, mLM, mLE, mLAF, mLAS, mLDF, mBS0, mBS1, mXL, mXM, mXI, mXEI, mXD, mXED, mXE, mBM0, mBM1, mSM1, mAM, mAC, mA10, mAS, mCLL, mCOM, mCLC, mSTC, mSCO, mSAO, mINC, mDEC, mSAM, mSAL, mNOP, @@ -81,7 +81,7 @@ static const UINT8 s_bits[] = 2, 2, 8, 0, 0, 0, 0, 0, 0, 0, 0, - + // 0, 0, 0, 4, 6, 6, 0, 0, 0, 0, diff --git a/src/devices/cpu/sm510/sm511core.cpp b/src/devices/cpu/sm510/sm511core.cpp index e98374f5905..c4c59d2d06a 100644 --- a/src/devices/cpu/sm510/sm511core.cpp +++ b/src/devices/cpu/sm510/sm511core.cpp @@ -159,7 +159,7 @@ void sm511_device::execute_one() break; // 0xfc } // big switch - + // BM high bit is only valid for 1 step m_sbm = (m_op == 0x02); } |
