diff options
| author | 2013-12-24 07:24:51 +0000 | |
|---|---|---|
| committer | 2013-12-24 07:24:51 +0000 | |
| commit | ca546caa6e2932e504d020fb80b6cc0e8665cea9 (patch) | |
| tree | aa9f12d46b8088c24d1ff5322d0808c0aacce42c /src/emu/cpu | |
| parent | efaac9818f3f4511f7ad5201fcfe3bbd22c007a4 (diff) | |
Cleanups and version bumpmame0152
Diffstat (limited to 'src/emu/cpu')
| -rw-r--r-- | src/emu/cpu/8x300/8x300.c | 17 | ||||
| -rw-r--r-- | src/emu/cpu/8x300/8x300.h | 2 | ||||
| -rw-r--r-- | src/emu/cpu/8x300/8x300dasm.c | 2 | ||||
| -rw-r--r-- | src/emu/cpu/cpu.mak | 2 | ||||
| -rw-r--r-- | src/emu/cpu/t11/t11.c | 3 | ||||
| -rw-r--r-- | src/emu/cpu/tms57002/tms57002.c | 6 | ||||
| -rw-r--r-- | src/emu/cpu/z8/z8.c | 5 |
7 files changed, 17 insertions, 20 deletions
diff --git a/src/emu/cpu/8x300/8x300.c b/src/emu/cpu/8x300/8x300.c index 1d031be2d4a..dc43204beba 100644 --- a/src/emu/cpu/8x300/8x300.c +++ b/src/emu/cpu/8x300/8x300.c @@ -1,10 +1,10 @@ /* * 8x300.c * - * Implementation of the Scientific Micro Systems SMS300 / Signetics 8X300 CPU + * Implementation of the Scientific Micro Systems SMS300 / Signetics 8X300 CPU * Created on: 18/12/2013 * - * Written by Barry Rodewald + * Written by Barry Rodewald */ #include "debugger.h" @@ -56,7 +56,7 @@ void n8x300_cpu_device::set_reg(UINT8 reg, UINT8 val) case 0x05: m_R5 = val; break; case 0x06: m_R6 = val; break; case 0x07: m_IVL = val; break; -// OVF is read-only +// OVF is read-only case 0x09: m_R11 = val; break; case 0x0f: m_IVR = val; break; default: logerror("8X300: Invalid register %02x written to.\n",reg); break; @@ -74,10 +74,10 @@ UINT8 n8x300_cpu_device::get_reg(UINT8 reg) case 0x04: return m_R4; case 0x05: return m_R5; case 0x06: return m_R6; -// IVL is write-only +// IVL is write-only case 0x08: return m_OVF; case 0x09: return m_R11; -// IVR is write-only +// IVR is write-only default: logerror("8X300: Invalid register %02x read.\n",reg); return 0; } return 0; @@ -142,9 +142,9 @@ void n8x300_cpu_device::state_string_export(const device_state_entry &entry, ast { switch (entry.index()) { -// case STATE_GENFLAGS: -// string.printf("%c%c%c%c%c%c", -// break; +// case STATE_GENFLAGS: +// string.printf("%c%c%c%c%c%c", +// break; } } @@ -550,4 +550,3 @@ offs_t n8x300_cpu_device::disasm_disassemble(char *buffer, offs_t pc, const UINT extern CPU_DISASSEMBLE( n8x300 ); return CPU_DISASSEMBLE_NAME(n8x300)(this, buffer, pc, oprom, opram, options); } - diff --git a/src/emu/cpu/8x300/8x300.h b/src/emu/cpu/8x300/8x300.h index f05ec299551..fa0fbee4c51 100644 --- a/src/emu/cpu/8x300/8x300.h +++ b/src/emu/cpu/8x300/8x300.h @@ -1,7 +1,7 @@ /* * 8x300.h * - * Implementation of the Scientific Micro Systems SMS300 / Signetics 8X300 Microcontroller + * Implementation of the Scientific Micro Systems SMS300 / Signetics 8X300 Microcontroller * Created on: 18/12/2013 */ diff --git a/src/emu/cpu/8x300/8x300dasm.c b/src/emu/cpu/8x300/8x300dasm.c index 707b3ccdb6e..40533fccdd7 100644 --- a/src/emu/cpu/8x300/8x300dasm.c +++ b/src/emu/cpu/8x300/8x300dasm.c @@ -1,6 +1,6 @@ /* * 8x300dasm.c - * Implementation of the Scientific Micro Systems SMS300 / Signetics 8X300 Microcontroller + * Implementation of the Scientific Micro Systems SMS300 / Signetics 8X300 Microcontroller * * Created on: 18/12/2013 */ diff --git a/src/emu/cpu/cpu.mak b/src/emu/cpu/cpu.mak index d0d955c98c1..97bcf617ec8 100644 --- a/src/emu/cpu/cpu.mak +++ b/src/emu/cpu/cpu.mak @@ -77,7 +77,7 @@ CPUOBJS += $(CPUOBJ)/8x300/8x300.o DASMOBJS += $(CPUOBJ)/8x300/8x300dasm.o endif -$(CPUOBJ)/8x300/8x300.o: $(CPUSRC)/8x300/8x300.c \ +$(CPUOBJ)/8x300/8x300.o: $(CPUSRC)/8x300/8x300.c \ $(CPUSRC)/8x300/8x300.h #------------------------------------------------- diff --git a/src/emu/cpu/t11/t11.c b/src/emu/cpu/t11/t11.c index ab21aac98bf..6c859524803 100644 --- a/src/emu/cpu/t11/t11.c +++ b/src/emu/cpu/t11/t11.c @@ -41,7 +41,7 @@ const device_type T11 = &device_creator<t11_device>; t11_device::t11_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : cpu_device(mconfig, T11, "T11", tag, owner, clock, "t11", __FILE__) , m_program_config("program", ENDIANNESS_LITTLE, 16, 16, 0) - , c_initial_mode(0) + , c_initial_mode(0) { m_is_octal = true; } @@ -379,4 +379,3 @@ offs_t t11_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *opro extern CPU_DISASSEMBLE( t11 ); return CPU_DISASSEMBLE_NAME(t11)(this, buffer, pc, oprom, opram, options); } - diff --git a/src/emu/cpu/tms57002/tms57002.c b/src/emu/cpu/tms57002/tms57002.c index a9a7301003d..6dee543d118 100644 --- a/src/emu/cpu/tms57002/tms57002.c +++ b/src/emu/cpu/tms57002/tms57002.c @@ -682,7 +682,7 @@ int tms57002_device::decode_get_pc() for(;;) { short ipc; UINT32 opcode = program->read_dword(adr << 2); - + cs.inc = 0; if((opcode & 0xfc0000) == 0xfc0000) @@ -743,11 +743,11 @@ void tms57002_device::execute_run() case 1: ++ca; goto inst; - + case 2: ++id; goto inst; - + case 3: ++ca, ++id; goto inst; diff --git a/src/emu/cpu/z8/z8.c b/src/emu/cpu/z8/z8.c index 8bc4eb116dc..7a7602bb630 100644 --- a/src/emu/cpu/z8/z8.c +++ b/src/emu/cpu/z8/z8.c @@ -163,11 +163,11 @@ const device_type Z8611 = &device_creator<z8611_device>; ***************************************************************************/ static ADDRESS_MAP_START( program_2kb, AS_PROGRAM, 8, z8_device ) - AM_RANGE(0x0000, 0x07ff) AM_ROM + AM_RANGE(0x0000, 0x07ff) AM_ROM ADDRESS_MAP_END static ADDRESS_MAP_START( program_4kb, AS_PROGRAM, 8, z8_device ) - AM_RANGE(0x0000, 0x0fff) AM_ROM + AM_RANGE(0x0000, 0x0fff) AM_ROM ADDRESS_MAP_END @@ -846,4 +846,3 @@ void z8_device::execute_set_input(int inputnum, int state) } } - |
