mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
removed old copyright notice, tms7000 was completely rewritten by me, except for the disassembler
This commit is contained in:
parent
11fd18b104
commit
10b239a613
@ -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;
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user