summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2024-02-25 01:56:09 +1100
committer Vas Crabb <vas@vastheman.com>2024-02-25 01:56:09 +1100
commit9827b7f54787ec833690b3e95c19191bbda36637 (patch)
tree3988048d0ebc6a7613f9b60c0c277f85abe15555 /src/devices/cpu
parentcc621cca1dd15a30a42f1e149a7bd550e0073965 (diff)
srcclean and manual cleanup in preparation for 0.263 release.
Diffstat (limited to 'src/devices/cpu')
-rw-r--r--src/devices/cpu/sh/sh7042.cpp2
-rw-r--r--src/devices/cpu/sh/sh7042.h2
-rw-r--r--src/devices/cpu/t11/t11.h20
3 files changed, 12 insertions, 12 deletions
diff --git a/src/devices/cpu/sh/sh7042.cpp b/src/devices/cpu/sh/sh7042.cpp
index 5a468b85969..35f559b47ce 100644
--- a/src/devices/cpu/sh/sh7042.cpp
+++ b/src/devices/cpu/sh/sh7042.cpp
@@ -84,7 +84,7 @@ u8 sh7042_device::adcr_r()
void sh7042_device::adcsr_w(u8 data)
{
logerror("adcsr_w %02x\n", data);
- // u8 prev = m_adcsr;
+ // u8 prev = m_adcsr;
m_adcsr = (data & 0x7f) | (m_adcsr & data & CSR_ADF);
}
diff --git a/src/devices/cpu/sh/sh7042.h b/src/devices/cpu/sh/sh7042.h
index 9c73063d4a6..dabcb7c272b 100644
--- a/src/devices/cpu/sh/sh7042.h
+++ b/src/devices/cpu/sh/sh7042.h
@@ -59,7 +59,7 @@ private:
u8 adcr_r();
void adcsr_w(u8 data);
void adcr_w(u8 data);
-
+
void do_sci_w(int sci, int state);
};
diff --git a/src/devices/cpu/t11/t11.h b/src/devices/cpu/t11/t11.h
index 1a7369521dc..b4e8032d165 100644
--- a/src/devices/cpu/t11/t11.h
+++ b/src/devices/cpu/t11/t11.h
@@ -56,21 +56,21 @@ protected:
// K1801 microcode constants
enum
{
- VM1_STACK = 0177674, // start of HALT mode save area
- VM1_SEL1 = 0177716, // DIP switch register (read) and HALT mode selector (write)
- SEL1_HALT = 010
+ VM1_STACK = 0177674, // start of HALT mode save area
+ VM1_SEL1 = 0177716, // DIP switch register (read) and HALT mode selector (write)
+ SEL1_HALT = 010
};
enum
{
// DEC command set extensions
- IS_LEIS = 1 << 0, // MARK, RTT, SOB, SXT, XOR
- IS_EIS = 1 << 1, // same plus ASH, ASHC, MUL, DIV
- IS_MFPT = 1 << 2, // MFPT
- IS_MXPS = 1 << 3, // MFPS, MTPS
- IS_T11 = 1 << 4, // LEIS without MARK
+ IS_LEIS = 1 << 0, // MARK, RTT, SOB, SXT, XOR
+ IS_EIS = 1 << 1, // same plus ASH, ASHC, MUL, DIV
+ IS_MFPT = 1 << 2, // MFPT
+ IS_MXPS = 1 << 3, // MFPS, MTPS
+ IS_T11 = 1 << 4, // LEIS without MARK
// K1801 command set extensions
- IS_VM1 = 1 << 5, // START, STEP
- IS_VM2 = 1 << 6, // same plus RSEL, MxUS, RCPx, WCPx
+ IS_VM1 = 1 << 5, // START, STEP
+ IS_VM2 = 1 << 6, // same plus RSEL, MxUS, RCPx, WCPx
};
t11_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);