diff --git a/src/emu/cpu/tms7000/7000dasm.c b/src/emu/cpu/tms7000/7000dasm.c index 8ba2996572c..a48127a4f2a 100644 --- a/src/emu/cpu/tms7000/7000dasm.c +++ b/src/emu/cpu/tms7000/7000dasm.c @@ -1,5 +1,11 @@ // license:??? -// copyright-holders:??? +// copyright-holders:Tim Lindner +/* + + TMS7000 disassembler + +*/ + #include "emu.h" #include "debugger.h" #include "tms7000.h" @@ -7,15 +13,15 @@ enum operandtype { DONE, NONE, UI8, I8, UI16, I16, PCREL, PCABS, TRAP }; struct oprandinfo { - char opstr[4][12]; + char opstr[4][12]; operandtype decode[4]; }; struct opcodeinfo { - int opcode; - char name[8]; - int operand; - UINT32 s_flag; + int opcode; + char name[8]; + int operand; + UINT32 s_flag; }; static const oprandinfo of[] = { @@ -375,7 +381,7 @@ CPU_DISASSEMBLE( tms7000 ) { /* We found a match */ - int j,k,vector; + int j,k,vector; UINT8 a; INT8 b; UINT16 c; diff --git a/src/emu/cpu/tms7000/tms7000.c b/src/emu/cpu/tms7000/tms7000.c index e878e3ee80f..e66fc0a41ff 100644 --- a/src/emu/cpu/tms7000/tms7000.c +++ b/src/emu/cpu/tms7000/tms7000.c @@ -1,37 +1,21 @@ -// license:??? -// copyright-holders:??? +// license:BSD-3-Clause +// copyright-holders:hap /***************************************************************************** - * - * tms7000.c - * Portable TMS7000 emulator (Texas Instruments 7000) - * - * Copyright tim lindner, all rights reserved. - * - * - This source code is released as freeware for non-commercial purposes. - * - You are free to use and redistribute this code in modified or - * unmodified form, provided you list me in the credits. - * - If you modify this source code, you must add a notice to each modified - * source file that it has been changed. If you're a nice person, you - * will clearly mark each change too. :) - * - If you wish to use this for commercial purposes, please contact me at - * tlindner@macmess.org - * - This entire notice must remain in the source code. - * - ***************************************************************************** - * Misc. improvements were done over the years by team MESS/MAME - * - * TODO: - * - dump CROM and emulate cpu at microinstruction level - * - memory modes with IOCNT0, currently always running in faked full expansion mode - * - timer event counter mode (timer control register, bit 6) - * - TMS70x1/2 serial port and timer 3 - * - TMS70C46 DOCK-BUS comms with external pins - * - TMS70C46 external memory mode is via "E" bus instead of configuring IOCNT0 - * - TMS70C46 clock divider - * - TMS70C46 INT3 on keypress - * - when they're needed, add TMS70Cx2, TMS7742, TMS77C82, SE70xxx - * - *****************************************************************************/ + + Texas Instruments TMS7000 + + TODO: + - dump CROM and emulate cpu at microinstruction level + - memory modes with IOCNT0, currently always running in faked full expansion mode + - timer event counter mode (timer control register, bit 6) + - TMS70x1/2 serial port and timer 3 + - TMS70C46 DOCK-BUS comms with external pins + - TMS70C46 external memory mode is via "E" bus instead of configuring IOCNT0 + - TMS70C46 clock divider + - TMS70C46 INT3 on keypress + - when they're needed, add TMS70Cx2, TMS7742, TMS77C82, SE70xxx + +*****************************************************************************/ #include "tms7000.h" diff --git a/src/emu/cpu/tms7000/tms7000.h b/src/emu/cpu/tms7000/tms7000.h index 2de1a4900c5..87c45ff0867 100644 --- a/src/emu/cpu/tms7000/tms7000.h +++ b/src/emu/cpu/tms7000/tms7000.h @@ -1,23 +1,10 @@ -// license:??? -// copyright-holders:??? -/***************************************************************************** - * - * tms7000.h (c header file) - * Portable TMS7000 emulator (Texas Instruments 7000) - * - * Copyright tim lindner, all rights reserved. - * - * - This source code is released as freeware for non-commercial purposes. - * - You are free to use and redistribute this code in modified or - * unmodified form, provided you list me in the credits. - * - If you modify this source code, you must add a notice to each modified - * source file that it has been changed. If you're a nice person, you - * will clearly mark each change too. :) - * - If you wish to use this for commercial purposes, please contact me at - * tlindner@macmess.org - * - This entire notice must remain in the source code. - * - *****************************************************************************/ +// license:BSD-3-Clause +// copyright-holders:hap +/* + + Texas Instruments TMS7000 + +*/ #pragma once diff --git a/src/emu/cpu/tms7000/tms70op.inc b/src/emu/cpu/tms7000/tms70op.inc index dfa661bf860..7bd68961373 100644 --- a/src/emu/cpu/tms7000/tms70op.inc +++ b/src/emu/cpu/tms7000/tms70op.inc @@ -1,8 +1,4 @@ -/***************************************************************************** - * - * tms70op.inc (Op code functions) - * - *****************************************************************************/ +// TMS7000 opcode handlers // addressing modes (not all opcodes have a write cycle) #define WB_NO -1